Positions

Holdings with basis, market value and P&L, corporate-action correct throughout.

Fields

FieldTypeDescription
quantity_raw / quantity_uidecimalRaw and underlying-share equivalent.
cost_basis_usddecimalUnder the requested method.
market_value_usddecimalAt the requested as_of point.
unrealized_pnl_usddecimalMarket value less basis.
realized_pnl_usddecimalFrom closed lots.
applied_action_ids[]string[]Every corporate action applied to reach this position.

Correctness

Correctness note

applied_action_ids exists so that a disagreement with another system is diagnosable rather than mysterious. If our number differs from yours, the list tells you which events to check first.

Related