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
{{ message }}
This repository was archived by the owner on Mar 26, 2026. It is now read-only.
from deriv_api import DerivAPI
api=DerivAPI(app_id=1234)
Traceback (most recent call last):
File "", line 1, in
File ".../py3.11.4/lib/python3.11/site-packages/deriv_api/deriv_api.py", line 128, in init
self.add_task(self.api_connect(), 'api_connect')
File ".../py3.11.4/lib/python3.11/site-packages/deriv_api/deriv_api.py", line 446, in add_task
asyncio.create_task(wrap_coro(coroutine, name), name=name)
File ".../py3.11.4/lib/python3.11/asyncio/tasks.py", line 371, in create_task
loop = events.get_running_loop()
^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: no running event loop