Expand description
Stable API — proto-free QOT list input validation and stock-id resolution rules. Proto-free QOT list input validation and stock-id resolution contract.
This module owns the fail-closed semantics for list-style QOT requests:
empty list, invalid (market, code), or any unresolved stock id rejects the
entire request. Runtime crates adapt their protocol/cache types into these
plain facts before applying the rule.
Structs§
- Parsed
QotSymbol List - A non-empty list of QOT securities that passed basic input validation.
- QotSymbol
List Security - Plain QOT security fact used by list validation without depending on
futu-proto.
Functions§
- parse_
required_ symbol_ list - Validate a list-style QOT input. The rule is intentionally shallow and
proto-free: non-empty list,
market != 0, non-empty code, and bounded code length. Market support and stock-id resolution stay in later runtime/cache phases. - resolve_
required_ stock_ ids - Resolve all validated securities to stock ids. Any missing or zero stock id rejects the entire request, matching the audited fail-closed behavior for list-style QOT handlers.