Skip to main content
PUT
Update a trade

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

accountId
integer
required

The financial account ID

tradeId
integer
required

The trade's transaction ID

Body

application/json
quantity
number
Required range: x <= 999999999999
price
number

Price per unit in the account currency.

Required range: 0 <= x <= 999999999999
fees
number | null
Required range: 0 <= x <= 999999999999
date
string<date-time>
description
string | null
Maximum string length: 500

Response

message
string
required
Allowed value: "Trade updated."
data
TransactionResource · object
required