Account

Get open positions

Get all currently open positions for an account. The column names are defined in the positionsConfig part of the /trade/config route

get/trade/accounts/{accountId}/positions

Request

  • Base URL
    https://demo.tradelocker.com/backend-api
  • URL
    https://demo.tradelocker.com/backend-api/trade/accounts/{accountId}/positions
  • Auth
    HTTP bearer

Path parameters

accountIdinteger required

Account identifier.

Headers

accNuminteger required

Account number

Response

sstring required

Status will always be ok.

Example response

{
  "s": "ok"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.