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 as web
now ='Asia/Tokyo'))
start_date = now - timedelta(days=25)
start = dt.datetime(start_date.year, start_date.month,
end = dt.datetime(now.year, now.month,
web.DataReader('1301.JP', 'stooq', start, end)

Read more here:

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: