Get user trade history
Retrieve trade history for a specific user with optional filtering by market, order ID, side, and timestamp range. Returns executed trades with price, size, PnL, and fee details. Supports sorting by timestamp (default: descending) and pagination. Page size is capped at 200.
Authorizations
Bearer token from Geomi. See Authentication for setup instructions.
Query Parameters
User account address (user query alias is also accepted)
Filter by specific order ID (requires market to also be provided)
Filter by market address
Filter by side
Order side filter: buy (long) or sell (short).
For orders, maps to is_buy column. For trades/funding, maps to
action IN ('OpenLong','CloseShort') (buy) or action IN ('CloseLong','OpenShort') (sell).
buy, sell Page size
0 <= x <= 200Page offset
0 <= x <= 10000Sort key for history endpoints
timestamp ASC, DESC 
