For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
3 0 0 0

how to get Value Dates for certain markets

Is there a method using python api to get Value Dates for a certain market ex: FX, IRS, etc.

Similar to exiting web interface https://dxtra.markets.reuters.com/dx/dxnrequest.aspx?RequestName=ReqCi&RequestType=ValueDates


Thanks

eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpython
icon clock
10 |1500

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

Upvote
Accepted
39.2k 75 11 27

@VSIDOR

If you only need maturity date for instruments with the trade date of today, then you can get it from market data record using Eikon Data APIs, e.g. for 3 month GBPCHF forward use

ek.get_data('GBPCHF3M=','MATUR_DATE')

For 10Y USD semi-annual bond vs. 3 month LIBOR swap use

ek.get_data('USDSB3L10Y=','MATUR_DATE')

If you need to calculate the maturity date for an instrument with an arbitrary trade date, you can use Instrument Pricing Analytics service on Refinitiv Data Platform. Or you could use AdfinX Analytics COM library to perform such calculation, although using AdfinX Analytics COM library in Python is a but cumbersome and only possible in 32-bit Python. To see what's involved check out the article titled "Using AdfinX Analytics in Python".

icon clock
10 |1500

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

Upvotes
18k 21 12 20

Hi @VSIDOR

This is an example to get timeseries data for JPY=

Please review the quick start at https://developers.refinitiv.com/en/api-catalog/eikon/eikon-data-api/quick-start


ahs.png (32.5 KiB)
icon clock
10 |1500

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

Thanks, this doesn't answer the question. For a certain tenor ex: 10y what is the value date for certain market (taking into account holidays, weekends etc)

Hi @VSIDOR

I do not understand the content(tenor ex: 10y) in your question.

I suggest that you contact the Refinitiv Content Helpdesk to demonstrate how to retrieve the same information using =TR function in Eikon Excel.

Then you can replicate the same using get_data() function on Python with the same instrument codes and field names.


Click below to post an Idea Post Idea