python-binance api invalid symbol only for certain pairs

Viewed 1811

I am testing pairs from https://api.binance.com/api/v3/exchangeInfo there seems to be no rhyme or reason to the symbols that work or don't work.

print(Client.get_ticker(symbol='BTCUSDT')) works print(Client.get_ticker(symbol='LTCBTC')) works print(Client.get_ticker(symbol='ETHBTC')) works print(Client.get_ticker(symbol='NEOBTC')) APIError(code=-1121): Invalid symbol print(Client.get_ticker(symbol='MATICUSDT')) APIError(code=-1121): Invalid symbol print(Client.get_ticker(symbol='ADAUSDT')) APIError(code=-1121): Invalid symbol

Why is this happening and how do I fix it?

0 Answers
Related