get https://{network-stellar}.gateway.tatum.io/trade_aggregations
This endpoint displays trade data based on filters set in the arguments.
This is done by dividing a given time range into segments and aggregating statistics, for a given asset pair (base, counter) over each of these segments.
The duration of the segments is specified with the resolution
parameter. The start and end of the time range are given by startTime
and endTime
respectively, which are both rounded to the nearest multiple of resolution
since epoch.
The individual segments are also aligned with multiples of resolution
since epoch. If you want to change this alignment, the segments can be offset
by specifying the offset parameter.