Version 2
Mark Price Feed
The Mark Price feed provides mark price updates for a subscribed perpetual instrument.
Subscribe
Send a JSON formatted message with following fields upon connecting to v2/marketdata:
| Field Name | Type | Values | 
|---|---|---|
| type | string | subscribe | 
| subscriptions | array | |
| -- name | string | mark_price | 
| -- symbols | array | ["BTC-GUSD-PERP", ...] | 
Response
| Field Name | Type | Values | 
|---|---|---|
| type | string | mark_price_updates | 
| symbol | string | BTC-GUSD-PERP | 
| changes | array | change to mark price | 
All elements of changes share the following fields:
| Field Name | Type | Values | 
|---|---|---|
| timestamp | integer | nanoseconds | 
| mark_price | string | mark price | 
| spot_index | string | spot index | 
Examples
JSON Mark Price Subscription Message
Code
JSON Mark Price Response
Code
Last modified on 

