Conversation
kline_archives() 列出可下载年份及 sha256;kline_archives_download(year, save_dir, retries) 流式落盘归档包,支持 HTTP Range 断点续传(.part + .part.meta 记录 ETag)与网络失败重试,完成后按清单 sha256 校验。 底层新增 BaseClient.download_resumable 与 FtshareDownloadError。
- 注册 supply_chain_industry_names 端点(GET api/v3/market/data/supply-chain/industry-names),无入参 - 新增 market.supply_chain_industry_names 方法,走 _call_endpoint - 更新 API_REFERENCE.md 方法总数与索引条目 - 补充 mock 单测,校验路由与空参数
端点实际注册为 api/v2/market/data/limit-event-timeline-3s,方法 docstring 里写成了 v1。
- 24 个只暴露 page/page_size 的接口补上 limit/all_pages/max_pages,改走 get_paginated, 与其余分页接口口径一致 - bse_mapping 元数据补记 page/page_size,并记下文档声明的 500 行分页上限 - 文档标注的各接口 page_size 上限(最高 4000)改由客户端校验:12 个非默认上限的接口 在方法里显式传入 max_page_size,避免合法 page_size 被误拒 - tdx_board_daily/tdx_board_index/tdx_board_members 的 idx_name/idx_type/idx_type_code 改为服务端真正生效的 board_name/board_type/board_type_code —— 旧名请求是 HTTP 200 但 静默忽略筛选、返回全量结果;同时补齐三个接口的完整参数文档与 1000 行上限 - docs/API_REFERENCE.md 按新的 docstring 与元数据重新同步 - 测试:新增分页与 page_size 上限回归用例,新增覆盖全部接口的 all_pages/上限断言 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- 移除股票/ETF/指数/可转债单只与批量 K 线接口中服务端未声明的 interval_value 参数 - limit_event_timeline_3s 补上文档声明的 page/page_size,接入分页与 200 行页上限 - 修正 report_announcement_summary、stock_candlesticks_batch 的路径版本,以及 etf_pcf_infos、ashare_rating_factor_snapshot 的失效文档引用 - response 支持 index_descriptions 行容器,补充 index_description_list 用例 - 修正集成测试中失效的样例参数(标的/枚举/日期窗口),断言由「结果非 None」收紧为「HTTP 200 且 data 非空」 - 3 个服务端问题(ashare_news_sentiment_factors 502、futures_minutes_batch 404、szse 可转债申报快照恒空)标记为 strict xfail Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.