cURL
curl --request GET \ --url https://api.ekiden.fi/api/v1/position/list \ --header 'Authorization: Bearer <token>'
{ "list": [ { "adl_rank_indicator": "Zero", "avg_price": "<string>", "bust_price": "<string>", "created_time": "1672531200000", "cum_funding": "<string>", "is_reduce_only": true, "leverage": "<string>", "liq_price": "<string>", "margin_mode": "Cross", "mark_price": "<string>", "position_balance": "<string>", "position_im": "<string>", "position_im_by_mp": "<string>", "position_mm": "<string>", "position_mm_by_mp": "<string>", "position_status": "Normal", "position_value": "<string>", "realized_pnl_cum": "<string>", "realized_pnl_cur": "<string>", "risk_id": 1, "risk_limit_value": "<string>", "seq": 1, "side": "Sell", "size": "<string>", "sub_account_address": "<string>", "symbol": "BTCUSDC", "unrealized_funding": "<string>", "unrealized_pnl": "<string>", "updated_time": "1672531200000", "leverage_sys_updated_time": "1672531200000", "mmr_sys_update_time": "1672531200000", "stop_loss": "<string>", "take_profit": "<string>", "trailing_stop": "<string>" } ], "next_page_cursor": "<string>" }
Query real-time position data, such as position size, cumulative realized PNL, etc.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Trading vault address (subaccount) to query against.
"BTCUSDC"
x >= 0
Positions
Position info response.
Show child attributes
Cursor. Use the next_page_cursor token from the response to retrieve the next page of the data set