News for hackers. Stuff that matters.
Re:Quote Stream - Push real-time stock quotes in JSON over w... by neiled on Thursday April 19, 2012 @08:00AM (#3862509)
But, and correct me if I'm wrong obviously, this isn't sending quotes to the client real time, it's just sending them in 5 second batches?

I guess I'm struggling to see how:

"Stock quotes are pulled from Google Finance and are real-time."

and

"By default stock quotes are fetched every 5 seconds, and pushed to the client."

Work together...

Great work on sharing the code though, thanks.

Re:Quote Stream - Push real-time stock quotes in JSON over w... by nodesocket on Thursday April 19, 2012 @08:02AM (#3862513)
In finance, real-time quotes means not delayed by 20 minutes. The price returned should be real-time in those terms.
Re:Quote Stream - Push real-time stock quotes in JSON over w... by jrockway on Thursday April 19, 2012 @11:48AM (#3863542)
In finance, real-time means receiving each tick or trade record. Aggregating prices over 5 seconds and sending that data every 5 seconds is "aggregated data over 5 seconds".
Re:Quote Stream - Push real-time stock quotes in JSON over w... by nlz1 on Thursday April 19, 2012 @09:54AM (#3862980)
Upvoted.

"Real time. You keep using that phrase. I do not think it means what you think it means."