Replies: 1 comment
-
https://github.com/areed1192/td-ameritrade-python-api/blob/master/samples/api_streaming.py import websockets |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I get runtime error while trying to stream data. Any help pls? . Running .py in jupyter notebook.
C:\ProgramData\Anaconda3\lib\asyncio\base_events.py in run_until_complete(self, future)
590 """
591 self._check_closed()
--> 592 self._check_running()
593
594 new_task = not futures.isfuture(future)
C:\ProgramData\Anaconda3\lib\asyncio\base_events.py in _check_running(self)
550 def _check_running(self):
551 if self.is_running():
--> 552 raise RuntimeError('This event loop is already running')
553 if events._get_running_loop() is not None:
554 raise RuntimeError(
RuntimeError: This event loop is already running
Beta Was this translation helpful? Give feedback.
All reactions