Skip to main content

Module security_on_demand

Module security_on_demand 

Source
Expand description

Shared on-demand static-security hydration helpers.

C++ reference:

  • APIServer_Inner_API.cpp:6361-6365 calls PullComboLegsQotInfo before parsing combo legs.
  • APIServer_Inner_API.cpp:1321-1379 collects only HK/US option-looking codes missing from local stock-list cache and calls INNBiz_Qot_SecList::PullOptionInfoByCode.
  • NNBiz_Qot_StockInfoReq.cpp:236-299 sends CMD20106 SecuritiesReq with symbols=CODE.SUFFIX, is_completed=true, and chunks symbols by 90.

Functionsยง

fetch_and_cache_options_by_code
Fetch option static info by user-facing option code and write it into [StaticDataCache].
fetch_and_cache_securities_by_code
Fetch basic stock static info by user-facing code and write/update [StaticDataCache].