Hi, what code do I use to get the option prices for sugar No.11 (SBC) and sugar No.5 (LSUc) after the market closes using eikon api in python ?
@BSeed
You may need to contact the Eikon Excel support team via MyRefinitiv and ask for RICs and fields that can be used with the =TR function in Eikon Excel to retrieve the required data.
After that, if RICs and fields are available, you can use them with Eikon Data API to retrieve the same data.
hi @BSeed ,
You can use the code below to retrieve their daily prices.
import eikon as ek.set_app_key('#### YOUR APP KEY ####')df = ek.get_timeseries(['SBc1','LSUc1'])df
To retrieve daily close price, the field CLOSE can be added to the code
df = ek.get_timeseries(['SBc1','LSUc1'], 'CLOSE')df
Here's the Eikon Data API Quick Start guide. Please let us know in case you have any further questions.
Hi thank you, i am looking to get the option prices like below. I know how to get the close price but not options.