Developer Open-Sources Python Framework to Score Candlestick Patterns with AI Confluence

A developer has released yfinance-ta-patterns, an open-source Python framework designed to improve the reliability of candlestick pattern-based trading signals. The tool addresses a well-known weakness in retail algorithmic trading: standalone candlestick patterns such as Hammer or Bullish Engulfing tend to produce win rates barely above chance when used in isolation. The framework combines pattern detection across 61 candlestick types with a multi-factor confluence scoring engine that weighs EMA trend alignment, relative volume, RSI, and ATR volatility. It also generates automated trade setups with entry, stop-loss, and take-profit levels, and produces structured outputs compatible with LLMs like GPT-4o and Claude. The library supports Python 3.8 through 3.15, requires no C compiler for basic installation, and includes a backtester that accounts for slippage, fees, and currency conversion.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in