Aggregate trade

Get Aggregate trade list

GET https://satangcorp.com/api/v3/aggTrades

Query Parameters

NameTypeDescription

symbol

string

A pair symbol, such as 'btc_thb', 'eth_thb'

fromId

number

ID to get aggregate trades from.

startTime

number

Timestamp in ms to get aggregate trades from.

endTime

number

Timestamp in ms to get aggregate trades until.

limit

number

Maximum number of results (default 500, max 1000)

[
    {
        "a": 1355465,            // Aggregate tradeId
        "p": "303175.34365608",  // Price
        "q": "0.00076406",       // Quantity
        "f": 1355465,            // First tradeId
        "l": 1355465,            // Last tradeId
        "T": 1591781497199,      // Timestamp
        "m": true,               // Was the buyer the maker?
        "M": true                // Was the trade the best price match?
    }
]

Last updated