Skip to main content

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-info

Request Parameters

None

Response Parameters

ParameterTypeComments
resultarray<object>Asset P&L info list
> coinstringCoin name
> totalDeltastringTotal delta. Only includes delta from option positions
> totalRPLstringTotal realised P&L
> totalUPLstringTotal unrealised P&L
> assetIMstringAsset initial margin. Includes IM occupied by option open orders
> assetMMstringAsset maintenance margin. Includes MM occupied by option open orders
> sendTimenumberSnapshot timestamp (ms)

Request Example

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
}