Module position

Module position 

Source
Expand description

Position type representing units held at a cost.

A Position represents a holding of some units of a currency or commodity, optionally with an associated cost basis (lot). Positions with costs are used for tracking investments and calculating capital gains.

Structsยง

ArchivedPosition
An archived Position
Position
A position is units of a currency held at an optional cost.
PositionResolver
The resolver for an archived Position