跳至主要内容

查詢Greeks信息

獲取當前賬戶Greeks信息

HTTP 請求

GET /v5/asset/coin-greeks

請求參數

參數是否必需類型類型
baseCoinfalsestringbaseCoin- 不傳入, 默認返回全部baseCoin的greeks

響應參數

參數類型類型
listarrayObject
> baseCoinstringbaseCoin 例如: BTC、ETH、SOL etc
> totalDeltastringDelta值
> totalGammastringGamma值
> totalVegastringVega值
> totalThetastringTheta值

請求示例

GET /v5/asset/coin-greeks?baseCoin=BTC HTTP/1.1
Host: api-testnet.bybit.com
X-BAPI-SIGN: XXXXX
X-BAPI-API-KEY: XXXXX
X-BAPI-TIMESTAMP: 1672287887610
X-BAPI-RECV-WINDOW: 5000

響應示例

{
"retCode": 0,
"retMsg": "OK",
"result": {
"list": [
{
"baseCoin": "BTC",
"totalDelta": "0.00004001",
"totalGamma": "-0.00000009",
"totalVega": "-0.00039689",
"totalTheta": "0.01243824"
}
]
},
"retExtInfo": {},
"time": 1672287887942
}