PositionT0

vecxt_re.PortfolioCalc.PositionT0
class PositionT0(values: Map[String, Any]) extends Selectable

A holding as observed at the valuation date (day 0).

Normally built from a named tuple by day0MarketValues; constructing one directly from a Map is unchecked, and a missing key or a wrongly typed value only surfaces when the field is accessed.

Attributes

Graph
Supertypes
trait Selectable
class Object
trait Matchable
class Any

Members list

Type members

Types

type Fields = (price: Price, notional: CurrencyAmount, name: String, id: String)

Value parameters

id

a unique identifier, used in error messages

name

a human readable label, used in error messages

notional

the face amount, carrying its own currency

price

the market price, as a Price relative to par

Attributes

Value members

Concrete methods

def selectDynamic(f: String): Any