GitHunt
AN

Ankur-krGarg/trade_wishper

TradeWhisper: AI-powered trade idea analyzer with real-time stock info, charts, and news. Built using FastAPI + Cohere + yFinance, designed for fintech productivity and clarity.

๐Ÿ’น Trade Whisper โ€” Trend Detection in Financial Markets

Trade Whisper is a compact, logic-driven system for analyzing historical stock data and detecting early signs of bullish or bearish trends. Designed in Jupyter Notebook, it offers a practical foundation for real-world ML trading signal systems and financial forecasting.


๐Ÿ“Œ Features

  • ๐Ÿ“ˆ Trend Identification: Detects Uptrend, Downtrend, and Sideways movement in stock price data
  • ๐Ÿง  ML-Ready Labels: Auto-generates labels for training ML models on trend forecasting
  • ๐Ÿ“Š Visual Insights: Plots trend signals using matplotlib for intuitive analysis
  • โš™๏ธ Extendable: Easily plug into ML workflows for regression, classification, or LSTM modeling

๐Ÿง  How It Works

  • Imports price data (CSV)
  • Calculates rolling metrics like Moving Averages
  • Defines trend direction based on slope & price logic
  • Classifies each window as a trend label
  • Visualizes results with annotations

๐Ÿ›  Tech Stack

  • Python 3
  • Pandas, NumPy
  • Matplotlib
  • Scikit-learn (for future enhancement)
  • Jupyter Notebook

๐Ÿ’ก Potential Applications

  • Building datasets for ML-based stock prediction
  • Backtesting trend-detection rules
  • Freelance fintech projects
  • Educational demos on time series analysis

๐Ÿš€ Getting Started

  1. Clone the repo
  2. Run the notebook: TradeWhisper.ipynb
  3. Upload any stock price CSV to start analyzing

๐Ÿ“ธ Example Output

๐ŸŸข Uptrend detected from 20th July to 30th July
๐Ÿ”ด Downtrend spotted from 3rd August to 9th August

Visual chart is generated with marked trend phases.


๐Ÿค Ideal For

  • Freelancers seeking finance + ML projects
  • Recruiters assessing practical ML capabilities
  • Clients exploring trend-based trading ideas