Greek
Subscribe to the user greeks stream, option
only.
Topic:
user.greeks.unifiedAccount
Response Parameters
Parameter | Type | Comments |
---|---|---|
id | string | Message id |
topic | string | Topic name |
type | string | Message type. snapshot |
ts | number | The timestamp (ms) that system generates the data. |
data | Object | |
> version | integer | Version |
> result | Object | |
>> baseCoin | string | Base coin |
>> totalDelta | string | Delta value |
>> totalGamma | string | Gamma value |
>> totalVega | string | Vega value |
>> totalTheta | string | Theta value |
Stream Example
{
"id": "53328593eddf20-ebe8-47d9-8a2b-62e4e2681eaa",
"topic": "user.greeks.unifiedAccount",
"ts": 1672107550646,
"data": {
"result": [
{
"baseCoin": "BTC",
"totalDelta": "-0.02077347",
"totalGamma": "-0.00004675",
"totalVega": "-0.52558304",
"totalTheta": "3.48921259"
},
{
"baseCoin": "ETH",
"totalDelta": "0.05003533",
"totalGamma": "-0.00000063",
"totalVega": "-0.00014849",
"totalTheta": "0.0041225"
}
],
"version": 62056
},
"type": "snapshot"
}