When Yahoo History Quotes Receive Updated Daily

I took historical quotes from yahoo finance and am trying to add new quotes (today are the calendar days of the week) to my database. However, I do not know what I should plan the pushing process when. It should be some time at night, but does anyone have an idea when the new (today's) quotes are available from the Yahoo finance API?

Update: I just found additional information at: http://marketmonksmusings.blogspot.com/2012/04/using-yahoo-free-eod-data.html

They seem to be available from 12:00 GMT, but it would be better to roll back later for more accurate quotes.

+4
source share
2 answers

I had the same question, so using the script I wrote to update the stock data, I wrote a sequence of commands to update the AAPL data every minute for ten hours during the night and print the top two lines of the file containing the historical data, etc. e.

for i in {1..600}; do 
  ../updatedata.py aapl.csv
  head -n2 aapl.csv
  date
  sleep 60 
done

Relevant excerpt from the results:

updating aapl.csv from 2016-01-21 to 2016-1-22
Date,Open,High,Low,Close,Volume,Adj Close
2016-01-21,97.059998,97.879997,94.940002,96.300003,52054500,96.300003
Fri, Jan 22, 2016  8:12:06 PM
updating aapl.csv from 2016-01-21 to 2016-1-22
Date,Open,High,Low,Close,Volume,Adj Close
2016-01-22,98.629997,101.459999,98.370003,101.419998,65562800,101.419998
Fri, Jan 22, 2016  8:13:07 PM
updating aapl.csv from 2016-01-22 to 2016-1-22
Date,Open,High,Low,Close,Volume,Adj Close
2016-01-22,98.629997,101.459999,98.370003,101.419998,65562800,101.419998
Fri, Jan 22, 2016  8:14:08 PM

where are the times est. This particular stock was updated at 8:13 pm Eastern Standard Time. I would suggest that it takes some time to update all the stock data, so maybe getting the data at 9:00:00 PM EST will be enough.

+4
source

4:15 . NYSE 16:00, Yahoo . () , , 15 .

0

Source: https://habr.com/ru/post/1531580/


All Articles