'python-binance api invalid symbol only for certain pairs
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?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
