positions

Get the complete lifecycle containing a position move

Changed on
get/v1/positions/move-lifecycle

Request

  • Base URL
    https://app.legend.trade/api/rest
  • URL
    https://app.legend.trade/api/rest/v1/positions/move-lifecycle
  • Auth
    HTTP bearer

Query parameters

positionIdstring uuid required
groupTwapsboolean

Response

Successful response

position_idstring uuid required
symbolstring required
is_openboolean required

Changes

    • info

      added the required property / to the response with the status

    • breaking

      the /// response's property type changed from string to no type for status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added subschema #1 subschema #2 to the /// response property anyOf list for the response status

    • info

      removed the added enum value from the /// response property for the response status

    • info

      removed the closed enum value from the /// response property for the response status

    • info

      removed the flipped enum value from the /// response property for the response status

    • info

      removed the opened enum value from the /// response property for the response status

    • info

      removed the reduced enum value from the /// response property for the response status