post https://api-glb.sim.hashkeydev.com/api/v1/futures/position/trading-stop
Weight: 3
Request Parameters
PARAMETER | TYPE | Req'd | Example values | DESCRIPTION |
---|---|---|---|---|
symbol | STRING | Y | Name of the contract | |
side | ENUM | Y | position side,LONG or SHORT | |
stopProfit | STRING | REQUIRED for stopLoss not send | stop profit price | |
stopLoss | STRING | REQUIRED for stopProfit not send | stop loss price | |
tpTriggerBy | ENUM | take profit The price type to trigger take profit: MARK_PRICE, CONTRACT_PRICE. Default CONTRACT_PRICE | ||
slTriggerBy | ENUM | stop loss The price type to trigger stop loss: MARK_PRICE, CONTRACT_PRICE. Default CONTRACT_PRICE | ||
recvWindow | LONG | 5000 | recv window | |
timestamp | LONG | Y | 1714311403031 | Timestamp |
Response Content
PARAMETER | TYPE | Example values | DESCRIPTION |
---|---|---|---|
symbol | STRING | BTCUSDT-PERPETUAL | Name of the contract |
side | STRING | LONG | Position side, LONG or SHORT |
stopProfit | STRING | 29037.2 | Stop profit price |
stopLoss | STRING | 27037 | Stop loss price |
tpTriggerBy | ENUM | CONTRACT_PRICE | The price type to trigger take profit: MARK_PRICE, CONTRACT_PRICE |
slTriggerBy | ENUM | CONTRACT_PRICE | The price type to trigger stop loss: MARK_PRICE, CONTRACT_PRICE |