Api sub account trade aggregation request
ApiSubAccountTradeAggregationRequest
startTime are optional parameters. The semantics of these parameters are as follows:
NameLite |
Type | RequiredDefault |
Description |
|---|---|---|---|
limitl |
integer | True | Optional. The limit of the number of results to return |
intervali |
SubAccountTradeInterval | True | The interval of each sub account trade |
sub_account_i_dssa |
[string] | True | The list of sub account ids to query |
start_intervalsi |
string | True | Optional. The starting time in unix nanoseconds of a specific interval to query |
start_timest |
string | False0 |
Optional. Start time in unix nanoseconds |
end_timeet |
string | Falsenow() |
Optional. End time in unix nanoseconds |
is_makerim |
boolean | True | Filter on the maker of the trade |
is_takerit |
boolean | True | Filter on the taker of the trade |
cursorc |
string | False `` |
The cursor to indicate when to start the next query from |
group_by_signergb |
boolean | True | Whether to group trades by signer per sub account |
SubAccountTradeInterval
| Value | Description |
|---|---|
SAT_1_MO = 1 |
1 month |
SAT_1_D = 2 |
1 day |
SAT_1_H = 3 |
1 hour |
SAT_4_H = 4 |
4 hour |