Skip to main content

A powerful toolkit for Smart Money Concepts (SMC) analysis and stocks (Gaps, fib, S/R, chart_patterns) analysis.

Project description

📊 Smart Money Concepts (SMC) & Stocks (Gaps, fib, S/R, chart_patterns) Analysis Toolkit

A high-performance Python toolkit for advanced stock market analysis, focusing on Smart Money Concepts (SMC) and stocks (Gaps, fib, S/R, chart_patterns) analysis.

🚀 Key Features

1. Smart Money Concepts (SMC) Analysis

  • Market Structure : Vectorized detection of Swing and Internal structure (BOS, CHoCH).
  • Supply & Demand : Identification of Order Blocks (OB) and Fair Value Gaps (FVG).
  • Liquidity : Detection of Equal Highs and Equal Lows.
  • Screener : A dedicated screener to find stocks currently trading near these institutional levels.

2. Stocks (Gaps, fib, S/R, chart_patterns) Analysis Suite

  • LTP Near Gaps : Finds stocks trading near unfilled or partially filled gaps.
  • Support & Resistance : Vectorized detection of high-probability S/R zones.
  • Fibonacci Levels : Automated Fibonacci retracement analysis.
  • Chart Patterns : Detects Head & Shoulders, Double Tops/Bottoms, Triangles, Flags, Pennants, and Wedges.
  • Candle & Gap Analysis : Deep dive into daily candle patterns and gap dynamics.

3. "Super Fast" Performance Architecture

  • Centralized Data Manager : Unified fetching via yfinance with robust retry logic.
  • Aggressive Cache Slicing : Automatically reuses larger period caches (e.g., max) to fulfill shorter period requests (e.g., 1y, 1d) instantly.
  • In-Memory Caching : Minimizes disk I/O by keeping dataframes in memory during execution.
  • Vectorized Logic : Most analysis modules use NumPy and Pandas vectorization for rapid processing of hundreds of stocks.

🛠 Installation

  1. Install dependencies:
    pip install .
    

📈 Usage

Run SMC Screener & Analysis

This is the primary entry point for Smart Money Concepts analysis. It provides an interactive menu to run Analysis, Screening, or Both.

python "SMC Screener.py"

Run Multi-Indicator Analysis

Executes the full suite of other indicators (Gaps, S/R, Fibonacci, Patterns) in one go.

python run_analysis.py

⚙️ Configuration

  • Cache : Data is stored in data_cache/ as .pkl files. Default expiry is 24 hours.
  • Output : Results are saved in outputs/ and analysis/ directories (CSV format).
  • Google Sheets : Supports syncing results to Google Sheets (requires credentials.json in Credentials/).

📁 Project Structure

  • SMC Screener.py : Interactive entry point for SMC pipeline.
  • run_analysis.py : Main runner for multi-indicator suite.
  • stock_analysis/ : Core logic modules.
    • stock_data_manager.py: High-performance data & cache handler.
    • smc_analysis.py : The SMC engine.
    • chart_patterns.py : Pattern detection logic.
    • support_resistance.py: S/R zone detection.
  • data_cache/ : Local repository for stock data.

Note: This toolkit is for educational and research purposes. Always perform your own due diligence before trading.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

market_analyzer-0.0.1.tar.gz (46.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

market_analyzer-0.0.1-py3-none-any.whl (50.1 kB view details)

Uploaded Python 3

File details

Details for the file market_analyzer-0.0.1.tar.gz.

File metadata

  • Download URL: market_analyzer-0.0.1.tar.gz
  • Upload date:
  • Size: 46.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.1

File hashes

Hashes for market_analyzer-0.0.1.tar.gz
Algorithm Hash digest
SHA256 6f49c5f2f77f8c5a65b0d9adb0a73e83e08168de00a36b9ca79c6a468397b9c6
MD5 e650ebf3341d16cbb90ca683b05a48b8
BLAKE2b-256 3ef9e0174e2cbb55da712d6d606b7b9e4609eab92d39fb1583d7091d63aa0a92

See more details on using hashes here.

File details

Details for the file market_analyzer-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for market_analyzer-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a521c38df79e40c41988d3d2129d3656cbd5ac9bfece095d90c60e1d19c635d0
MD5 5e64755939c8a73f68f7b967c9bd6c28
BLAKE2b-256 34ecf2f276cdd21c04a66cb66b96a9d3189c74c1b0d52a9499763ce62ef7cc29

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page