Get Option Asset Info
Query the option asset profit and loss information for each coin under the account.
HTTP Request
GET/v5/account/option-asset-infoRequest Parameters
None
Response Parameters
| Parameter | Type | Comments |
|---|---|---|
| result | array<object> | Asset P&L info list |
| > coin | string | Coin name |
| > totalDelta | string | Total delta. Only includes delta from option positions |
| > totalRPL | string | Total realised P&L |
| > totalUPL | string | Total unrealised P&L |
| > assetIM | string | Asset initial margin. Includes IM occupied by option open orders |
| > assetMM | string | Asset maintenance margin. Includes MM occupied by option open orders |
| > sendTime | number | Snapshot timestamp (ms) |
Request Example
- HTTP
- Python
- Node.js
GET /v5/account/option-asset-info HTTP/1.1
Host: api.bybit.com
X-BAPI-SIGN: XXXXXX
X-BAPI-API-KEY: xxxxxxxxxxxxxxxxxx
X-BAPI-TIMESTAMP: 1773230920000
X-BAPI-RECV-WINDOW: 5000
Response Example
{
"retCode": 0,
"retMsg": "Success",
"result": {
"result": [
{
"totalDelta": "0.0118",
"assetIM": "0.0000",
"totalUPL": "-47.6318",
"totalRPL": "-0.2790",
"assetMM": "0.0000",
"coin": "BTC",
"sendTime": 1773230923530
}
]
},
"retExtInfo": {},
"time": 1773230923533
}