TradeAggregationResponse class

Represents a trade aggregation response from horizon server. A trade aggregation represents aggregated statistics on an asset pair (base and counter) for a specific time period. Trade aggregations are useful to developers of trading clients and provide historical trade data. See: Trade aggregations

Inheritance

Constructors

TradeAggregationResponse(String timestamp, String tradeCount, String baseVolume, String counterVolume, String avg, String high, String low, String open, String close)
TradeAggregationResponse.fromJson(Map<String, dynamic> json)
factory

Properties

avg String
getter/setter pair
baseVolume String
getter/setter pair
close String
getter/setter pair
counterVolume String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
high String
getter/setter pair
low String
getter/setter pair
open String
getter/setter pair
rateLimitLimit int?
getter/setter pairinherited
rateLimitRemaining int?
getter/setter pairinherited
rateLimitReset int?
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timestamp String
getter/setter pair
tradeCount String
getter/setter pair

Methods

getDate() DateTime
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setHeaders(Map<String, String> headers) → void
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited