tastyware / tastytrade

An unofficial Python SDK for Tastytrade!
MIT License
98 stars 33 forks source link

enable multiple calls to subscribe for same event type #114

Closed Graeme22 closed 7 months ago

Graeme22 commented 7 months ago

Description

A bug in the DXLinkStreamer was making it impossible to subscribe more than once with the same event type, and crashing the streamer.

Related issue(s)

Fixes #113

Pre-merge checklist

Please note that, in order to pass the tests, you'll need to set up your Tastytrade credentials as repository secrets on your local fork. Read more at CONTRIBUTING.md.