pmorissette / ffn

ffn - a financial function library for Python
pmorissette.github.io/ffn
MIT License
2.03k stars 300 forks source link

Fix six_month, three_year, five_year and ten_year #54

Closed ViktorMalesevic closed 6 years ago

ViktorMalesevic commented 6 years ago

Hi Jordan, Hi Philippe,

Just adding a few "if" conditions to make sure three_month, six_month, five_year and ten_year are calculated only when given sufficient data. (TravisCI build passed)

Thanks for the great work!

JordanPlatts commented 6 years ago

Thanks for contributing!