Modules§
Structs§
- Dispatch
Accepted - Empty
Desired Market - Normal
Subscription Dispatch Hooks - QotSubscription
Writer Admission - Security
With Opts - SubBit
Options - Subscribe
BitInfo
Enums§
- Normal
Dispatch Outcome - QotSub
Error - v1.4.106 codex 1131 F1:
submit_global_desired_set错误类型. 让 caller (SubHandler) 区分 backend reject vs decode err vs timeout → ack-then-commit pattern (F1 P1). - Subscribe
SetCommand Mode - Subscribe
SetPlan Error
Constants§
- CMD_
QOT_ PULL_ TICKER - Pull ticker. Ref:
NNBase_Define_ProtoCmd.h:93. - CMD_
QOT_ PUSH - 后端推送命令 ID
- CMD_
QOT_ SUB - QOT subscription push protocol commands. Ref:
NNBase_Define_ProtoCmd.h:98-100. - TICKER_
PAGE_ MAX_ ITEMS
Functions§
- build_
keep_ subscribe_ req_ with_ options - build_
subscribe_ req_ with_ options - v1.4.106 codex 1131 F6: 构建带 SubBitOptions 的订阅请求 — 真传 session / detail / extended_time 给 backend.
- empty_
desired_ market_ for_ sub - ensure_
subscribe_ set_ backend_ success - Interpret backend
SubscribeSetRspstatus fields without taking a dependency on the generated proto type. - ftapi_
market_ to_ quote_ mkt - is_
depth_ sub_ type - plan_
empty_ subscribe_ set_ commands - plan_
subscribe_ set_ commands - pull_
latest_ ticker - 拉取最新逐笔,用于对齐 C++ Qot_Sub 成功后“订阅逐笔要提前拉一根”。
- pull_
ticker_ page - Pull one exact CMD6128 page. The backend wire caps ordinary pages at 750;
callers requesting more must continue with response
next_ticker_keyanddate_time_s, matching C++OnReply_PullTickerList. - sub_
type_ to_ bit_ infos_ with_ options - sub_
type_ to_ bits - sub_
type_ to_ bits_ with_ options - submit_
cached_ keep_ wire - Submit one immutable cached keep request.
- submit_
empty_ desired_ set_ for_ markets - submit_
global_ desired_ set - v1.4.106 codex 1131 F1+F2: 给 caller (SubHandler) 的 set-state 接口.
Type Aliases§
- Security
Subscribe Input - v1.4.110 Phase 2 Slice 4: per-security 输入 —
(stock_id, broker_id, sub_types_with_opts)3-tuple. broker_id =None走 no-broker 路径 (普通股, Phase 2 默认),Some(NonZeroU32)走 broker-aware 路径 (crypto multi-broker). - Subscribe
SetSecurity Plan - Per-security input for one backend CMD6211
SubscribeSetReq.