Trading
Modify position
Modify an existing position's stop loss, take profit, or both. To remove stop loss or take profit you need to set the parameter to null.
patch/trade/positions/{positionId}
Request
- Base URLhttps://demo.tradelocker.com/backend-api
- URLhttps://demo.tradelocker.com/backend-api/trade/positions/{positionId}
- AuthHTTP bearer
Path parameters
positionIdinteger required
Position identifier.
Query parameters
strategyIdstring
Strategy ID
Headers
accNuminteger required
Account number
developer-api-keystring
developer-api-key
Request body
Response
Example response
{
"s": "ok"
}Changes
No recorded changes to this operation across all 2 revisions of this API.