rafa-rod/pytrendseries
Detect trend in time series, drawdown, drawdown within a constant look-back window , maximum drawdown, time underwater.
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.
Stars
163
Forks
26
Language
Python
License
—
Category
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.
Related frameworks
TimRivoli/Stock-Price-Trade-Analyzer
This is a Python 3 project for analyzing stock prices and methods of stock trading. It uses...
LeonardoBerti00/TLOB
This is the official repository for the paper TLOB: A Novel Transformer Model with Dual...
JordiCorbilla/stock-prediction-deep-neural-learning
Predicting stock prices using a TensorFlow LSTM (long short-term memory) neural network for...
jcamiloangarita/stocker
Stock Price Prediction
stabgan/Recurrent-Neural-Networks-to-predict-Google-Stock-Price
I tried to predict google stock price using LSTMs