0

Basically I'm new to using Yahoo finance Api. I've tried YQL Console but I can seem to find what I needed. I have to get like 3 months worth of stock quoute data. I found this http://chartapi.finance.yahoo.com/instrument/1.0/GOOG/chartdata;type=quote;range=30d/json

This is exactly the sets of data that I needed but it only gives me a whole month of data. No matter how I change the range=30d to say range=90d it gives me the same result.

Cœur
  • 37,241
  • 25
  • 195
  • 267
mr.b
  • 2,708
  • 8
  • 39
  • 64
  • See answer by Shahid Iqbal here: [How to Access Yahoo Finance YQL query with historical data](https://stackoverflow.com/questions/12417624/how-to-access-yahoo-finance-yql-query-with-historical-data) and change range to 3-months. – Yogi May 29 '15 at 12:28
  • Not exactly the result I want. You see from my example it has all the ticks/series for each day. Basically what happened from start to end of the day. This one only gives one object for each day. – mr.b Jun 02 '15 at 03:21

1 Answers1

0

Sorry cant comment due to my low reputation.

what you need to do exactly is use the following arguments in the url

30days: 30d 90days/ 3months: 3m 180days/ 6 months: 6m 365days/1 year: 1y

so the link for 3 months will be

http://chartapi.finance.yahoo.com/instrument/1.0/GOOG/chartdata;type=quote;range=3m/json

Hope it helps. :)