Place leading stop order
Set TP/SL for the current lead position that are not closed.
Authentication
Base64-encoded HMAC-SHA256 signature of the prehash string.
ISO 8601 UTC timestamp, e.g. 2020-12-08T09:08:57.715Z.
Request
Instrument type SPOT SWAP, the default value
Sub position type. lead: lead trade; copy: copy trade. Default is lead.
Take-profit trigger price. Take-profit order price will be the market price after triggering. At least one of tpTriggerPx and slTriggerPx must be filled The take profit order will be deleted if it is 0
Take-profit order price If the price is -1, take-profit will be executed at the market price, the default is -1 Only applicable to SPOT lead trader
Stop-loss trigger price. Stop-loss order price will be the market price after triggering. The stop loss order will be deleted if it is 0
Stop-loss order price If the price is -1, stop-loss will be executed at the market price, the default is -1 Only applicable to SPOT lead trader
Take-profit trigger price type last: last price index: index price mark: mark price Default is last
Stop-loss trigger price type last: last price index: index price mark: mark price Default is last
Order tag A combination of case-sensitive alphanumerics, all numbers, or all letters of up to 16 characters.
Response
Result code. 0 means success; any other value is an error code.

