/THISZigZag

Python library for identifying the peaks and valleys of a time series.

Primary LanguageJupyter NotebookBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

build-and-test-python PyPI version GitHub stars GitHub license PyPI - Downloads

ZigZag

ZigZag provides functions for identifying the peaks and valleys of a time series. Additionally, it provides a function for computing the maximum drawdown.

For fastest understanding, view the IPython notebook demo tutorial.

Contributing

This is an admittedly small project. Still, if you have any contributions, please fork this project on github and send me a pull request.

增加K线数量限制

DEF MIN_CIRCLE = 5