cURL
curl --request GET \ --url https://api.joyride.exchange/v1/account/positions
[ { "instrument_id": "SOL_USDC-28FEB26-150-C", "quantity": 1000, "avg_price": 1500000 } ]
Returns all positions for the user.
User identifier (takes precedence over user_id query param)
user_id
User identifier (fallback if x-device-id header is not set)
x-device-id
Array of positions
"SOL_USDC-28FEB26-150-C"
Net position in millicontracts (positive = long, negative = short)
1000
Volume-weighted average entry price (USDC micros)
1500000