Skip to main content

normalize_qot_sub_market

Function normalize_qot_sub_market 

Source
pub fn normalize_qot_sub_market(market: i32) -> Option<i32>
Expand description

Normalize Qot_Sub market input.

Qot_Sub is a user-facing API and historically accepted callers that sent Trd_Common.TrdMarket enum values instead of Qot_Common.QotMarket. Preserve that compatibility in the shared QOT domain so gateway surfaces do not each carry their own mapping table. RegQotPush intentionally bypasses this helper; see is_valid_qot_market.