okama.PortfolioDCF.initial_amount_pv

property PortfolioDCF.initial_amount_pv

Calculate the discounted value (PV) of the initial investments at the historical first date.

The future value (FV) is defined by initial_amount parameter. The discount rate is the average annual inflation.

Returns:
float

The discounted value (PV) of the initial investments at the historical first date.

Examples

>>> pf = ok.Portfolio(['EQMX.MOEX', 'SBGB.MOEX'], ccy='RUB', initial_amount=100_000)
>>> pf.dcf.initial_amount_pv
73650