title: Fetching 1 minute bars from Yahoo Finance
body: <p>I'm trying to download 1 minute historical stock prices from Yahoo Finance, both for the current day and the previous ones.</p>
  
  <p>Yahoo (just like Google) supports up to 15 days worth of data, using the following API query:</p>
  
  <p><a href="http://chartapi.finance.yahoo.com/instrument/1.0/AAPL/chartdata;type=quote;range=1d/csv">http://chartapi.finance.yahoo.com/instrument/1.0/AAPL/chartdata;type=quote;range=1d/csv</a></p>
  
  <p>The thing is that data keeps on changing even when the markets are closed! Try refreshing every minute or so and some minute bars change, even from the beginning of the session.</p>
  
  <p>Another interesting thing is that all of these queries return slightly different data for the same bars:
  <a href="http://chartapi.finance.yahoo.com/instrument/">http://chartapi.finance.yahoo.com/instrument/</a><strong>2.0</strong>/AAPL/chartdata;type=quote;range=1d/csv</p>
  
  <p>Replace the bold number with 100000 and it will still work but return slightly different data.</p>
  
  <p>Does anyone understand this? </p>
  
  <p>Is there a modern YQL query that can fetch historical minute data instead of this API?</p>
  
  <p>Thanks!</p>