Margin Mode
wss://ws-api-futures.kucoin.com
Topic: /contract/marginMode
Description
Subscribe Message
{
"id": 1545910660739,
"type": "subscribe",
"topic": "/contract/marginMode",
"response": true,
"privateChannel": "true"
}
Response
Data SchemaThe SYMBOL is the key with value
"CROSS" or "ISOLATED"
marginMode
topic
string
required
type
string
required
data
object
required
SYMBOL
string
required
"CROSS" or "ISOLATED"
subject
string
required
userId
string
required
channelType
string
required
Example
{
"topic": "/contract/marginMode",
"type": "message",
"data": {
"XBTUSDTM": "CROSS"
},
"subject": "user.config",
"userId": "633559791e1cbc0001f319bc",
"channelType": "private"
}
Request
Query Params
token
string
required
Example:
2neAiuYvAU737TOajb2U3uT8AEZqSWYe0fBD4LoHuXJDSC7gIzJiH4kNTWhCPISWo6nDpAe7aUaaHJ4fG8oRjFgMfUI2sM4IySWHrBceFocY8pKy2REU1HwZIngtMdMrjqPnP-biofFWbNaP1cl0X1pZc2SQ-33hDH1LgNP-yg-JZbxNWr84pfuYpXC-4WHI._za6qbsY59vCwJwjNzgdfA==
connectId
string
optional
Example:
121345
Modified at 2024-11-19 02:27:05