pub fn assert_index_by_market_and_code(market_id: i32, symbol: &str) -> bool
AssertIndexByMarketAndCode equivalent from C++ exchange::code.cpp