Query Parameters
The lower time boundary represented as milliseconds since epoch
The upper time boundary represented as milliseconds since epoch
The segment duration represented as milliseconds. Supported values are 1 minute (60000), 5 minutes (300000), 15 minutes (900000), 1 hour (3600000), 1 day (86400000) and 1 week (604800000)
Segments can be offset using this parameter. Expressed in milliseconds. Can only be used if the resolution is greater than 1 hour. Value must be in whole hours, less than the provided resolution, and less than 24 hours
The type for the base asset. Either 'native', 'credit_alphanum4', or 'credit_alphanum12'
The Stellar address of the issuer of the base asset. Required if the base_asset_type is not 'native'
The code for the base asset. Required if the base_asset_type is not 'native'
The type for the counter asset. Either 'native', 'credit_alphanum4', or 'credit_alphanum12'
The Stellar address of the issuer of the counter asset. Required if the counter_asset_type is not 'native'
The code for the counter asset. Required if the counter_asset_type is not 'native'
The order of the returned data. The possible value includes ascending and descending order
The maximum number of records to return
Returns
The links related to the trade aggregation data
The self-reference link
The URL for self-reference
Link to the next set of data
The URL for next set of data
Link to the previous set of data
The URL for previous set of data
The embedded trade aggregation records
An array of trade aggregation records
The start time for this trade aggregation
The total number of trades aggregated
The total volume of the base asset traded
The total volume of the counter asset traded
The average price for this time period
The highest price for this time period
The highest price as a rational number
The numerator
The denominator
The lowest price for this time period
The lowest price as a rational number
The numerator
The denominator
The opening price for this time period
The opening price as a rational number
The numerator
The denominator
The closing price for this time period
The closing price as a rational number
The numerator
The denominator