how can I get historical cds spread for a list of tickers? I am interested in 5 years maturity an...

Best Answer
-
Hi @paolo.piantadosi ,
you can first get the list of CDS for a given RIC, eg for Microsoft.
data, err = ek.get_data(['MSFT.OQ'],'TR.CDSPrimaryCDSRic')
dataAnd then (or If you have them already) you can use CDS RIC(s) and request spread prices. Example below shows PARMIDSPREAD for MSFT5YUSAX=R:
data, err = ek.get_data(['MSFT5YUSAX=R'],['TR.PARMIDSPREAD.date', 'TR.PARMIDSPREAD'],
{'SDate': '2016-01-01', 'EDate': '2021-12-31'})
dataFor more fields you can look at Data Item Browser(DIB) section of Workspace. See below a screenshot for available spreads:
Hope this helps!
0
Answers
-
@haykaz.aramyan thanks a lot for your help. I don’t know if I am in the wrong forum but I hoped that I can do those steps on the excel add-in because i am not a phyton user actually.
I really will appreciate if you know ho to do this in excel. Thanks.
0 -
@paolo.piantadosi, unfortunately, I can't assist re excel addin, this is a support forum for accessing Refinitiv data through APIs. For excel related questions I would advice opening a query via Helpdesk.
0 -
Hey @haykaz.aramyan,
I just had the same question and your answer seems pretty helpful. There is just one thing I do not understand. Where am I supposed to copy this lines of codes in ? In the example codes that are already provided by Refinitiv or do I have to start a new page ? I was looking for something like that. You can see my question in my profil maybe you could help me out with my problem as well. Because I am not looking for the historical data of a certain RIC I am rather looking for all the CDS´s that were traded during a specific time range.
Thanks in advance
0 -
@haykaz.aramyan, this is super helpful! I am trying to do something similar for sovereign bonds but have the problem that the RICs seem to change overtime. Do you know how I can identify the time series of RICs for a given country's sovereign CDS and then use that to get the spreads? Thanks!Hi0
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
- 615 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
- 249 ETA
- 554 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
- 643 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
- 192 TREP Infrastructure
- 228 TRKD
- 915 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 90 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛