You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Will return 0.5525698793027238 and 0.19495150355969598 for the IRRs and produce this
dataframe:
Notes:
The cashflows are interpreted from a transaction account that is used to buy from an
asset at price prices.
The corresponding prices for the PME are pme_prices.
The cashflows is extended with one element representing the remaining value, that's
why all the other lists (dates, prices, pme_prices) need to be exactly 1 element
longer than cashflows.
Variants
xpme: Calculate PME for unevenly spaced / scheduled cashflows and return the PME IRR
only. In this case, the IRR is always annual.
verbose_xpme: Calculate PME for unevenly spaced / scheduled cashflows and return
vebose information.
pme: Calculate PME for evenly spaced cashflows and return the PME IRR only. In this
case, the IRR is for the underlying period.
verbose_pme: Calculate PME for evenly spaced cashflows and return vebose
information.
tessa_xpme and tessa_verbose_xpme: Use live price information via the tessa
library. See below.
tessa examples – using tessa to retrieve PME prices online
Use tessa_xpme and tessa_verbose_xpme to get live prices via the tessa
library and use those prices as the PME. Like so: