コード例 #1
0
def get_exchange_info(exchange: str):
    mapping = gen_pairs(exchange)
    info = dict(_exchange_info.get(exchange, {}))
    return mapping, info
コード例 #2
0
def get_exchange_info(exchange: str, key_id=None):
    mapping = gen_pairs(exchange, key_id=key_id)
    info = dict(_exchange_info.get(exchange, {}))
    return mapping, info