why is a simple retrieval taking so long?
i have a script that I use for other chains (like vix futures) and it takes a couple of minutes to run. I've now been waiting 2 hours for this... why does it take so long?
I just want minute bars for SPX futures for a few months...
{
"ExtractionRequest": {
"@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.TickHistoryIntradaySummariesExtractionRequest",
"ContentFieldNames": [
"Open",# "Open Ask", "Open Bid",
"High",# "High Ask", "High Bid",
"Low",# "Low Ask", "Low Bid",
"Last", "Close Ask", "Close Bid",
"Volume"
],
"IdentifierList": {
"@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.InstrumentIdentifierList",
"InstrumentIdentifiers": [
#{"Identifier": ".SPX", "IdentifierType": "Ric"},
{"Identifier": "0#ES:", "IdentifierType": "ChainRIC"}
#{"Identifier": "0#VX:", "IdentifierType": "ChainRIC"}
],
"ValidationOptions": {"AllowHistoricalInstruments": "true"},
"UseUserPreferencesForValidationOptions": "false"
},
"Condition": {
"MessageTimeStampIn": "GmtUtc",
"ReportDateRangeType": "Range",
"QueryStartDate": "2021-02-01T00:00:00.000Z",
"QueryEndDate": "2021-06-01T23:59:00.000Z",
"SummaryInterval": "OneMinute", # "FifteenMinutes" # OneSecond # OneMinute
"DisplaySourceRIC": "true"
}
}
}
Best Answer
-
Hello @opsp,
Absolutely, glad to share my thoughts. RTH HTTP REST on demand, custom report requesting is primarily intended as a light way of requesting RTH content.
As you are looking to request 100s of chains and a decade or more of data, I would consider design and product options:
- The first approach I would consider, is Venue By Day or VBD. This will allow you to request a a complete exchange day's worth of data, compacted by zip and next select what you require from it, for details see:
Data Dictionary - Refinitiv Tick History Venue By Day Message Reporting and REST API Tutorial 2: Retrieving VBD files.
VBD is an additional product.
- If the content is required to run large-scale calculations on it, I would consider taking Google Big Query approach, and not pulling it down, rather running query in cloud and only obtaining the results. This is also a different product.
- If you are looking to stay with custom reporting, I would split interval into days, and use scheduled approach, while scheduling in the off-hours.
- For Tick History Intraday Summary custom report, direct download from AWS is supported, please see REFINITIV TICK HISTORY REST API USER GUIDE -> Downloading Files Faster via Direct Download From Amazon Web Services for X-Direct-Download: true description.
Hope this information helps
0
Answers
-
it's still running....should I kill it? how long should it take? (approx)
0 -
Hello @opsp,
From what I see, this is a very large request. So would expect it to take long.
Have you tried requesting OneMinute bars, on the same chain RIC, for 1 day interval of time?
In a general scenario, if a request is taking unreasonably long time all of a sudden, especially if the same request takes a short time otherwise, I would suggest verifying with My Refinitiv -> Service Alerts section, to know of any potential outage that could be impacting your request at the time.
Hope this information helps
0 -
it's 3MB of sensibly encoded data... how can this be classed as a big request? I can almost fit it on a floppy disk....
it's just minute bars for SPX futures for just a few months... this was the small one.
I'm planning to download a decade or more of it and for 100s more root stems. why does it take such a long time for such a small amount of data?
should I expect it to really take weeks to download all that data? can you help me find optimizations or performance improvements?
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
- 690 Datastream
- 1.4K DSS
- 629 Eikon COM
- 5.2K Eikon Data APIs
- 11 Electronic Trading
- 1 Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 255 ETA
- 559 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
- 279 Open PermID
- 45 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 23 RDMS
- 2K Refinitiv Data Platform
- 716 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
- 106 UPA
- 194 TREP Infrastructure
- 229 TRKD
- 918 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 95 Workspace SDK
- 11 Element Framework
- 5 Grid
- 19 World-Check Data File
- 1 Yield Book Analytics
- 48 中文论坛