Position
PositionFBCHolding of an instrument in an account: a quantity, cost basis, market value, and unrealized P&L as of a date.
Datasets representing this concept
1 dataset| Dataset | Role | Pure |
|---|---|---|
| position_eod | primary | Pure Model -> |
Pure Class
FIBO-grounded class definition for this concept: properties, multiplicities, and source-column annotations. Per-dataset Mapping and Table blocks live on each dataset's Pure Model tab.
<<Lineage.parquetBacked>>
{Lineage.parquetPath = 'out/parquet/position_eod/**/*.parquet', Lineage.fiboModule = 'FBC', Lineage.fiboConcept = 'Position', Lineage.datasetTitle = 'End-of-Day Positions'}
// Daily snapshot of every holding by account and instrument — quantity, cost basis, market value, and unrealized P&L. Bond positions use forward-filled prices on non-quote days.
Class fibo::fbc::Position
{
// AsOfDate: The business date as of which a snapshot was taken (positions, prices, NAV, etc.).
asOfDate : StrictDate[1];
// AccountIdentifier: Internal surrogate key uniquely identifying an account within this system.
accountId : Integer[1];
// InstrumentSurrogateID: Internal surrogate key uniquely identifying a financial instrument within this system. External identifiers (ISIN, CUSIP, FIGI) live in instrument_identifier.
instrumentId : Integer[1];
// Quantity: Number of units (shares, contracts, face value) held or traded.
quantity : Decimal[1];
// CostBasis: Total amount paid (or received) to acquire the position, used as the baseline for computing realized and unrealized gains.
costBasis : Decimal[1];
// MarketValue: Quantity × current price, expressed in the instrument\'s currency. The value at which the position would settle if liquidated at the prevailing price.
marketValue : Decimal[1];
// ISO4217CurrencyCode: Three-letter code (e.g., USD, EUR, JPY) that uniquely identifies a currency under ISO 4217.
currencyCode : String[1];
// UnrealizedPnL: Market value minus cost basis — the gain or loss that would be realized if the position were closed at the prevailing price.
unrealizedPnl : Decimal[1];
// AccruedIncome: Income earned but not yet received (e.g., bond coupon accruing between coupon dates).
accruedIncome : Decimal[0..1];
}