IPA Financial Contracts for Fx Cross api - error responses

I am using the IPA Financial Contracts for Fx Cross api to resolve Fx prices.
I have made the same request (see payload below) several times over a period of 2-3 hours. Sometimes I receive an error response, sometimes I get a successful response.
The error response was: QPS-Pricer.8020:Market data: No Fx Spot Point available. Fx Spot is N/A for the cross code 'GBPUSD'.
Do you know what this message means and why I might get it periodically?
I am testing the system with many requests (in the region of 3000 fx prices).
The payload is this:
{
"instrumentDefinition": {
"fxCrossCode": "USDGBP",
"fxCrossType": "FxForward",
"instrumentTag": "12908240928_USDGBP",
"legs": [
{
"fxLegType": "FxForward",
"endDate": "2024-03-05"
}
]
},
"instrumentType": "FxCross",
"pricingParameters": {
"isIntraday": true,
"priceSide": "Ask",
"valuationDate": "2023-12-15T16:17:01"
}
}
Many Thanks...
Best Answer
-
Hello @david.p.newman ,
It seems the Fx spot USDGBP was not found during the pricing.
Next time please Add ErrorMessage in the request fields we will get more details about the error.
Also, if you have the request id we can look into the logs:
{ "outputs": [ "Headers", "Data", "Statuses" ], "fields": [ "FxSpot", "ErrorCode", "ErrorMessage" ], "universe": [ { "instrumentDefinition": { "fxCrossCode": "USDGBP", "fxCrossType": "FxForward", "instrumentTag": "12908240928_USDGBP", "legs": [ { "fxLegType": "FxForward", "endDate": "2024-03-05" } ] }, "instrumentType": "FxCross", "pricingParameters": { "isIntraday": true, "priceSide": "Ask", "valuationDate": "2023-12-15T16:17:01" } } ] }
0
Answers
-
Okay, thanks for the info. I will start tracking the request id from now on so we can get better information about what went wrong.
I didn't make it clear in my initial message that I was including the "ErrorMessage" in the request fields. The code and the message were as per my initial message.
The error code and message:
QPS-Pricer.8020: Market data: No Fx Spot Point available. Fx Spot is N/A for the cross code 'GBPUSD'.
Here is the full payload:{
"fields": [
"InstrumentTag",
"ValuationDate",
"InstrumentDescription",
"FxOutrightCcy1Ccy2",
"ErrorCode",
"ErrorMessage",
"FxCrossScalingFactor",
"FxSpot",
"FxCrossType"
],
"outputs": [
"Data",
"Headers"
],
"universe": [
{
"instrumentDefinition": {
"fxCrossCode": "USDGBP",
"fxCrossType": "FxForward",
"instrumentTag": "12908240928_USDGBP",
"legs": [
{
"fxLegType": "FxForward",
"endDate": "2024-03-05"
}
]
},
"instrumentType": "FxCross",
"pricingParameters": {
"isIntraday": true,
"priceSide": "Ask",
"valuationDate": "2023-12-15T16:17:01"
}
}
]
}0 -
Hi, you referred to the request id in your message. Is this the http header "x-tr-requestid"? There is also an operationid on the async api (i.e. specified in the location header). Is this useful for analysing issues with your team also? Which is best? Many Thanks.
0 -
Just noticed that in the async method the "operationid" is the same as the "requestid" in the initiating request. We will look to capture that and get back to you. Thanks.
0
Categories
- All Categories
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 33 Data Model Discovery
- 682 Datastream
- 1.4K DSS
- 613 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
- 248 ETA
- 552 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.8K Refinitiv Data Platform
- 625 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
- 191 TREP Infrastructure
- 228 TRKD
- 915 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 83 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛