Hi,
We have a huge amount of data for business activity (~12Gbytes per operating day) as a result of the request made to the API for retrieving market depth data. Because of our operational requirements, only a fraction of this data is ingested from our solution...
For the reason above, we'd like to find a way to reduce, at time of requesting data to TRTH API, the amount of data to be downloaded to our side, by providing additional settings to the related report template.
Given a market-depth data-extraction excerpt like the shown below:
#RIC,Domain,Date-Time,GMT Offset,Type,L1-BidPrice,L1-BidSize,L1-AskPrice,L1-AskSize
0168.HK,Market Price,2021-11-01T01:00:00.196001016Z,+8,Normalized LL2,72.35,6000,,
0168.HK,Market Price,2021-11-01T01:00:01.096821494Z,+8,Normalized LL2,72.35,6000,72.5,4000
0168.HK,Market Price,2021-11-01T01:00:02.275997723Z,+8,Normalized LL2,70.5,6000,70.5,80000
0168.HK,Market Price,2021-11-01T01:00:03.212531962Z,+8,Normalized LL2,70.5,6000,70.5,82000
0168.HK,Market Price,2021-11-01T01:00:14.711980183Z,+8,Normalized LL2,70.5,6000,70.5,84000
0168.HK,Market Price,2021-11-01T01:00:21.855970063Z,+8,Normalized LL2,70,6000,70,10000
0168.HK,Market Price,2021-11-01T01:00:39.672243794Z,+8,Normalized LL2,70,6000,70,12000
0168.HK,Market Price,2021-11-01T01:00:50.875939973Z,+8,Normalized LL2,70,6000,70,14000
0168.HK,Market Price,2021-11-01T01:02:13.739948591Z,+8,Normalized LL2,69.9,6000,69.9,12000
0168.HK,Market Price,2021-11-01T01:03:14.711980183Z,+8,Normalized LL2,70.5,6000,70.5,84000
Is there a way to select records by a given time interval (e.g., extract only first record separated from each other by 2 minutes)?
#RIC,Domain,Date-Time,GMT Offset,Type,L1-BidPrice,L1-BidSize,L1-AskPrice,L1-AskSize
0168.HK,Market Price,2021-11-01T01:00:00.196001016Z,+8,Normalized LL2,72.35,6000,,
0168.HK,Market Price,2021-11-01T01:02:13.739948591Z,+8,Normalized LL2,69.9,6000,69.9,12000
0168.HK,Market Price,2021-11-01T01:03:14.711980183Z,+8,Normalized LL2,70.5,6000,70.5,84000
The expected behaviour looks like quite similar to the one found in the Intraday data-extraction template, where the parameter intradayType (in this case, as far as I remember, only pre-defined values -e.g. "Intraday 5min"- are allowed...)
..."endDate":"2021-11-01", "endTime":"23:59:59", "fromDate":"2021-11-01", "fromTime":"00:00:00", "intradayType":"Intraday 5Min"...
Thanks, in advance, for your help
Regards