We would like to check on stock's historical data, using HTTP request, and get JSON.
Using the yahoo API ,I found it hard to not only clearly understand the HTTP request fields, but also to get the data of a certain day (not average for each day, but the values during a certain day), with this :
http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20yahoo.finance.historicaldata%20where%20symbol%20%3D%20%22AAPL%22%20and%20startDate%20%3D%20%222012-09-11%22%20and%20endDate%20%3D%20%222014-02-11%22&format=json&diagnostics=true&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys&callback=
1. There is no explanation anywhere of how to set each field (also not at Yahoo console).
2. You can't set a certain day, and get its values .
Is there a stable solution other than Yahoo which is now free? Or, can someone help me understand what all these junk signs in the request?
Ad-hypothesis in 2.: "You can't set a certain day, and get his values" ... well, YOU CAN:
The <URL> per-se contains data selection tags included:
so to get just the last few ( a pair of, notice the interpretation of endDate in results ) days between 2014-08-10 .. 2014-08-12 on "AAPL":
( a full Y! response transcript )
Nota Bene:
One may detect, that the fully-fledged query processing re-wraps data-source request sourced and post-processed from just:
http://ichart.finance.yahoo.com/table.csv?g=d&f=2014&e=12&c=2014&b=10&a=7&d=7&s=AAPL
yielding:
Per aspera Ad Astra ... ( ... more GHz, more TB, more Gbps, more ..., more ..., Moore! )