Returns all positions for the user.
cURL
curl --request GET \ --url https://joyride.exchange/api/v1/account/positions
[ { "instrument_id": "SOL_USDC-28FEB26-150-C", "quantity": 1000, "avg_price": 1500000 } ]
Wallet address — primary user identification method
Device identifier — mobile fallback when x-wallet is not set
x-wallet
Wallet address — fallback if neither x-wallet nor x-device-id headers are 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