Skip to main content

Get Pre-upgrade Delivery Record

Query delivery records of Options before you upgraded the account to a Unified account, sorted by deliveryTime in descending order

  • UTA2.0:
    By category=option, you can query Options delivery data occurred during classic account

  • UTA1.0:
    By category=option, you can query Options delivery data occurred during classic account

info

Supports the recent 6 months Options delivery data. Please download older data via GUI

HTTP Request

GET /v5/pre-upgrade/asset/delivery-record

Request Parameters

ParameterRequiredTypeComments
categorytruestringProduct type option
symbolfalsestringSymbol name, uppercase only
expDatefalsestringExpiry date. 25MAR22. Default: return all
limitfalseintegerLimit for data size per page. [1, 50]. Default: 20
cursorfalsestringCursor. Used for pagination

Response Parameters

ParameterTypeComments
categorystringProduct type
listarrayObject
> deliveryTimenumberDelivery time (ms)
> symbolstringSymbol name
> sidestringBuy,Sell
> positionstringExecuted size
> deliveryPricestringDelivery price
> strikestringExercise price
> feestringTrading fee
> deliveryRplstringRealized PnL of the delivery
nextPageCursorstringCursor. Used for pagination

Request Example

GET /v5/pre-upgrade/asset/delivery-record?category=option HTTP/1.1
Host: api-testnet.bybit.com
X-BAPI-SIGN: XXXXX
X-BAPI-API-KEY: XXXXX
X-BAPI-TIMESTAMP: 1686809005774
X-BAPI-RECV-WINDOW: 5000
Content-Type: application/json

Response Example

{
"retCode": 0,
"retMsg": "OK",
"result": {
"nextPageCursor": "21%3A0%2C21%3A0",
"category": "option",
"list": [
{
"symbol": "ETH-14JUN23-1750-C",
"side": "Buy",
"deliveryTime": 1686729604507,
"strike": "1750",
"fee": "0",
"position": "0.5",
"deliveryPrice": "1740.25036667",
"deliveryRpl": "0.175"
}
]
},
"retExtInfo": {},
"time": 1686796328492
}