Get recent trades
This endpoint allows users to get recent trades for a specific market.
Query Parameters
Field
Type
Need
Description
Example
"symbol"
string
required
Trading pair symbol
BTC
Response
Status 200: Successfully retrieved recent trades
Field
Type
Description
'event_type'
string
"fulfill_taker"
if maker
"fulfill_maker"
if taker
'side'
string
"open_long"
"open_short"
"close_long"
"close_short"
'cause'
string
"normal"
regular user-initiated trading
"market_liquidation"
position was liquidated due to insufficient margin
"backstop_liquidation"
position was liquidated by backstop mechanism
"settlement"
position was closed due to Auto-Deleveraging (ADL) or other settlement
Status 400: Invalid request parameters
Status 401: Unauthorized access
Status 500: Internal server error
Code Example (Python)
Last updated