price-alerts

Create a one-shot price alert

Changed on
post/v1/price-alerts

Request

  • Base URL
    https://app.legend.trade/api/rest
  • URL
    https://app.legend.trade/api/rest/v1/price-alerts
  • Auth
    HTTP bearer

Request body

symbolstring required
targetPricenumber required
direction'above' | 'below' required

Response

Successful response

Changes

    • breaking

      the response property / became nullable for the status

    • info

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