trailing-stops

Update the trail percentage of an active trailing stop

Changed on
patch/v1/trailing-stops/{id}

Request

  • Base URL
    https://app.legend.trade/api/rest
  • URL
    https://app.legend.trade/api/rest/v1/trailing-stops/{id}
  • Auth
    HTTP bearer

Path parameters

idstring uuid required

Request body

trailPercentnumber required

Response

Successful response

Changes

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • info

      response property trailingStop/callback_rate list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property trailingStop/hl_order_id list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property trailingStop/triggered_at list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property trailingStop/triggered_price list-of-types was narrowed by removing types null from media type application/json of response 200