Futures Isolated

Update stoploss

https://api.lnmarkets.com/v3
PUT/futures/isolated/trade/stoplossPrivate

Update an open or running trade stoploss. 0 removes the stop. With mode: fixed (default) value is a stop price; with mode: trailing value is a trailing distance (fraction of price, between 0.001 and 10, further bounded by liquidation).

Request Body

application/json
id*string (uuid)Format uuid

Trade ID

value*number

A price (`mode: fixed`) or trailing distance as a fraction of price (`mode: trailing`). `0` removes the stop.

Min: 0
modefixed | trailingDefault: fixed

How `value` is interpreted. Defaults to `fixed`.

fixedtrailing
{
  "id": "d0b9f9a0-4f6e-4a5a-8b7a-7f0f5f9a8a1e",
  "value": 19000,
  "mode": "fixed"
}

Response