Get_exchange_symbols() on Binance


#1

Running get_exchange_symbols(‘binance’) returns an empty dictionary. Is there a workaround?


Binance API returns pairs that are not recognized by Catalyst
#2

Ok, here is the workaround:

url = "https://www.binance.com/api/v1/exchangeInfo"
response = urllib.urlopen(url)
exch_data = json.loads(response.read())
pairs_data = exch_data['symbols']