Skip to main content
POST
Add a position

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

Body

application/json
provider_symbol
string
required

The security's symbol as the securities search returned it (exchange suffix included). Created in the catalogue on first use; must have a price.

Maximum string length: 32
quantity
number
required

Units held on opened_at.

Required range: x <= 999999999999
opening_cost_basis
number | null

What those opening units cost in the account currency, fees included. Optional.

Required range: 0 <= x <= 999999999999
cost_basis_total
number | null

Deprecated alias of opening_cost_basis.

Required range: 0 <= x <= 999999999999
opened_at
string<date-time> | null

The day the position was opened. Defaults to today; a past date backfills the value history from there (up to ten years).

Response

message
string
required
Allowed value: "Position added."
data
ManualPositionResource · object
required