I'm getting this error randomly when trying to connect to the Futures DEMO trading Websocket and API. I generated the API key and secret from the main Demo Trading > Account > API management and i see all the boxes checked.
I've regenerated the keys multiple times, tried using testnet, demo, etc. but this error keeps coming up intermittently. It helps sometimes when i log out/in, as well as manually generate positions. But it doesn't consistently get rid of this error.
Any suggestions on how to tackle this? Is my account missing something? Am i supposed to create a real Futures account before using the demo one?
from binance import AsyncClient, Client
self._rest_client = Client(
api_key=self._api_key,
api_secret=self._api_secret,
demo=True,
ping=False,
I'm getting this error randomly when trying to connect to the Futures DEMO trading Websocket and API. I generated the API key and secret from the main Demo Trading > Account > API management and i see all the boxes checked.
I've regenerated the keys multiple times, tried using testnet, demo, etc. but this error keeps coming up intermittently. It helps sometimes when i log out/in, as well as manually generate positions. But it doesn't consistently get rid of this error.
Any suggestions on how to tackle this? Is my account missing something? Am i supposed to create a real Futures account before using the demo one?