Trading (v4)

PUT /v4/user/accounts/{server}/{accountId}/execution/trades/{id}

Request

Path parameters

server'oanda' | 'oanda-demo' | 'otms' | 'v20' | 'v20-demo' | 'oj' | 'oj-demo' | 'opt' | 'ftmo-1' required

Account trading server.

accountIdstring required

The user's account identifier.

idstring required

Resource Id

Request body

instrumentstring
stopLossnumber

Stop Loss price

takeProfitnumber

Take profit price

stopLossType'NORMAL' | 'GUARANTEED'

Avaliable only for v20-* based accounts

trailingStopnumber

Trailing Stop distance value

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.