K
K
koliane2020-03-30 23:43:24
API
koliane, 2020-03-30 23:43:24

Where can I get historical data on stock quotes?

I am writing an application for stock exchange data analytics. To do this, you need to take the historical data of quotes somewhere. It is desirable to have as many instruments as possible and as much data as possible (i.e. the older the history, the better).

Several questions arise from this:
1) where can I get this historical data? it is desirable, of course, that the service has some kind of api, because a large number of instruments is not convenient to drag to yourself "manually"

2) where is it better to take real-time data (to replenish the history)?

If there is no single service, then you can still take data only for Forex (at least for the alpha version of the program) or other exchanges (not necessarily currency)

PS. A similar question was already asked on the toaster about 3 years ago, but many links from there no longer work, and perhaps at the moment there are already more advanced and well-known sources

Answer the question

In order to leave comments, you need to log in

4 answer(s)
N
nokimaro, 2020-03-31
@nokimaro

Check out https://www.alphavantage.co/
Free limits - 500 API requests per day ( can be bypassed using multiple accounts )

Y
Yuri, 2020-05-19
@yul

Read the documentation for pandas datareader , there are several sources, good ones require registration, possibly money, depending on how accurate you need it, daytime ones can also be downloaded from yahoo without registration. Generally a good source of quandl, but see for yourself what you need.

I
ITLandgraf, 2020-04-27
@ITLandgraf

Finam has an export service and
an article on Habré about how to automate everything.

J
Julia Bedrosova, 2021-01-10
@Bedrosova

I take it through the Tinkoff Investments API - it's free for everyone who opened a brokerage account there (which is also free). There is some limit of requests per second, but if you do not abuse nested loops, you will never run into it.
Code here: https://github.com/BedrosovaYulia/MyTinkoffPortfol...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question