Skip to main content

Module qot_subscription

Module qot_subscription 

Source
Expand description

Stable API — QOT subscription public constants and backend route DTOs.

Structs§

BitInfoPlan
EmptyDesiredMarket
Lv2OrderGroupPlan
Lv2OrderItemPlan
SecurityWithOpts
SubBitOptions
SubscriptionSecurityFacts

Enums§

BitInfoPayloadPlan
EventContractWireRight
Lv2OrderEncoding
OrderBookWireProfile
SubscriptionWireProfile

Constants§

BACKEND_MARKET_HK_OPTION
BACKEND_MARKET_US_OPTION
JP_LV2_ORDER_STOCK
JP_LV2_ORDER_STOCK_FULL
LV2_ORDER_US_FUTURE
SECURITY_TYPE_DRVT
SECURITY_TYPE_FUTURE
SG_LV2_ORDER_STOCK
SG_LV2_ORDER_STOCK_ODD_LOT
SUB_TYPE_BASIC
SUB_TYPE_BROKER
SUB_TYPE_KL_1MIN
SUB_TYPE_KL_3MIN
SUB_TYPE_KL_5MIN
SUB_TYPE_KL_10MIN
SUB_TYPE_KL_15MIN
SUB_TYPE_KL_30MIN
SUB_TYPE_KL_60MIN
SUB_TYPE_KL_120MIN
SUB_TYPE_KL_180MIN
SUB_TYPE_KL_240MIN
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_ORDER_BOOK_ODD
SUB_TYPE_RT
SUB_TYPE_TICKER
US_LV2_ORDER_ARCA
US_LV2_ORDER_NASDAQ_TV
US_LV2_ORDER_OVERNIGHT
VALID_QOT_SUB_TYPES

Functions§

backend_desired_key_for_info
backend_desired_key_for_sec_key
backend_subscribe_market_for_facts
backend_subscribe_market_for_info
backend_subscribe_market_for_security
canonical_public_qot_market
empty_desired_market_for_sub
ftapi_market_to_quote_mkt
is_depth_sub_type
is_kl_sub_type
is_minute_kl_type
is_valid_qot_market
is_valid_sub_type
kl_type_for_sub_type
legacy_trd_market_to_qot_market
Explicit legacy TrdMarket compatibility mapping. This helper must never be used for a public QotMarket field because both namespaces assign value 2 to different markets (US versus HK_Future).
public_market_from_sec_key
qot_kl_type_backend_kline_type
Backend FTCmdKline.KlineType value for public FTAPI KLType.
qot_kl_type_from_str_alias
qot_sub_type_from_str_alias
qot_sub_type_short_label
sub_type_for_kl_type
unsupported_option_sub_type_name