Skip to main content

Trading parameters update notifaction

Subscribe

Request
{"method":"subscribe","params":["tradeset@{userId}"]}

Unsubscribe

Request
{"method":"unsubscribe","params":["tradeset@{userId}"]} 
Response
example:
{
"topic": "<string>",
"event": "<string>",
"data": {
"ch": "<string>", // chain name
"msb": "<string>", // MarketOrderSlippage4buy 0: Smart
"mss": "<string>", // MarketOrderSlippage4sell 0: Smart
"lsb": "<string>", // LimitOrderSlippage4buy 0: Smart
"lss": "<string>", // LimitOrderSlippage4sell 0: Smart
"pl": <int>, // PriorityLevel 1:normal, 2:fast,
"ut": <int64> // UpdateTime
}
}