How to get individual stock prices of Japanese companies without too much delay by Python

I have been trying to get stock prices from Japanese companies using a python library pandas_datareader(). However, this library does not give the latest information, but there seems to be a few days delay of information. Do you know if there is any way to get individual stock prices of Japanese companies close to real time?

For example if I run the following code, the newest information it gets is a few days before "today's date".

import pandas_datareader.data as web
now = dt.datetime.now(pytz.timezone('Asia/Tokyo'))
start_date = now - timedelta(days=25)
start = dt.datetime(start_date.year, start_date.month, start_date.day)
end = dt.datetime(now.year, now.month,now.day)
web.DataReader('1301.JP', 'stooq', start, end)


Read more here: https://stackoverflow.com/questions/64409536/how-to-get-individual-stock-prices-of-japanese-companies-without-too-much-delay

Content Attribution

This content was originally published by Isaac at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: