tastyware/tastytrade

Request: y'all got any better examples?

Closed this issue · 1 comments

Any chance that the examples could be improved / revised, especially with regards to the asyncio stuff and encapsulating things into async def functions that can be called and return what you want so that info can be used in standard sync functions? I.e., "it's not always straightforward to use", to quote the docs.

This would be especially helpful for the streamer. I don't think TT/dxFeed intended for a new streamer to be created every time you want a quote for the same underlying, but that's all I can get working. Some asyncio demystifying would be greatly appreciated.

There's still a significant amount of documentation in progress (#68); until then, I'd point you here: https://tastyworks-api.readthedocs.io/en/latest/sessions.html#events

Leaving this open in case people want to post more examples