Clarification: JSON statement ContractNo linkage, settlement-date semantics and fee totals

オープン
#1,304 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
json, openapi, rust, typescript
領域
api, documentation

調査の方向性

Start with the changelog entries for GET /v1/statement/list and GET /v1/statement/download, then compare the statement types in longbridge-terminal/src/data/statement.rs with the referenced execution history, order detail, and cash flow contracts and Rust SDK asset contracts. Document what those sources establish about contract identifiers, settlement dates, cash amounts, and fees, and identify any gaps they leave. Done means the API semantics and limitations are documented or linked, with a synthetic example if needed.

索引モデルが issue の本文から書いたものです。

説明

I am implementing read-only reconciliation of official JSON account statements with the OpenAPI trade records. Could you point me to the documented contracts for the following fields? This is a request for API semantics, not account-specific troubleshooting.

References:

  1. Native identity and corrections. What is the defined relationship between StockTradeSums / OptionTradeSums → Trades[].ContractNo and execution-history trade_id / order_id? Is there a read-only endpoint or statement field that provides the explicit mapping, including grouped fills, cancellations, and corrected confirmations? A documented mapping is preferable to matching by symbol, quantity, amount, or time.

  2. Actual settlement versus scheduled settlement. What formats and time-zone conventions apply to TradeDate, SettleDate, and TradeDones[].TradeDoneTime? Does SettleDate identify the scheduled value date or confirm completed cash settlement? Which source field distinguishes actually settled cash from a pending obligation, including month-end records in OutstandingSums? If the API only reports a calendar date, please confirm that limitation; I will retain date precision rather than invent an intraday timestamp.

  3. Principal, net cash and fees. Are TradeAmount and ClearAmount respectively gross principal and actual net settlement cash? Which charges, taxes, deductions and FX effects are included? How should Fees, LbsgFees.Fees, LbsgFees.GstFee, and LbsgFees.SumAllFees be interpreted without double-counting? Are these final at statement generation, and how are later corrections or refunds identified?

No account identifiers, documents, credentials, presigned URLs, or transaction examples are attached. A documentation link or a synthetic example would be sufficient.

主要言語
TypeScript
スター
61
フォーク
30
平均マージ
7時間 45分
マージ済み PR(30日)
17

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

longbridge/developers のほかの issue

longbridge/developers の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。