## pricing.NaturalPrice


A portfolio's price and its natural allocation, from [Portfolio.price](pricing.Portfolio.md#prospicio.pricing.Portfolio.price).


Usage

``` python
pricing.NaturalPrice()
```


## Attributes

| Name | Description |
|----|----|
| [allocated](#allocated) | Each unit's share, a list of Pentagon; the amounts add up to [total](risk.Allocation.md#prospicio.risk.Allocation.total). |
| [total](#total) | The portfolio, a Pentagon. |
| [units](#units) | Unit names. |

------------------------------------------------------------------------


#### allocated


Each unit's share, a list of Pentagon; the amounts add up to [total](risk.Allocation.md#prospicio.risk.Allocation.total).


`allocated: list[Pentagon]`


------------------------------------------------------------------------


#### total


The portfolio, a Pentagon.


`total: Pentagon`


------------------------------------------------------------------------


#### units


Unit names.


`units: list[str]`


## Methods

| Name | Description |
|----|----|
| [to_dict()](#to_dict) | The table as a dict of columns: `unit` (the units, then |

------------------------------------------------------------------------


#### to_dict()


The table as a dict of columns: `unit` (the units, then


Usage

``` python
to_dict()
```


`"total"`), [loss](pricing.Pentagon.md#prospicio.pricing.Pentagon.loss), [margin](pricing.Price.md#prospicio.pricing.Price.margin), [premium](pricing.Price.md#prospicio.pricing.Price.premium), [capital](risk.capital.md#prospicio.risk.capital), [assets](pricing.Price.md#prospicio.pricing.Price.assets), [loss_ratio](pricing.Price.md#prospicio.pricing.Price.loss_ratio), [premium_to_capital](pricing.Pentagon.md#prospicio.pricing.Pentagon.premium_to_capital) and [return_on_capital](pricing.Price.md#prospicio.pricing.Price.return_on_capital). `pandas.DataFrame(price.to_dict())` makes a frame of it.


##### Returns


`dict of str to list`
