def get_exchange_info(exchange: str): mapping = gen_pairs(exchange) info = dict(_exchange_info.get(exchange, {})) return mapping, info
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