Stellar v0.3.0 Stellar.TradeAggregations View Source
Functions for interacting with TradeAggregations
Link to this section Summary
Functions
Returns trade aggregations meeting the given parameters
Link to this section Functions
all(Stellar.asset_type(), Stellar.asset_type(), Keyword.t()) :: {Stellar.status(), map()}
Returns trade aggregations meeting the given parameters
optional params
can take any of the following:
start_time
: lower time boundary represented as millis since epoch.end_time
: upper time boundary represented as millis since epochresolution
: segment duration as millis since epoch. Supported values are 5 minutes (300000), 15 minutes (900000), 1 hour (3600000), 1 day (86400000) and 1 week (604800000).base_asset_code
: Code of base asset, not required if type isnative
base_asset_issuer
: Issuer of base asset, not required if type isnative
counter_asset_code
: Code of counter asset, not required if type isnative
counter_asset_issuer
: Issuer of counter asset, not required if type isnative
order
: The order in which to return rows, “asc” or “desc”.limit
: Maximum number of records to return.