Home / Backtesting & trading frameworks

pytrendseries

Backtesting & trading frameworks★ 167 GitHub starsPython⏱ Last commit 24 days ago

Detect trends and drawdowns in time series

What it is

A Python library for detecting trends in time series and measuring drawdowns. It calculates drawdown, drawdown within a fixed look-back window, maximum drawdown and time spent under water. Python developers and quant researchers analysing strategy equity curves or asset prices are the target users. It describes the history of a series, so it is an analysis aid rather than a forecasting tool.

At a glance

Research onlyOur rating, based on popularity, maintenance and how ready it is for real use.

Best forProfessional quants
Used forData analysis, Strategy research
MarketsMulti-market
StackPython
Learning curveEasy to start
Practical valueMedium practical value
CostFree and open source
HardwareNo GPU needed
MaintenanceLast commit 24 days ago

GitHub stars, last 30 days

Daily snapshots since 2026-09-28 (up to 30 days): −1 over the period, now 167. Gaps mean no snapshot was taken that day.

In the author's words

Detect trend in time series, drawdown, drawdown within a constant look-back window , maximum drawdown, time underwater.

Open on GitHub ↗This week's trending tools中文页面

Similar tools