Re:Yahoo Stock Quotes in Go
by chimeracoder on Tuesday April 14, 2015 @12:29PM
(#9375407)
> Does anyone know of any true market data sources that are not delayed, free and open for commercial use?
Short answer: No
Long answer: It depends on what you mean by "true market data". This requires understanding a lot more about how the market and bidding process actually functions, but there really isn't a single canonical price at any point, and there are many ways to define what you're looking for, depending on what you're referring to - all of which are valid according to different assumptions.
Think of it as a special kind of eventually-consistent database. Depending on the consistency model, you can't ask what the value of x is right now, because there are multiple possible values that are all valid. It's only after they converge (which takes time) that a single, canonical value emerges.
This is one of the reasons that quotes are always delayed - it's possible to talk about what the price was at some point in the past, because those ways of defining the price dynamically have all essentially converged to the same value, but it's not possible to pinpoint a single price in the present.
To get all of the various sources of real-time data that can be considered the "current price" requires a lot of low-latency connections to various market players. That's not cheap, so there's nothing that's not delayed and free and available for commercial use.
Questions of this nature seem to usually end up pointing to Yahoo's API.
I saw elsewhere (can't locate source at moment) quotes ranging in the $10,000's a month range for real-time data. I'm sure someone on here could provide a more accurate figure.
It's valuable data associated with an industry that's famous for extracting value out of data so I'm not really surprised it's not free.
Re:Yahoo Stock Quotes in Go
by ddeck on Tuesday April 14, 2015 @01:14PM
(#9375742)
>quotes ranging in the $10,000's a month range for real-time data.
That sounds excessive. You basically either subscribe to individual exchanges or a consolidated feed from a 3rd party that typically incorporates multiple venues.
For applications that need something professional and reliable, but don't need direct exchange connections (i.e. can deal with ~1-200ms latency), I recommend IQfeed [1]. Depending on exchanges, cost is probably around $100/month
Source: I've been using them for fully automated trading for a couple of years
Re:Yahoo Stock Quotes in Go
by ddeck on Tuesday April 14, 2015 @01:28PM
(#9375858)
>Interactive Brokers has a very robust API
IB's API is anything but robust. It is inconsistent, poorly documented, and IB have a history of changing it without notice.
It also requires all communication runs through their client side Java GUI app, which is also prone to a variety of problems.
That said, IB are a very good low cost broker with amazing product breadth. But I would suggest caution if using their data API for anything remotely serious.
Re:Yahoo Stock Quotes in Go
by fixxer on Tuesday April 14, 2015 @12:01PM
(#9375201)
What level are you looking for? There are a lot of ways to define that stream. Last trade, book data, etc. What degree of latency is tolerable for your application?
Re:Yahoo Stock Quotes in Go
by nodesocket on Tuesday April 14, 2015 @12:58PM
(#9375635)
Related: I hacked Quote Stream (https://github.com/nodesocket/quote-stream) together a while ago. It pushes real-time quotes (not delayed) from Google to your browser via websockets using node.js.
Re:Yahoo Stock Quotes in Go
by agrafix on Tuesday April 14, 2015 @11:58AM
(#9375183)
I've done something similar using Haskell: https://github.com/agrafix/yahoo-finance-conduit
I tried to do this using a streaming approach (conduits), but the data is delayed and there is no real streaming api.
Short answer: No
Long answer: It depends on what you mean by "true market data". This requires understanding a lot more about how the market and bidding process actually functions, but there really isn't a single canonical price at any point, and there are many ways to define what you're looking for, depending on what you're referring to - all of which are valid according to different assumptions.
Think of it as a special kind of eventually-consistent database. Depending on the consistency model, you can't ask what the value of x is right now, because there are multiple possible values that are all valid. It's only after they converge (which takes time) that a single, canonical value emerges.
This is one of the reasons that quotes are always delayed - it's possible to talk about what the price was at some point in the past, because those ways of defining the price dynamically have all essentially converged to the same value, but it's not possible to pinpoint a single price in the present.
To get all of the various sources of real-time data that can be considered the "current price" requires a lot of low-latency connections to various market players. That's not cheap, so there's nothing that's not delayed and free and available for commercial use.
http://stackoverflow.com/questions/10040954/alternative-to-g...
Questions of this nature seem to usually end up pointing to Yahoo's API.
I saw elsewhere (can't locate source at moment) quotes ranging in the $10,000's a month range for real-time data. I'm sure someone on here could provide a more accurate figure.
It's valuable data associated with an industry that's famous for extracting value out of data so I'm not really surprised it's not free.
That sounds excessive. You basically either subscribe to individual exchanges or a consolidated feed from a 3rd party that typically incorporates multiple venues.
For applications that need something professional and reliable, but don't need direct exchange connections (i.e. can deal with ~1-200ms latency), I recommend IQfeed [1]. Depending on exchanges, cost is probably around $100/month
Source: I've been using them for fully automated trading for a couple of years
[1] http://www.iqfeed.net/
(I'm not affiliated, but I've used their services before and have been happy)
IB's API is anything but robust. It is inconsistent, poorly documented, and IB have a history of changing it without notice.
It also requires all communication runs through their client side Java GUI app, which is also prone to a variety of problems.
That said, IB are a very good low cost broker with amazing product breadth. But I would suggest caution if using their data API for anything remotely serious.
Of course.
> Yeah, but have you seen sample code using a json API.... * IN GO!?!? *
(mindblown)
http://i.huffpost.com/gen/1025913/images/o-JON-STEWART-WEED-...
Heads up, it has not been touched in 3 years.
I never thought it'd be useful for anyone, but well, I guess it can :P