Data streaming broken on version 0.48 but not on v0.46 ('AM.*')
See original GitHub issueJust spent way too many hours of my life to figure out what was causing the problem 😕
I have a project streaming [‘AM.*’, ‘trade_updates’] on alpaca-trade-api v0.46. Everything works as expected.
On another project, I had the exact same code but only ‘trade_updates’ were working. The difference was alpaca-trade-api v0.48. Not sure if this is related to Alpaca’s new data streaming but something broke between these two versions. Just wanted to make you and others aware.
Note: I was streaming using paper credentials, not sure about live.
My code:
self._on_minute_bars = self.paper_conn.on(r'^AM$')(self._on_minute_bars)
self._on_trade_updates = self.paper_conn.on(r'trade_updates$')(self._on_trade_updates)
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Stream Broken with Alpaca-Trade-API version 0.48 / api ...
Hi Guys, this is an updated example code using both the Alpaca data stream and the Polygon data stream (you could choose). it...
Read more >Games - [Early Access] Atmocity | Page 3 - Unity Forum
I will edit old posts and do this, newer posts will still have images displayed. The game will be updated on Steam fairly...
Read more >Variance AQ Megathread (AQ v0.48 update--defaults changed ...
I compared 0.48 with 0.5 strength and 13 sensitivity, with 0.46 with 0.6 strength and 20 sensitivity. I'm not sure if 0.48 can...
Read more >RFC 2354: Options for Repair of Streaming Media
In particular, we restrict our discussion to repair techniques which require the involvement of the sender of a media stream, and do not...
Read more >Troubleshoot your YouTube live stream - Google Help
To fix it, get a new stream key in Live Control Room and update your encoder. Go to YouTube Studio. To open Live...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
No worries. Okay great. Didn’t realize there was a breaking change. Thanks for the clarification.
Hi sorry for the delay in version 0.48 we added another data stream defaulting to alpaca data stream to use the polygon data stream one must specify it explicitly
so your StreamConn should look like this: