Api sub account trade aggregation request

ApiSubAccountTradeAggregationRequest

startTime are optional parameters. The semantics of these parameters are as follows:


    Name
    Lite
    Type Required
    Default
    Description
    limit
    l
    integer True Optional. The limit of the number of results to return
    interval
    i
    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
    is_maker
    im
    boolean True Filter on the maker of the trade
    is_taker
    it
    boolean True Filter on the taker of the trade
    cursor
    c
    string False
    ``
    The cursor to indicate when to start the next query from
    group_by_signer
    gb
    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