How to get multiple bond history prices in bulk through the eikon API?
RIC code: CN175143SH= , CN113672CB=
Upgrade from Eikon -> Workspace. Learn about programming differences.
For a deeper look into our Eikon Data API, look into:
Overview | Quickstart | Documentation | Downloads | Tutorials | Articles
How to get multiple bond history prices in bulk through the eikon API?
RIC code: CN175143SH= , CN113672CB=
Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.
Thanks,
AHS
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