美股正股 Depth.volume 单位:股/手、SDK换算及各时段一致性

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

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
48/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python
領域
documentation

調査の方向性

Start with the referenced quote/api.proto in the longbridge/openapi-protobufs repo to see the field comment for Depth volume, then trace how the Python SDK's QuoteContext.depth() and set_on_depth() pass that value through (any lot-size or x100 conversion). Compare against the two docs pages, quote/pull/depth and quote/push/depth, and check whether behavior differs pre-market, in-session, after-hours and overnight. Done when the unit, conversion rule and version dependency are stated authoritatively and the docs pages are updated to say so.

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

説明

请确认美股正股(xxx.US)在 Python SDK 中的以下字段定义:

  1. QuoteContext.depth() 与 set_on_depth() 回调中的 Depth.volume,单位是股数还是手数?
  2. 若单位为手,每单位固定为 100 股,还是按 static_info.lot_size 计算?
  3. SDK 是否已进行单位换算?查询与推送的单位和换算行为是否一致?
  4. 盘前、盘中、盘后及夜盘的单位是否一致?上述行为是否依赖 SDK 版本?

公开文档当前写的是“挂单量”,单位不清楚。烦请提供官方字段说明。

参考:

主要言語
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 を短くまとめたダイジェスト。