positions

Get a prepared position replay snapshot

Changed on
get/v1/positions/{positionId}/replay

Request

  • Base URL
    https://app.legend.trade/api/rest
  • URL
    https://app.legend.trade/api/rest/v1/positions/{positionId}/replay
  • Auth
    none declared

Path parameters

positionIdstring uuid required

Response

Successful response

version1 required
idstring required
networkstring required
capturedAtinteger required

Unix timestamp in milliseconds.

openedAtstring required
closedAtstring nullable required
symbolstring required
side'long' | 'short' required
leveragenumber required
intervalstring required
intervalMsnumber required
playbackMsnumber required

Duration in milliseconds of the moving trade segment; excludes intro, entry and ending holds. Shared by live playback and the prepared timeline.

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

    • 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

    • 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

    • breaking

      the response property / became nullable for the status

    • info

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

    • info

      response property financials/summary/averageEntry list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property financials/summary/averageExit list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property financials/summary/pnlPercent list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property marketContext/samples/items/change24h list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property notes/items/avatar list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property notes/items/comments/items/avatar list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property notes/items/likes/users/items/avatar_url list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property notes/items/likes/users/items/display_name list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property notes/items/likes/users/items/username list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

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

    • info

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

    • info

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

    • info

      added the non-success response with the status

    • info

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

    • info

      added the required property to the response with the status

    • info

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

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status