Releases: alpacahq/alpaca-trade-api-go
Releases · alpacahq/alpaca-trade-api-go
Fix Websocket Reconnection
There were several issues with the previous attempt at handling websocket disconnects. This release addresses those - websocket subscriptions should now be resumed when the new connection is opened.
Additionally, Alpaca has added limited support for OAuth authentication, and a new environment variable has been added to support it.
Switch Polygon streaming from NATS to Websockets
In this release, NATS streaming is removed, as it has been deprecated by Polygon and is not used for Alpaca. A replacement websocket connection for Polygon has been added in its place. Please see the readme for an updated example showing how to receive data from the Polygon connection.