Api sub account trade request
ApiSubAccountTradeRequest
startTime are optional parameters. The semantics of these parameters are as follows:
Name
Lite |
Type |
Required
Default |
Description |
instrument
i |
string |
True |
The readable instrument name:- Perpetual:
ETH_USDT_Perp - Future:
BTC_USDT_Fut_20Oct23 - Call:
ETH_USDT_Call_20Oct23_2800 - Put:
ETH_USDT_Put_20Oct23_2800
|
interval
i1 |
SubAccountTradeInterval |
True |
The interval of each sub account trade |
sub_account_i_ds
sa |
[string] |
True |
The list of sub account ids to query |
start_interval
si |
string |
True |
Optional. The starting time in unix nanoseconds of a specific interval to query |
start_time
st |
string |
False
0 |
Optional. Start time in unix nanoseconds |
end_time
et |
string |
False
now() |
Optional. End time in unix nanoseconds |
SubAccountTradeInterval
| Value |
Description |
SAT_1_MO = 1 |
1 month |
SAT_1_D = 2 |
1 day |