News for hackers. Stuff that matters.
Re:Show HN: A simple way to get options prices for free by _dvdu on Tuesday April 11, 2017 @05:42PM (#14092746)
Note that you can't redistribute this data or generate income through it [0] per the Yahoo TOS [1].

Also note that Yahoo's data is somewhat unreliable [0, 2].

Unfortunately options data is just hard to get access to due to the agreements forced on providers by the exchanges. If you want to build a trading system on it without an institutional budget, the best options I've found so far are QuantConnect [3], which has paid for it and lets you build your system on their platform and OptionWorks [4], which you can pay $150 for and download all the data. You should be able to get a live feed from your broker after that. If you want it for academic research, many universities and colleges have access to much higher quality data.

This should be fine for personal use though.

[0]: https://meumobi.github.io/stocks%20apis/2016/03/13/get-realt...

[1]: https://policies.yahoo.com/us/en/yahoo/terms/product-atos/ap...

[2]: https://seekingalpha.com/instablog/6052771-kevin-wrotenbery/...

[3]: https://quantconnect.com

[4]: https://www.quandl.com/databases/OWCS

Re:Show HN: A simple way to get options prices for free by Schweigi on Tuesday April 11, 2017 @06:57PM (#14093260)
Another good source for option prices is: https://datashop.cboe.com

I would not recommend to use the Yahoo or Google apis to get option prices. Some of the bid/ask prices are completly wrong and some expiration dates are missing. I created an option scanner as a side project and found about this bad data quality the hard way.

Re:Show HN: A simple way to get options prices for free by _dvdu on Wednesday April 12, 2017 @01:55AM (#14095138)
It's a good place to get solid data but it's quite expensive. EOD history for SPX alone is $250 apparently. All symbols are $2500 and my understanding is that this is just CBOE options? Is CME not in there?
Re:Show HN: A simple way to get options prices for free by matheweis on Wednesday April 12, 2017 @03:40AM (#14095598)
$250 is not bad... what does it include?

iVolatility told me it would be ~$1000 for EOD chains + IV & Greeks since 1990 - just for SPX. CBOE is partners with iVolatility so I imagine their data is decent, but I can't bring myself to drop that much on it for a simple personal project.

Re:Show HN: A simple way to get options prices for free by Veratyr on Wednesday April 12, 2017 @12:24PM (#14099192)
With IV and greeks from 1990 is $384.62 apparently: https://datashop.cboe.com/option-quotes-end-of-day-with-calc...

Since CBOE is the exchange itself, I'd assume the quality of the data is at least the same as iVolatility, if not better.

Re:Show HN: A simple way to get options prices for free by matheweis on Wednesday April 12, 2017 @03:34AM (#14095576)
How's the data quality of OptionWorks? Do they have the indicies? I bought several years of EOD data for SPX from https://www.historicaloptiondata.com/ and found it to be of only moderate quality. (Charting some of the data on multiple dimensions makes the stuff that is padded stick out like a sore thumb... I ended up tossing about 20% of the data).
Re:Show HN: A simple way to get options prices for free by Veratyr on Wednesday April 12, 2017 @12:28PM (#14099220)
Can't say I'm afraid, I personally ended up building everything on QuantConnect.
Re:Show HN: A simple way to get options prices for free by imichael on Wednesday April 12, 2017 @12:01AM (#14094651)
etrade also has a free API if you have an account: https://us.etrade.com/ctnt/dev-portal
Re:Show HN: A simple way to get options prices for free by erikig on Wednesday April 12, 2017 @01:14AM (#14094950)
If you want to get more active, I'd recommend Interactive Brokers APIs: https://www.interactivebrokers.com/en/index.php?f=1325

Ditto for TDAmeritrade but their forums are not very active. http://apiforums.tdameritrade.com/

Re:Show HN: A simple way to get options prices for free by matheweis on Wednesday April 12, 2017 @03:31AM (#14095559)
TDAM's API is a little weak on options. Although you can pull the entire option chain for almost any stock during trading hours, that's about all you can do. There's no historical data or realtime streaming, and there is a rate limit of some kind.

For stocks (not options), they took it to the next level, and you can stream price/volume data in psuedo realtime. I think you can also pull EOD data on stocks (not options) going back pretty far.