Skip to content

python sdk财经日历问题 #1265

Description

@iakira

版本使用python版本的SDK 5.1.0版本,有以下2个问题。

  1. 财经日历获取拆股列表,即使起始日期只使用1天,最多只返回10条。但实际不止10条
  2. 文档中有提供按股票代码查询拆并股历史,但实际sdk中并没有提供。

Activity

  1. hogan-yuan commented on Sep 22, 2026

    @hogan-yuan
    Member

    你好,两点确认:

    1. 财经日历拆股列表只返回 ~10 条 = SDK bug,已修:finance_calendar 接口按 next_date 分页(每页约 10 条),SDK 之前只取了第一页。已改为内部自动翻页返回全部。修复:fix(calendar): expose finance_calendar pagination parameters openapi#597(随下个版本发布)。

    2. 「按股票代码查拆并股历史」其实是有的,方法叫 corp_action(文档误写成 corporate_actions),例如 Python ctx.corp_action("AAPL.US")(Node corpAction、Java getCorpAction),返回含拆股/合并/分拆/配股。文档已更正:docs(fundamental): fix corporate action method name to corp_action #1266。

  2. added
    bugSomething isn't working
    documentationImprovements or additions to documentation
    on Sep 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions