Fair price
Subscribe
{
"method": "sub.fair.price",
"param": {
"symbol": "BTC_USDT"
},
"gzip": false
}
Unsubscribe
{
"method": "unsub.fair.price",
"param": {
"symbol": "BTC_USDT"
}
}
Sample data
{
"channel": "push.fair.price",
"data": {
"price": 0.001,
"symbol": "BTC_USDT"
},
"symbol": "BTC_USDT",
"ts": 1587442022003
}
Get the contract’s fair price; updates are pushed whenever there are changes.
Response fields:
| Field | Type | Description |
|---|---|---|
| symbol | string | Contract |
| price | decimal | Price |