//SOLVEME_

Fintech / Data Viz · 2024

fin-pocket

A Python library for technical analysis of stock charts

PythonPlotlyyfinance
Role
Solo development of the Python library
Stack
Python, yfinance, pandas, plotly, numpy
Year
2024

fin-pocket is a lightweight Python library for technical analysis and automated pattern recognition on stock charts. It pulls historical data from Yahoo Finance and renders interactive charts with a set of technical indicators.

An interactive fin-pocket chart with technical indicators

The challenge

Traders and developers needed an accessible tool that could apply multiple technical indicators at once and recognize common chart patterns, without turning to heavy paid platforms.

The solution

  • Moving averages (MA 50/100/200) with Golden Cross and Death Cross detection
  • RSI with overbought/oversold zones and divergence detection
  • Support/resistance levels from pivots and volume breakout detection
  • Pattern recognition: wedge, flag, pennant, double top/bottom
  • Bollinger Bands, MACD, ATR, OBV and Fibonacci retracement levels
  • A chart screenshot can be sent straight to a chatbot (ChatGPT, Claude) for signal analysis

The result

Interactive Plotly charts make it easy to review signals from several indicators at once, and the screenshot-to-chatbot workflow makes quick AI analysis possible without a separate integration.