Loading European options data on European/UK equities

I am trying to download price data for European options using the Eikon API. As an example, I have been trying to download data for options on Barclays stock. I cannot find the code I need to input to access the options on Barclays PLC, and have tried both BARC and some of the option tickers (e.g. BARC0721160C) for both the get_data and get_timeseries commands. Could you please let me know what these codes should be or where I can find them? It would be even better if there is a way I can download options data for the constituents of an index such as FTSE 100 or even a whole exchange?
The data I would like specifically is the daily closing price for each option.
Thanks
Best Answer
-
To get the constituents of the option chain and the latest close price for options on Barclays PLC listed on Eurex use
ek.get_data('0#BARC*.EX',['STRIKE_PRC','EXPIR_DATE','PUTCALLIND','CF_CLOSE'])
To get daily close for individual option use
ek.get_timeseries('BARC1250aG0.EX','CLOSE')
0
Answers
-
Thank you very much! This works for the current options chain but is there a way to then get historical data for options on Barclays?
0 -
To get historical close prices for currently listed options see get_timeseries example in my previous answer. If you're looking to get historical prices for expired options, it is possible too, but you need to know the strike and the expiry. We do keep price history for expired options, but we do not maintain historical composition of option chains. If you know the strike and the expiry of the option you can construct the expired option RIC and use it in get_timeseries method. E.g. here's the request for 150 June 2019 call on Barclays.
ek.get_timeseries('BARC1500aG9.EX^G19','CLOSE',
start_date='20190601',end_date='20190628')Note that the date range specified using start_date and end_date kwargs needs to fall within the life span of the option. For more details on constructing an expired option RIC see this thread.
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 684 Datastream
- 1.4K DSS
- 614 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 248 ETA
- 552 WebSocket API
- 37 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 275 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.9K Refinitiv Data Platform
- 641 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 26 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 191 TREP Infrastructure
- 228 TRKD
- 915 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 89 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛