alvarobartt / trendet

:chart_with_upwards_trend: Python package for trend detection on stock time series data :chart_with_downwards_trend:
https://trendet.readthedocs.io/
MIT License
443 stars 77 forks source link

Fixed last trend detection #18

Open jokaorgua opened 2 years ago

jokaorgua commented 2 years ago

I've fixed an issue when the last trend was not detected. This was due to the fact that data has been accumulated in values var and was never checked for the trend if not getting the lower value than the mean at the end of the data