Answer the question
In order to leave comments, you need to log in
Python How to track Gazprom stock price?
I tried pandas_datareader, but there are errors everywhere
And quandl, as far as I understand - there is no gazprom there
How to configure pandas or what other libraries are there?
This worked, but accordingly the question - How to get shares of Gazprom, GAZP - does not fit
from pandas_datareader import data
import pandas as pd
tickers = ['AAPL', 'MSFT']
data_source = 'google'
start_date = '2010-01-01'
end_date = '2016-12-31'
panel_data = data.DataReader(tickers, data_source, start_date, end_date)
close = panel_data.ix['Close']
all_weekdays = pd.date_range(start=start_date, end=end_date, freq='B')
close = close.reindex(all_weekdays)
close.head(10)
Answer the question
In order to leave comments, you need to log in
Connect to the API of the Moscow Exchange . There's an example in Python there .
You are interested in the GAZP index.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question