Get Trades
Retrieve all trades under exchange client
GET
https://api.ajaib.co.id/coin/internal/v1/trades
Functionality: Retrieves all trades belonging to the exchange client's trading account. No sub-accounts yet.
Authentication: Required
Request Param
symbol
string
from_trade_id
long
trade_id
to fetch from. Returns the most recent trades by default. (exclusive)
limit
int
default 100, max 1000
Response Body
symbol
string
order_id
long
Unique identifier generated by Ajaib exchange for all orders submitted successfully
order_side
string
trade_id
long
Unique identifier generated by Ajaib exchange for all trades generated or matched
price
decimal
Price of trade / match execution.
quantity
decimal
Quantity of trade / match execution.
timestamp
long
Timestamp of when trade is generated or match execution. Using UTC timezone in unix epoch
is_maker
boolean
Flag whether trade is classified under maker or taker
is_self_trade
boolean
Flag whether trade is tagged or identified as self trading or not
Last updated