tkp-archive / pyEX

Python interface to IEX and IEX cloud APIs
https://pyex.readthedocs.io
Apache License 2.0
408 stars 110 forks source link

tradesSSE and bookSSE concurrently #144

Closed smjure closed 3 years ago

smjure commented 3 years ago

DEEP or deepSSE allows only one symbol to stream at once. Is there some elegant way to run tradesSSE and bookSSE concurrently? Thank you.

PS: latest version throws the following error image

timkpaine commented 3 years ago

Best bet is to merge the async generator variants of these methods. https://stackoverflow.com/questions/48830795/merging-async-iterables-in-python3

timkpaine commented 3 years ago

other bug fixed in v0.2.8