Mark Price
mark_priceOKX crypto exchange mark price for derivatives: pass instType (e.g. 'SWAP') and optionally uly or instId. Returns the mark price used for unrealised P&L and liquidation calculations.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"instType": "FUTURES"
},
"name": "mark_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uly | No | ||
| instId | No | ||
| instType | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||