Hi,
=@DSGRID ($A$1:$A$1007,RI,P,PO,PB,PA,VO,IBNOSH,04/01/2025,,Daily,RowHeader=true;ColHeader=true;Heading=true;Transpose=true;Code=true;DispSeriesDescription=false;YearlyTSFormat=false;QuarterlyTSFormat=false;MonthlyTSFormat=true;AutoRefresh=false) is what I used to pull the historical data for some stocks in the excel addin. The identifiers in column A are ISIN's.
I got the python api and would like to do the same.
I tested it with: df = ek.get_timeseries(['MSFT.O'], fields=['OPEN', 'CLOSE', 'BID', 'ASK', 'VOLUME'], # 'RI', 'P', 'PO', 'PB', 'PA', 'VO', 'IBNOSH' start_date='2025-11-01', end_date='2025-11-10', interval='daily')
It does have open, close, volume data, but not total return index, bid, ask, or number of shares outstanding data.
I couldn't find any source to know what the data items or fields should be when using python api. Nor could I know what to put in the ticker cell (I need to put ISIN's, not tickers)
Besides the stocks (identified by ISIN's), I also need to pull the open and close price data of Russell 1000 index, =@DSGRID ("FRUSSL1","PI,PO","04/01/2025","","Daily","RowHeader=true;ColHeader=true;Heading=true;Code=true;DispSeriesDescription=true;YearlyTSFormat=false;QuarterlyTSFormat=false;MonthlyTSFormat=true").
I actually tried the codes in
https://workspace.refinitiv.com/web/Apps/DataItemBrowser/
but they didn't work.
Can you help me turn the two Excel codes into python codes?
Thanks
Darcy