Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • DSS /
avatar image
Question by vikas.khurana · Mar 26, 2019 at 03:56 PM · timeseriesdatascope select

PriceHistoryExtractionRequest vs TimeSeriesExtractionRequest

It seems from the documentation that I should use the PriceHistoryExtractionRequest over the TimeSeriesExtractionRequest but I don't see any examples for it. Is that the case? Are there any significant differences I should be aware of?

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Reply

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by Ramprasad.Kumaralu.J · Mar 27, 2019 at 03:05 AM
POST https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/ExtractWithNotes HTTP/1.1 Authorization: Token <your_auth_token_goes_here> Prefer: respond-async Content-Type: application/json; odata=minimalmetadata { "ExtractionRequest": { "@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.PriceHistoryExtractionRequest", "ContentFieldNames": [ "Ask High", "Ask Low", "Bid High", "Bid Low", "Trade Date" ], "IdentifierList": { "@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.InstrumentIdentifierList", "InstrumentIdentifiers": [ { "Identifier": "TRI.N", "IdentifierType": "Ric" } ], "ValidationOptions": null, "UseUserPreferencesForValidationOptions": false }, "Condition": { "QueryStartDate": "2015-12-01T00:00:00.000Z", "QueryEndDate": "2015-12-02T00:00:00.000Z" } } } 
Response
HTTP/1.1 200 OK { "@odata.context": "https://hosted.datascopeapi.reuters.com/RestApi/v1/$metadata#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.ExtractionResult", "Contents": [ { "IdentifierType": "Ric", "Identifier": "TRI.N", "Ask High": null, "Ask Low": null, "Bid High": null, "Bid Low": null, "Trade Date": "2015-12-01" }, { "IdentifierType": "Ric", "Identifier": "TRI.N", "Ask High": null, "Ask Low": null, "Bid High": null, "Bid Low": null, "Trade Date": "2015-12-02" } ], "Notes": [ "Extraction Services Version 12.0.38496 (4b10cc09ac17), Built Mar 9 2018 22:12:54\r\n Processing started at 03/12/2018 PM 08:17:56.\r\n User ID: 20058\r\n Extraction ID: 2000000001130828\r\n Schedule: 0x0618fef979084050 (ID = 0x0000000000000000)\r\n Input List (1 items): (ID = 0x0618fef979084050) Created: 03/12/2018 PM 08:17:56 Last Modified: 03/12/2018 PM 08:17:56\r\n Report Template (11 fields): _OnD_0x0618fef979084050 (ID = 0x0618fef99b684050) Created: 03/12/2018 PM 08:17:52 Last Modified: 03/12/2018 PM 08:17:52\r\n Schedule dispatched via message queue (0x0618fef979084050)\r\n Schedule Time: 03/12/2018 PM 08:17:54\r\n Timeseries Date Range: 12/01/2015 to 12/02/2015\r\n Processing completed successfully at 03/12/2018 PM 08:18:07, taking 10.871 Secs.\r\n Extraction finished at 03/12/2018 PM 08:18:07 UTC, with servers: x04q11, ETS (10.4 secs), QSDEV1 (0.0 secs), QSSDB2 (0.0 secs)\r\n Usage Summary for User 20058, Client 11286, Template Type Price History\r\n \r\n Base Usage\r\n Instrument Instrument Terms Price\r\n Count Type Subtype Source Source\r\n ------- ----------------------------------- ---------------------------- -------------- ----------------------------------------\r\n 1 Equities N/A N/A\r\n -------\r\n 1 Total instrument charged.\r\n 0 Instruments with no reported data.\r\n =======\r\n 1 Instrument in the input list.\r\n No TRPS complex usage to report -- 1 Instrument in the input list had no reported data.\r\n Writing RIC maintenance report.\r\n" ] }

@vikas.khurana, yes, please use PriceHistroryExtracion request over TimeseriesExtractionRequest because price history has more data points than TimeseriesTemplate. Also eventually, timeseries will become legacy An example is available in API Reference Tree-->Extractions-->on Demand Extractions--> ExtractionWithNotes

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
12 People are following this question.

Related Questions

how far DataScope goes in terms of Time Series?

Retrieving upcoming earnings events, AGMs

I am having an issue regarding extracting Market depth prices.

historical bond prices via DSS Python (REST) API

Got null response with 200

  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges