question

Upvotes
Accepted
1 1 2 5

How is default start date determined for FxForward request?

We have users requesting fxSpot values using today's date as the end/maturity date. Typical request looks like this:

{

"instrumentDefinition": {

"fxCrossType": "FxForward",

"fxCrossCode": "USDMYR",

"legs": [

{

"endDate": "2020-06-17T00:00:00"

}

]

},

"instrumentType": "FxCross"

}


We are seeing this error: The calculated EndDate : 06/17/2020 cannot be prior to the StartDate : 06/19/2020, please modify the input dates or tenors accordingly.

It looks like the default startDate is always the non-USD currency's local time + 1 day. Is that correct? Does it make sense to provide a startDate?

Thanks.

Adam

rdp-apirefinitiv-data-platformforex
icon clock
10 |1500

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

Upvotes
Accepted
83 1 1 2

Hello Adam,

by default the startDate of the Forward will be Spot and will be computed from the valuationDate which by default is today. In your example the calculated startDate is 19th . if you want to compute an Overnight rate, I suggest that you define directly the startDate in your leg.


{

"instrumentDefinition": {

"fxCrossType": "FxForward",

"fxCrossCode": "USDMYR",

"legs": [

{

"startDate':"2020-06-16T00:00:00",

"endDate": "2020-06-17T00:00:00"

}

]

},

"instrumentType": "FxCross"

}


Alternatively you can define a valuationDate in the past.


I hope this helps

Samuel

icon clock
10 |1500

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

Upvotes
18.1k 21 13 21

Hi @adam_strakna

What API you are using?

icon clock
10 |1500

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

Hi @adam_strakna

I moved the question to "Refinitiv Data Platform" forum.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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