question

Upvotes
Accepted
9 5 4 5

How to set time range for Time Series request on Web SDK?

Is it possible to set a time range for the time series request? I saw from the jet-plugin-timeseries.js source code that there are "to" & "from" params in the request, but it is not working.

Is there any corresponding param or a guideline/whitepaper for JET time series plugin? I can't find much details on time series example except "Getting started" on the demo page....

eikontime-serieseikon-app-studioparameters
icon clock
10 |1500

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

Upvotes
Accepted
4.6k 26 7 22

You need to set the timeframe using a correct date time format, for instance:

"from": "2016-02-23T00:00:00.000",

"to": "2017-01-03T00:00:00.000",

icon clock
10 |1500

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

Upvotes
1 0 0 0

from and to fields use date-time format. The sample request for JET time series is something like

{ "ric": "IBM.N", "timeZone": "Instrument", "intervalType":"Weekly", "intervalLength": 1, "adjustedPrice": true, "from": "2010-01-01T00:00:00Z", "to":"2012-01-01T00:00:00Z" }

You can find JET time series request schema in this doc.

https://thehub.thomsonreuters.com/docs/DOC-1586377

Hope it answers your question.

icon clock
10 |1500

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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