ranaroussi / quantstats

Portfolio analytics for quants, written in Python
Apache License 2.0
4.76k stars 835 forks source link

Fixed missing first price in to_prices #205

Closed galarosa closed 2 years ago

galarosa commented 2 years ago

to_prices is missing first price equal to base. Added it at the beginning of the Series with the index inferred on the difference between the second and third prices indexes.