Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def symbol_market(symbol_detail: str):
"""
映射出市场代码
:param symbol_detail:
:return:
"""
var_item = symbol_varieties(symbol_detail)
for market_item, contract_items in cons.market_exchange_symbols.items():
if var_item in contract_items:
return market_item