question

Upvotes
Accepted
1 1 0 1

Is this an RDP equivalent of AdFxSwpToSwp

Is this endpoint (and data ["FxSwapsCcy1", "FxSwapsCcy2", "FxSwapsCcy1Ccy2", "FxOutrightCcy1Ccy2"]) the same as AdFxSwpToSwp in Excel?

https://api.refinitiv.com/data/quantitative-analytics/v1/financial-contracts

{

"fields": [

"FxSwapsCcy1",

"FxSwapsCcy2",

"FxSwapsCcy1Ccy2",

"FxOutrightCcy1Ccy2"

],

"universe":[

{

"instrumentDefinition": {

"instrumentTag": "00102700008910C",

"fxCrossType": "FxForward",

"fxCrossCode": "AUDUSD",

"legs": [

{

"startDate":"2021-01-29T00:00:00Z",

"endDate":"2021-02-01T00:00:00Z"

}

]

},

"pricingParameters": {

"valuationDate": "2020-12-31T00:00:00Z",

"priceSide": "Mid"

},

"instrumentType": "FxCross"

}

],

"outputs": [

"Data",

"Headers"

]

}

rdp-apirefinitiv-data-platform
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
Accepted
3.8k 4 4 6

Hi @PuayKai.Poh

Yes, you can get the same results using this endpoint.

You can compare that with the desktop calculator Swap Points and Outrights (SPO) that is using the same methodology as AdFxSwpToSwp (). Please note that you calculate it via mid values.

Endpoint output

SPO (same as Adfin)


ahs2.jpg (18.6 KiB)
ahs1.jpg (161.8 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.

Upvotes
1 1 0 1
@marcin.bunkowski May we know Refinitiv's formula for calculating "FxOutrightCcy1Ccy2" for quarterend (they seem to be different to monthend)?
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
3.8k 4 4 6

Hi @PuayKai.Poh I see that you are already in contact with the Analytics support where you will get the answer for your query.

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.

Click below to post an Idea Post Idea