Hacker News new | ask | show | jobs
by ruffyen 5167 days ago
I caught the stream changing things up right in the middle? What is the deal with this? -- ie this was on the main page where it is looking for AAPL and not MSFT

{ "ticker": "MSFT", "exchange": "NASDAQ", "price": "31.26", "change": "+0.12", "change_percent": "0.38", "last_trade_time": "Apr 19, 10:17AM EDT" } { "ticker": "AAPL", "exchange": "NASDAQ", "price": "598.27", "change": "-10.07", "change_percent": "-1.66", "last_trade_time": "Apr 19, 10:17AM EDT" }

2 comments

Came here to say the same thing (including trying MSFT) :)

Also, the URL "http://xhv51cz0.nodesocket.com/quote-stream/MSFT/ works but "http://xhv51cz0.nodesocket.com/quote-stream/MSFT does not (without "/" in the end)

Yeah, too tired to figure it out now, its a bug. Basically, clients are listening for a WebSocket event, and the server is broadcasting everything. If you can fix it up, would be amazing.