Technical Contract Clarification: Longport capital_flow Unit, Currency, Scale, and Turnover Compatibility
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- ドキュメント
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- typescript
調査の方向性
公式 CLI ドキュメントと、issue で参照されている QuoteContext.capital_flow、quote、candlestick インターフェース、および SDK と Hosted MCP のパスを確認する。作業は、権威のあるバージョン付きの記述によって、系列のセマンティクス、単位、通貨、スケーリング、互換性、および変換が確認されるか、その契約がどこに文書化されているかが特定された時点で完了する。
索引モデルが issue の本文から書いたものです。
説明
Hello Longport Technical Support,
We are integrating the official Longport Hosted MCP capital_flow output into a fail-closed, read-only validation workflow.
The official CLI documentation states that each bar represents the net inflow for that minute. We have also verified from the official CLI, MCP, and SDK source paths that the returned Decimal value is passed through without a visible accumulation or scaling transformation.
However, we do not want to infer a monetary contract from observed values or implementation behavior. We therefore need authoritative clarification of the following points:
- Series semantics
Does each CapitalFlowLine.inflow returned by QuoteContext.capital_flow(symbol) represent the net inflow for that individual minute, rather than a cumulative intraday value?
Does this same semantic contract apply to the value exposed through the official SDK, CLI, and Hosted MCP capital_flow tool?
- Monetary unit and scale
What is the exact monetary unit of CapitalFlowLine.inflow?
For example, is the returned Decimal already expressed in the major currency unit, or is there an implicit minor-unit or other numeric scale?
Please specify any required multiplier or divisor.
- Currency
Is capital_flow denominated in the security's quote currency?
Specifically, would:
AAPL.US capital flow be denominated in USD; and
700.HK capital flow be denominated in HKD?
Is this rule guaranteed for all supported securities/markets?
- capital_distribution compatibility
For the same symbol, do the monetary values returned by capital_flow and capital_distribution use exactly the same:
monetary unit,
numeric scale, and
currency?
- turnover dimensional compatibility
Does the turnover field returned by the official quote and candlestick interfaces use the same monetary unit, scale, and currency contract as capital_flow.inflow?
In particular, is the following expression dimensionally valid without any additional unit or currency conversion?
sum(CapitalFlowLine.inflow) / turnover
- Hidden transformations
Is there any implicit multiplier, divisor, denomination conversion, currency conversion, or other numeric transformation between the underlying provider value and the value exposed by:
QuoteContext.capital_flow → official SDK → official CLI / Hosted MCP?
If possible, please provide or identify the authoritative and versioned documentation, schema, source contract, or technical specification that guarantees these answers.
If no published specification currently exists, a written confirmation from the Longport technical team stating the applicable contract and the affected API/SDK versions would also be very helpful.
This request contains no access token, refresh token, account identifier, cookie, Authorization header, or other credential.
Thank you.
- 主要言語
- TypeScript
- スター
- 61
- フォーク
- 30
- 平均マージ
- 7時間 45分
- マージ済み PR(30日)
- 17
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
longbridge/developers のほかの issue
-
最新版的Python 4.3.2 sdk 根本跑不通这个代码啊対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
longbridge/developers#1109 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
longbridge/developers#1314 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 1〜2日 初心者へのやさしさ 45/100
longbridge/developers#1312 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 1〜2日 初心者へのやさしさ 35/100
longbridge/developers#1310 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
LONGBRIDGE AI模型选择オープン
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
longbridge/developers#1309 ·
メンテナーはふだん 1 日以内に返信
longbridge/developers の issue をすべて見る
似ている issue
-
Add: Tom Sings TV HDオープンapproved check:passed streams:add
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
duolicious/duolicious#1943 ·
メンテナーはふだん 1 日以内に返信
-
bug needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
nightly-labs/openbot#6451 ·
メンテナーはふだん 1 日以内に返信
-
level1 nsoc26
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
GauravKarakoti/SecureFlow#1719 ·
メンテナーはふだん 1 日以内に返信
-
complexity: easy good first issue impact: low
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
ueberdosis/hocuspocus#1211 ·
メンテナーはふだん 1 日以内に返信