How to retrieve historical delta of one specific option
Hi,
I am working to retrieve historical delta of specific dates of one specific option. However, I didn't find the date parameter for the delta codes. May I ask is there any way to retrieve the deltas?
For example, for option "SPYK202033000.U", I can use 'TR.OPWMidDelta' to retrieve today's delta. But how to retrieve previous days' deltas?
Thanks!
Best Answer
-
According to the results of the Helpdesk investigation, Refinitiv started collecting the timeseries for delta for US stock options from 12-Oct-2020. Refinitiv does not have the history going back further than that. The only alternative I see is to calculate the delta on the dates you're interested in. You can use get_option_analytics method of RDP Library for Python, e.g.
import refinitiv.dataplatform as rdp
from refinitiv.dataplatform.content.ipa import option
rdp.open_desktop_session('MY_APP_KEY')
rdp.get_option_analytics(
universe = "SPYK202033000.U",
fields = ["MarketValueInDealCcy",
"DeltaPercent",
"UnderlyingPrice"],
calculation_params = option.CalculationParams(
valuation_date="2020-01-03")
)I think this will only be practical for a relatively small number of options or a narrow range of dates. If you'd like to learn about using RDP Library to calculate options analytics, you can find the documentation on Refinitiv Data Platform APIs page (navigate to Manuals & Guides - IPA Financial Contracts). Examples can be found in Codebook (in the Codebook File Browser select Examples / 02 - Refinitiv Data Platform Library / 1.7.1 - Function - IPA - Option Pricing).
0
Answers
-
Hi @eiffel
The "TR.OPWMidDelta" field does not support timeseries retrieval.
You can use "Data Item Browser" to confirm the supported variable.
But how to retrieve previous days' deltas?
If there are any fields carry the timeseries then it is possible to retrieve the data using the same field.
For an authoritative answer to any content questions, the best resource is the Refinitiv Content Helpdesk.
The moderators here do not have deep expertise in every type of content available through Eikon.
The Refinitiv Content Helpdesk can be reached using Contact Us capability in your Eikon application.
Or by calling the Helpdesk number in your country.
Or at https://my.refinitiv.com/0 -
You can get timeseries of US equity option's delta using RDP Library.
import refinitiv.dataplatform as rdp
rdp.open_desktop_session('MY_APP_KEY')
rdp.get_historical_price_summaries('SPYK202033000.U', fields = ['DELTA_EXCH'],
start = '2020-10-01', end = '2020-10-30')0 -
Hi Alex,
Thanks for your answer. It's really helpful!
But I encountered some new problems. I am working to retrieve more historical data but this function only returns the recent 1 month's records. Can I check is there any way to retrieve long-time historical data?
Thanks
0 -
You're right. It looks like the timeseries for delta only go back a month while the price history goes back much further. I'm not sure why this is the case. I understand you already opened case 09348381 with Refinitiv Helpdesk, which is the right path to have this issue investigated.
1
Categories
- All Categories
- 6 AHS
- 37 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 367 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 59 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛