Position
Get Position Info
Changed onQuery real-time position data, such as position size, cumulative realized PNL, etc.
get/api/v1/position/list
Request
- Base URLhttps://api.ekiden.fi
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
sub_account_addressstring required
Trading vault address (subaccount) to query against.
symbolstring
Example:BTC-USDCx
limitinteger nullable
cursorstring nullable
Response
Positions
Example response
{
"list": [
{
"created_time": "1672531200000",
"leverage_sys_updated_time": "1672531200000",
"mmr_sys_update_time": "1672531200000",
"symbol": "BTC-USDCx",
"updated_time": "1672531200000"
}
]
}Changes
- info
endpoint added
- info