In order to subscribe to the price feed, a message of type subscribe must be sent.
Subscription Request
To subscribe to the price feed, a message of type subscribe must be sent.
| Parameter | Description | Type |
|---|---|---|
| body{} | An object used to filter which symbol will be subscribed to. This is a required field for the price feed. | object |
| messageType | Subscription message type - subscribe | string |
| topic | Topic to subscribe to - prices for the price feed | string |
| key | Your public key | string |
| passphrase | Your passphrase | string |
| timestamp | Time in seconds since Unix Epoch | string |
| signature | Your HMAC signature | string |
Subscription Response
| Parameter | Description |
|---|---|
| body | An object used to filter which symbol will be subscribed to. This is a required field for the price feed. |
| messageType | Subscription message type - subscribe |
