Exemple #1
0
def get_exchange_info(exchange: str, key_id=None):
    mapping = gen_symbols(exchange, key_id=key_id)
    info = dict(_exchange_info.get(exchange, {}))
    return mapping, info
def get_exchange_info(exchange: str, key_id=None, force_update=False):
    mapping = gen_symbols(exchange, key_id=key_id, force_update=force_update)
    info = dict(_exchange_info.get(exchange, {}))
    return mapping, info