How to get multiple bond history prices in bulk through the eikon API?
RIC code: CN175143SH= , CN113672CB=
Hi @anchu ,
This data can be retrieved using function get_timeseries or get_data in Eikon Data API as below
You may check Eikon Data API - Overview for more detail, including Eikon Data API - Quick start guide
ek.get_timeseries(['CN175143SH=','CN113672CB='], start_date='2023-08-01', end_date='2023-08-17', interval='daily')
df, err = ek.get_data(instruments=['CN175143SH=','CN113672CB='], fields=[ 'TR.BIDPRICE.date','TR.BIDPRICE','TR.ASKPRICE.date','TR.ASKPRICE'], parameters={'SDate':'2023-08-01', 'EDate':'2023-08-17'})df