Skip to main content

Position

A Position details the quantity of each Security for a combination of a reference date and a Broker.

This is not merely the aggregation of all buy and sell Transactions, but rather the result of all Security Events in a portfolio's history. These events encompass security-related occurrences, such as dividends, amortizations and splits, as well as transformations resulting from other positions, such as the expiration of a forward contract.

This allows the user to reconcile Gorila's Portfolio with the custodian financial institutions, keeping track of its entire composition.

Open and closed positions​

Each position has a state (state): OPEN, when there is still a quantity of the security at the broker on the reference date, or CLOSED, when the position has already been fully zeroed out, for example, after a full sale, a position close or the security's maturity.

By default, the List Positions endpoint returns only open positions. To include closed positions, use the positionState parameter with the value CLOSED (closed positions only) or ALL (open and closed positions).

Where to access​

These are the endpoints related to a portfolio's positions:

Most of these endpoints allow filtering by security, asset class, security type, classification and broker, and some also allow grouping the result by these criteria (groupBy).

Except for allocation and dividend yield, these views are also available for the positions of an economic group, as in List Economic Group Positions.