Long response time for Composite Extraction Request

I am trying to make Composite Extraction Request for 1 instrument and 25 fields, but it takes 10-20s to get a response. Any ideas what could be the issue here?
var extractionsContext = new ExtractionsContext(new Uri("https://selectapi.datascope.refinitiv.com/RestApi/v1/"), "acc", "pw");
var extractionRequest = new CompositeExtractionRequest
{
IdentifierList = SubjectIdentifierList.CreateInstrumentIdentifierList(new[]
{
SubjectIdentifier.CreateInstrumentIdentifier(isin, IdentifierType.Isin, null, null, null, null)
}, null, false),
ContentFieldNames = new[] {
"Instrument ID",
"Instrument Full Name - ESMA",
"Asset Type",
"Currency Code",
"MIC",
"Market MIC",
"Price Quote Method Code",
"Maturity Date",
"Coupon Rate",
"Accrued Interest",
"First Coupon Date",
"Coupon Frequency Description",
"Previous Coupon Date",
"Next Pay Date",
"Day Count Code Description",
"Mid Price",
"Close Price",
"Bid Price",
"Ask Price",
"Mid Dirty Price",
"Bid Dirty Price",
"Ask Dirty Price",
"Mid Clean Price",
"Bid Clean Price",
"Ask Clean Price",
}
};
//Extract
var extraction = extractionsContext.ExtractWithNotes(extractionRequest);
var extractedRows = extraction.Contents;
Best Answer
-
I ran the same extraction request in Postman multiple times and found the elapsed times varied from 5 to 15 seconds. However, sometimes, the elapsed time is more than 20 seconds.
From this finding, the problem isn't specific to DSS .NET SDK.
It will be helpful if you can confirm that the long response time issue also happens in Postman. You can download the DSS REST Tutorials Postman collection from the Refinitiv Developer's Website.
Then, we need to contact the server team to confirm if this is expected behavior.
0
Answers
-
It may relate to the server load at that time. You can check the extraction note in extractionResult.Notes. It contains information about processing time.
"Extraction Services Version 16.0.43633 (806c08a4ae8f), Built May 9 2022 17:21:13\r\nProcessing started at 06/23/2022 03:21:31.\r\nUser ID: 9008895\r\nExtraction ID: 597793280\r\nCorrelation ID: CiD/9008895/Cr7IIg.081006b20bfdff07/RA/EXT.597793280\r\nSchedule: _OnD_0x081006b20c0dff07 (ID = 0x081006b213bdff07)\r\nInput List (5 items): _OnD_0x081006b20c0dff07 (ID = 081006b2124dff07) Created: 06/23/2022 03:21:30 Last Modified: 06/23/2022 03:21:30\r\nSchedule Time: 06/23/2022 03:21:30\r\nReport Template (13 fields): _OnD_0x081006b20c0dff07 (ID = 0x081006b20c1dff07) Created: 06/23/2022 03:21:30 Last Modified: 06/23/2022 03:21:30\r\n(CSP,438516AC0,EJV) is inactive.\r\nProcessing completed successfully at 06/23/2022 03:21:32, taking 1.24 Secs.\r\nExtraction finished at 06/23/2022 02:21:32 UTC, with servers: x03A05, QSDHA1 (0.0 secs), QSHC18 (0.2 secs)\r\nUsage Summary for User 9008895, Client 65508, Template Type Terms and Conditions\r\nBase Usage\r\n Instrument Instrument Terms Price\r\n Count Type Subtype Source Source\r\n------- ----------------------------------- ---------------------------- -------------- ----------------------------------------\r\n 1 Corporate Investment Grade N/A N/A\r\n 1 Corporate N/A N/A\r\n 1 Equities N/A N/A\r\n 2 Mutual Funds Lipper N/A\r\n-------\r\n 5 Total instruments charged.\r\n 0 Instruments with no reported data.\r\n=======\r\n 5 Instruments in the input list.\r\nWriting RIC maintenance report.\r\nTruncation Warning: Some values for Total Net Assets were truncated, (integer places = 12, largest integer width detected was 13).\r\n"Then, you can share this note with the Datascope Select support team by submitting a case via MyRefinitiv to verify if it is the expected behavior.
0 -
Thanks for the reply. We already asked the same question in MyRefinitv and they redirected us to here.
I extracted the note and the time taking is short. However when I measure the time between starting an extraction and getting the result, it always takes 10-20s. (see Run Time at the last line).
Extraction Services Version 16.0.43633 (806c08a4ae8f), Built May 9 2022 17:21:13 Holiday Rollover of Universal Close Price waived. Processing started at 2022-06-23 10:39:34. User ID: 9021211 Extraction ID: 597839329 Correlation ID: CiD/9021211/guPSwA.0810072fb62dff05/RA/EXT.597839329 Schedule: _OnD_0x0810072fb63dff05 (ID = 0x0810072fb8edff05) Input List (1 items): _OnD_0x0810072fb63dff05 (ID = 0810072fb66dff05) Created: 2022-06-23 10:39:32 Last Modified: 2022-06-23 10:39:33 Schedule Time: 2022-06-23 10:39:33 Report Template (31 fields): _OnD_0x0810072fb63dff05 (ID = 0x0810072fb64dff05) Created: 2022-06-23 10:39:32 Last Modified: 2022-06-23 10:39:32 Processing completed successfully at 2022-06-23 10:39:34, taking 0.381 Secs. Extraction finished at 2022-06-23 08:39:34 UTC, with servers: x16A05, QSDHA1 (0.0 secs), QSHC16 (0.1 secs) Usage Summary for User 9021211, Client 109241, Template Type Composite Base Usage Instrument Instrument Terms Price Count Type Subtype Source Source ------- ----------------------------------- ---------------------------- -------------- ---------------------------------------- 1 Equities N/A N/A ------- 1 Total instrument charged. 0 Instruments with no reported data. ======= 1 Instrument in the input list. No Evaluated Pricing Service complex usage to report -- 1 Instrument in the input list had no reported data. Writing RIC maintenance report.
Identifier,IdentType,Source,RIC,RecordDate,MaintType,OldValue,NewValue,Factor,FactorType
Run Time : 20.0536840 -
I just tried calling the API using Postman and the response time is similarly 10-20s. The example response below has a elapse time 24s:
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 687 Datastream
- 1.4K DSS
- 621 Eikon COM
- 5.2K Eikon Data APIs
- 11 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 4 Trading API
- 2.9K Elektron
- 1.4K EMA
- 254 ETA
- 557 WebSocket API
- 38 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
- 276 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.9K Refinitiv Data Platform
- 669 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
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 193 TREP Infrastructure
- 229 TRKD
- 917 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 90 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 48 中文论坛