Skip to content

Add EDINET, TDnet, Bulk, and minute bar services - #14

Merged
utahta merged 1 commit into
mainfrom
new-endpoints
Jul 20, 2026
Merged

utahta merged 1 commit into
mainfrom
new-endpoints

Conversation

@utahta

@utahta utahta commented Jul 20, 2026

Copy link
Copy Markdown
Owner

未対応だったJ-Quants APIの新機能に対応する。

  • 新サービス6種を追加: EdinetMajorShareholders(大株主状況)/ EdinetCrossShareholdings(政策保有株式)/ EdinetLargeVolumeShareholders(大量保有報告書)/ TimelyDisclosure(TDnet適時開示)/ Bulk(CSV一括DL)/ MinuteQuotes(株価分足)
  • Listedに商品区分 ProdCat、Statements / FSDetailsに cursor 差分取得を追加
  • 失効する署名付きURLとcursorポーリングがセッションキャッシュに固定化されないよう client.DoRequestNoCache を追加(HTTPClient のシグネチャは維持し、未対応実装はフォールバック)
  • 大量保有報告の合計欄(TotalShsHeld/TotalShsRatio)は公式ドキュメントと異なり実APIがnullを返すため *float64 とした

Cover the recent J-Quants API additions:

- New services: EDINET major shareholders / cross shareholdings /
  large volume shareholders, TDnet timely disclosure (list/files/bulk),
  bulk CSV download (list/get), and minute bars
- Listed: add ProdCat with product category constants; Statements /
  FSDetails: add cursor-based differential fetch
- Add client.DoRequestNoCache with an optional NoCacheRequester
  interface so expiring signed URLs and cursor polls bypass the session
  cache without changing the HTTPClient signature
- Type large volume filing totals (TotalShsHeld/TotalShsRatio) as
  pointers: the official docs mark them non-null, but the live API
  returns null for documents without a totals section
- Drop the README error-handling example that referenced the removed
  client.APIError type
@utahta
utahta merged commit ca0828d into main Jul 20, 2026
4 checks passed
@utahta
utahta deleted the new-endpoints branch July 20, 2026 05:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant