Skip to content

Further Polygon stream improvements

Compare
Choose a tag to compare
@ttt733 ttt733 released this 15 Jul 12:23
· 671 commits to master since this release

In this release, several code issues with websocket reconnection are fixed. The ability to specify a list of symbols for a websocket handler method to listen (only) for has been added. (To use this, simply specify a list of symbols as strings after the channel pattern in your on() decorator.) Additionally, an unsubscribe function is provided for the Polygon stream, as well as a configuration option for specifying a non-Alpaca Polygon key in the environment variable POLYGON_KEY_ID.