Prices
The price feed provides real-time Bid/Ask price levels of up to a depth of 10 for the available symbols.
Listing available symbols
The symbols available for subscription can be fetched by sending a message of type info
and with the topic set to available-symbols
.
Available symbols response
Subscribing to a Symbol
In order to subscribe to the price feed, a message of type subscribe
must be sent.
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
Price update
After successfully subscribing to a symbol, you will be sent price-updated
messages whenever the price is updated.
bid_levels[]
Array of Bid price levels (up to a depth of 10)
string
ask_levels[]
Array of Ask price levels (up to a depth of 10)
string
symbol
The symbol which was subscribed to
string
messageType
Price update message type - price-update
string
The price level object comprises these fields:
price
The level price
string
quantity
The level quantity
string
side
The level side - buy
or sell
string
Last updated