rafa-rod/pytrendseries

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

58
/ 100
Established

This tool helps financial analysts, traders, and investment managers identify and visualize significant price trends and drawdowns in financial assets. You provide historical price data, and it outputs details like trend start/end dates, peak/valley prices, and drawdown percentages, along with plots to easily see these patterns. It's designed for anyone needing to understand price movements and risk.

163 stars. Available on PyPI.

Use this if you need to systematically detect uptrends, downtrends, and various types of drawdowns (like maximum drawdown or time underwater) in a time series of prices, and visualize these insights.

Not ideal if your primary goal is real-time anomaly detection or if you require highly complex, custom trend-following strategies beyond standard drawdown and trend identification.

financial-analysis trading-strategy investment-management risk-assessment market-timing
No License
Maintenance 13 / 25
Adoption 10 / 25
Maturity 17 / 25
Community 18 / 25

How are scores calculated?

Stars

163

Forks

26

Language

Python

License

Last pushed

Mar 19, 2026

Commits (30d)

0

Dependencies

3

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/rafa-rod/pytrendseries"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.