PositionT1

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

A holding for forward-looking (e.g. P&L) calculations.

Attributes

Note

Fields are currently identical to PositionT0; kept separate as the two are expected to diverge.

Graph
Supertypes
trait Selectable
class Object
trait Matchable
class Any

Members list

Type members

Types

type Fields = (price: Price, riskFree: RiskFreeRate, spread: Spread, maturity: LocalDate, 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