Messages
{
"op": "<string>",
"args": {
"item": "<string>"
}
}{
"op": "<string>",
"args": {
"item": "<string>"
}
}{
"op": "<string>"
}{
"op": "<string>",
"args": {
"item": "<string>"
}
}{
"op": "<string>",
"args": {
"item": "<string>"
}
}{
"op": "<string>",
"server_ts": 123
}{
"op": "<string>",
"message": "<string>"
}{
"server_ts_ms": 123,
"op": "<string>"
}Websockets
Public
The public channel is used for subscribing to market data.
WSS
/
ws
/
public
Messages
{
"op": "<string>",
"args": {
"item": "<string>"
}
}{
"op": "<string>",
"args": {
"item": "<string>"
}
}{
"op": "<string>"
}{
"op": "<string>",
"args": {
"item": "<string>"
}
}{
"op": "<string>",
"args": {
"item": "<string>"
}
}{
"op": "<string>",
"server_ts": 123
}{
"op": "<string>",
"message": "<string>"
}{
"server_ts_ms": 123,
"op": "<string>"
}Subscribe
type:object
Subscribe to topics. Server will respond with a Subscribed message.
Unsubscribe
type:object
Unsubscribe from topics. Server will respond with an Unsubscribed message.
Ping
type:object
Ping the server. The server will respond with a Pong message. Client can use ts to measure RTT.
Subscribed
type:object
Subscription acknowledgement.
Unsubscribed
type:object
Unsubscribe acknowledgement.
Pong
type:object
Response to Ping.
Error
type:object
Error response.
Event
type:object
Streaming event message.
⌘I