Expand description
QOT subscribe request planning helpers.
This module owns small pure decisions that turn public Qot_Sub request
flags into backend subscription options. Surface handlers should call this
layer instead of re-deriving session/detail semantics inline.
Structs§
Enums§
Constants§
- BACKEND_
MARKET_ HK_ OPTION - BACKEND_
MARKET_ US_ OPTION - SECURITY_
TYPE_ DRVT - SECURITY_
TYPE_ FUTURE - SESSION_
ALL - SESSION_
ETH - SESSION_
NONE - SESSION_
OVERNIGHT - SESSION_
RTH - SUB_
TYPE_ BASIC - SUB_
TYPE_ BROKER - SUB_
TYPE_ KL_ 1MIN - SUB_
TYPE_ KL_ 3MIN - SUB_
TYPE_ KL_ 5MIN - SUB_
TYPE_ KL_ 15MIN - SUB_
TYPE_ KL_ 30MIN - SUB_
TYPE_ KL_ 60MIN - SUB_
TYPE_ KL_ DAY - SUB_
TYPE_ KL_ MONTH - SUB_
TYPE_ KL_ QUARTER - SUB_
TYPE_ KL_ WEEK - SUB_
TYPE_ KL_ YEAR - SUB_
TYPE_ NONE - SUB_
TYPE_ ORDER_ BOOK - SUB_
TYPE_ RT - SUB_
TYPE_ TICKER - VALID_
QOT_ SUB_ TYPES
Functions§
- backend_
desired_ key_ for_ sec_ key - Derive the backend desired-set key for a cached subscription row.
- backend_
subscribe_ market_ for_ security - is_
kl_ sub_ type - is_
valid_ qot_ market - Whether a public
Qot_Common.QotMarketvalue is accepted byQot_Sub. - is_
valid_ sub_ type - kl_
type_ for_ sub_ type - normalize_
qot_ sub_ market - Normalize
Qot_Submarket input. - public_
market_ from_ sec_ key - Extract the public
QotMarketprefix from a gateway/cache sec_key. - reg_
push_ rehab_ types - resolve_
reg_ qot_ push_ securities - Resolve
Qot_RegQotPush.security_listto cache keys and stock ids. - unsupported_
option_ sub_ type_ name - Return the public name for option sub types rejected by C++ Qot_Sub.