Position
Get Closed PnL
Changed onQuery user's closed profit and loss records
get/api/v1/position/closed-pnl
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
symbolstring
Example:BTC-USDCx
start_timestring date-time nullable
end_timestring date-time nullable
limitinteger nullable
cursorstring nullable
Response
Closed PnL
Example response
{
"list": [
{
"created_time": "1672531200000",
"symbol": "BTC-USDCx",
"updated_time": "1672531200000"
}
]
}Changes
- info
endpoint added
- info