You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No new coins detected, checking again in 0.3 minute(s)..
No new coins detected, checking again in 0.3 minute(s)..
No new coins detected, checking again in 0.3 minute(s)..
New coins detected: [{'symbol': 'AXSTRY', 'price': '780.50000000'}, {'symbol': 'DARTRY', 'price': '12.82000000'}, {'symbol': 'NEARTRY', 'price': '143.80000000'}, {'symbol': 'IDEXBNB', 'price': '0.00046900'}]
Preparing to buy AXSTRY
Traceback (most recent call last):
File "/home/dev/binance_trading_bot/main.py", line 189, in <module>
main()
File "/home/dev/binance_trading_bot/main.py", line 149, in main
price = get_price(coin['symbol'], pairing)
File "/home/dev/binance_trading_bot/main.py", line 34, in get_price
return client.get_ticker(symbol=coin+pairing)['lastPrice']
File "/usr/local/lib/python3.10/site-packages/binance/client.py", line 1183, in get_ticker
return self._get('ticker/24hr', data=params, version=self.PRIVATE_API_VERSION)
File "/usr/local/lib/python3.10/site-packages/binance/client.py", line 371, in _get
return self._request_api('get', path, signed, version, **kwargs)
File "/usr/local/lib/python3.10/site-packages/binance/client.py", line 334, in _request_api
return self._request(method, uri, signed, **kwargs)
File "/usr/local/lib/python3.10/site-packages/binance/client.py", line 315, in _request
return self._handle_response(self.response)
File "/usr/local/lib/python3.10/site-packages/binance/client.py", line 324, in _handle_response
raise BinanceAPIException(response, response.status_code, response.text)
binance.exceptions.BinanceAPIException: APIError(code=-1121): Invalid symbol.
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: