Ask about zero_curves and forward_curves API when send request and got retry message
I would like to know the root cause when I send a request to these API and sometimes it's got the message something like " rdp_requester.py - n time retry. wait for x sec. " I wonder why this message appears and how can I avoid it?
Best Answer
-
Looking at the logs you submitted, it appears the IPA service is complaining about too many concurrent requests. Was this the error you were referring to in your original post? Using the same code, have you tried to limit the request load/frequency to see if it helps?
0
Answers
-
Please provide examples of which APIs you are calling?
If the above .py can be shared, please rename and attach it as a .txt file - after removing any credentials such as username, password etc.
0 -
I just ran my example Article.RDPLibrary.Python.ZeroCouponCurves which uses both the above API endpoints and I did not experience any retry errors.
I also converted the main Jupyter Notebook to a .py file (removed the charts etc) and ran that from the command line and again I do not see the above issue.
Is this all zc-curve/forward curve request that gives you the retry error - or just some specific complex ones?
0 -
Are you suggesting when you go to these API pages and try to get the data, you see these errors? Or are you using an example application that uses these APIs? If so, what application are you using? Or did you attempt to create an applications that uses these APIs?
0 -
Hi @umer.nalla
I have found this error in a specific complex situation in my app on SELF PPE, I have the 15 curves/payload and I send 2 requests by using a concurrent method (asyncio) by this case sometimes I got an error as I said in the beginning here below is the log that i found an error
0 -
Thanks for providing the additional information that you are using concurrency -this now puts the problem into context.
If you are able to share a code snippet showing exactly what you are doing - you don't have to necessarily include the full curve request definition, but the concurrency related code would be useful to understand what you are doing.
0 -
Hi @umer.nalla
here is my sample of the code that I used concurrency I combine 15 curves in payload and send it to the endpoint sometimes it just appears the error message0 -
I am not familiar with RdpRequester - is that your own code?
0 -
Is there a reason why you are using ppe endpoints? Have you tried using the async version of the financial-contracts endpoints?
0 -
Yeah it's my own code the reason I using ppe endpoints is curves on the production is not ready yet so I need to use ppe. I also ask on the qps team about the limitation of API it seems like I can send 1 request/sec. Thanks for your all help
0 -
Yes it seems working! thanks for your help
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 37 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 697 Datastream
- 1.5K DSS
- 632 Eikon COM
- 5.2K Eikon Data APIs
- 12 Electronic Trading
- 1 Generic FIX
- 7 Local Bank Node API
- 4 Trading API
- 2.9K Elektron
- 1.4K EMA
- 256 ETA
- 563 WebSocket API
- 39 FX Venues
- 15 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 25 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 281 Open PermID
- 46 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 23 RDMS
- 2K Refinitiv Data Platform
- 750 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
- 27 DACS Station
- 122 Open DACS
- 1.1K RFA
- 107 UPA
- 194 TREP Infrastructure
- 229 TRKD
- 918 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 96 Workspace SDK
- 11 Element Framework
- 5 Grid
- 19 World-Check Data File
- 1 Yield Book Analytics
- 48 中文论坛