Skip to main content

quote_market_from_market_id

Function quote_market_from_market_id 

Source
pub fn quote_market_from_market_id(market_id: u32) -> Option<QuoteMktType>
Expand description

Convert backend NN_QuoteMktID into the C/S header NN_QuoteMktType group.

This is the Rust equivalent of C++ NNBase_Define_Inline.h:271-369 NN_QuoteMktType_From_NN_QuoteMktID. It intentionally returns None for local filtering-only groups that C++ maps to UNKNOWN (for example Bond/Fund/GlobalIndex).