Skip to main content

pricing.StandAlone

Each unit priced alone, the book priced together and the sum of the

Usage

Source

pricing.StandAlone()

Attributes

Name Description
stand_alone Each unit as if it were the whole book, at its own VaR: a list of
sum The stand-alone loss, premium and assets added up: a Pentagon.
total The book, at the VaR of its total: a Pentagon.
units Unit names.

stand_alone

Each unit as if it were the whole book, at its own VaR: a list of

stand_alone: list[Pentagon]

Pentagon.


sum

The stand-alone loss, premium and assets added up: a Pentagon.

sum: Pentagon


total

The book, at the VaR of its total: a Pentagon.

total: Pentagon


units

Unit names.

units: list[str]

Methods

Name Description
to_dict() The table as a dict of columns, as NaturalPrice.to_dict, with

to_dict()

The table as a dict of columns, as NaturalPrice.to_dict, with

Usage

Source

to_dict()

rows for the units, "total" and "sum".

Returns
dict of str to list