Open DewinGoh opened 3 years ago
I'm currently working on this issue as well. It seems to be a problem with using ipython in an IDE that is also running asyncio. Try adding this at the beginning to allow nested asyncio loops.
import nest_asyncio nest_asyncio.apply()
Hi, I've been trying out this library (great work by the way!). Have been running into a wall with this particular issue where the streaming client seems to get terminated on TD Ameritrade's side. Wondering if anyone has encountered this or if there is anything I should have done along the API setup that I missed out.
Probably hitting into this line: https://github.com/areed1192/td-ameritrade-python-api/blob/master/td/stream.py#L741
Logs: