longtailfinancial / TokenEngineering

Repository for LTF token modelling and engineering
GNU General Public License v2.0
1 stars 0 forks source link

Present Annuity Value should reference Perpetuity Value (It should have an if switch on perpetuity boolean) #11

Closed LinuxIsCool closed 2 years ago

LinuxIsCool commented 2 years ago

https://github.com/longtailfinancial/TokenEngineering/blob/81e667d30404eb4478afe0aa39832cc477e5735a/quantitativeinvestmentanalysis/qia.py#L116

        value = ...
        if self.perpetuity:
            value += self.perpetuity_value()
        return value
LinuxIsCool commented 2 years ago

Sorry it's actually this line:

`def _present_annuity_value(self, t):`