Order data of any trading pair (level2
)
{
"type": "subscribe",
"product_ids": [
"UNI-USDC"
],
"channels": [
"level2"
],
"token": "" #option
}
{
"type": "unsubscribe",
"product_ids": [
"UNI-USDC"
],
"channels": [
"level2"
],
"token": "" #option
}
Notice:
When you subscribe to for the first time, you will receive the snapshot data by
K-line data of a trading pair (1/3/5/15/30/60min/2/4/6/12/24hour)
{
"type": "subscribe",
"product_ids": [
"UNI-USDC"
],
"channels": [
"candles_1m"
],
"token": "" # optional (JWT-token)
}
{
"type": "unsubscribe",
"product_ids": [
"UNI-USDC"
],
"channels": [
"candles_1m"
],
"token": "" # optional (JWT-token)
}
Ticker info of a trading pair
{
"type": "subscribe",
"product_ids": [
"UNI-USDC"
],
"channels": [
"ticker"
],
"token": "" # optional (JWT-token)
}
{
"type": "unsubscribe",
"product_ids": [
"UNI-USDC"
],
"channels": [
"ticker"
],
"token": "" # optional (JWT-token)
}
{
"type": "subscribe",
"product_ids": [
"UNI-USDC"
],
"channels": [
"match"
],
"token": "" # optional (JWT-token)
}
{
"type": "unsubscribe",
"product_ids": [
"UNI-USDC"
],
"channels": [
"match"
],
"token": "" # optional (JWT-token)
}
{
"type": "subscribe",
"product_ids": [
"UNI-USDC"
],
"channels": [
"trade"
],
"token": "" # required (JWT-token)
}
{
"type": "unsubscribe",
"product_ids": [
"UNI-USDC"
],
"channels": [
"trade"
],
"token": "" # required (JWT-token)
}
Order change infomation of a trading pair
{
"type": "subscribe",
"product_ids": [
"UNI-USDC"
],
"channels": [
"order"
],
"token":"" # required (JWT-token)
}
{
"type": "unsubscribe",
"product_ids": [
"UNI-USDC"
],
"channels": [
"order"
],
"token": "" # required (JWT-token)
}
{
"type": "subscribe",
"currency_ids": [
"UNI",
"USDC"
],
"channels": [
"funds"
],
"token": "" # required (JWT-token)
}
{
"type": "unsubscribe",
"currency_ids": [
"UNI",
"USDC"
],
"channels": [
"funds"
],
"token":"" # required (JWT-token)
}