Stop Orders
wss://ws-api-futures.kucoin.com
Topic: /contractMarket/advancedOrders
Description
Subscribe Message
{
"id": 1545910660739,
"type": "subscribe",
"topic": "/contractMarket/advancedOrders",
"response": true
}
Response
Data SchemaMargin Mode The unique order id generated by the trading system Order Price User-specified order type buy or sell User-specified order size Either 'down' or 'up' Stop Price Symbol of the contract. Please refer to Get Symbol endpoint: symbol Order Type
stopOrders
topic
string
required
type
string
required
subject
string
required
id
string
required
userId
string
required
channelType
string
required
data
object
required
marginMode
enum<string>
required
Allowed values:
ISOLATEDCROSS
orderId
string
required
orderPrice
string
required
orderType
enum<string>
required
Allowed value:
stop
side
enum<string>
required
Allowed values:
buysell
size
integer
required
stop
enum<string>
required
Allowed values:
downup
stopPrice
string
required
stopPriceType
string
required
symbol
string
required
type
enum<string>
required
Allowed values:
opentriggeredcancel
createdAt
integer <int64>
required
ts
integer <int64>
required
Example
{
topic: '/contractMarket/advancedOrders',
type: 'message',
subject: 'stopOrder',
id: '6720ab1ea52a9b0001734392',
userId: '66f12e8befb04d0001882b49',
channelType: 'private',
data: {
marginMode: 'ISOLATED',
orderId: '240673378116083712',
orderPrice: '0.1',
orderType: 'stop',
side: 'buy',
size: 1,
stop: 'down',
stopPrice: '1000',
stopPriceType: 'TP',
symbol: 'XBTUSDTM',
type: 'open',
createdAt: 1730194206837,
ts: 1730194206843133000
}
}
Request
Query Params
token
string
required
Example:
2neAiuYvAU737TOajb2U3uT8AEZqSWYe0fBD4LoHuXJDSC7gIzJiH4kNTWhCPISWo6nDpAe7aUaaHJ4fG8oRjFgMfUI2sM4IySWHrBceFocY8pKy2REU1HwZIngtMdMrjqPnP-biofFWbNaP1cl0X1pZc2SQ-33hDH1LgNP-yg8qMQ44JW5_1P0XhDwiNR1f.Hi0an--epNOYhmV3PZh2uQ==
connectId
string
optional
Example:
121345
Modified at about 2 months ago