Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Eikon Data APIs /
avatar image
Question by paul67 · Aug 18, 2020 at 02:02 PM · python eikonget_timeseriesvolatilityimplied volatilities timeseries

Swaption bp vol time series data retreival in python

In excel using the formula

=RHistory("GBP20YX20Y=ICAP",".Close;.Timestamp","START:01-Jan-2019 END:18-Aug-2020 INTERVAL:1D",,"TSREPEAT:NO CH:IN;Fd",H10)

does not retreive data back to presant day.

Equivalenty using python it returns the same data using the following:

df = ek.get_timeseries(['GBP20YX20Y=ICAP'],

start_date="2019-01-01",

end_date="2020-08-18")


I can solve the excel issue by adding additional parameters (answer supplied by Reuters helpdesk):

=RHistory("GBP20YX20Y=ICAP","BP_VOLT.Timestamp;BP_VOLT.Value","START:01-Jan-2019 END:18-Aug-2020 INTERVAL:1D",,"TSREPEAT:NO CH:IN;Fd",B2)


The question is how I change the python function to bring me back the equivaent of this?

These RICS are the 20Y20Y atm vol on ICAP broker screen

Any guidance would be most appreciated.



People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Reply

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by chavalit.jintamalit · Aug 18, 2020 at 02:27 PM

Hi @paul67

It is not possible to use Eikon Data API to retrieve different data view on timeseries.

Eikon Data API - get_timeseries() can only retrieve data from the instrument default view.


You may consider using RDP Library in CodeBook for now.

To launch CodeBook, please type in "CodeBook" on Eikon Search Bar and press enter or https://developers.refinitiv.com/article/use-eikon-data-api-or-rdp-library-python-codebook-web-browser

(RDP Library will be released soon to PyPi so you can use pip install to install it) https://pypi.org/project/refinitiv-dataplatform/

Here is the sample code using RDP Library and the data field is BPV_OCM_CA


ahs1.png (100.0 KiB)
ahs2.png (44.8 KiB)
Comment

People who like this

0 Show 1 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
REFINITIV
chavalit.jintamalit ♦♦ · Aug 19, 2020 at 05:02 AM 0
Share

FYI - RDP Library is released today (19th Aug 2020)

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
10 People are following this question.

Related Questions

Different data length between Rhistory and get_timeseries

EMA with variable period

Volatility Surfaces inputVolatilityType

Query on time-series 1 minute interval data limits

most robust.....get_timeseries or get_data for historic price series?

  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges