← Portfolio
Software Dev

TradeSage

Type Desktop App
Platform Windows
Language Python
UI PyQt5
Repository View on GitHub ↗

Overview

TradeSage is a Windows desktop application that aggregates real-time market data and news, runs LLM-powered predictive analysis, executes paper trades via Alpaca, and continuously learns from trade outcomes to improve its own signals over time.

The app connects to multiple live data sources — quotes, news feeds, and portfolio data — and feeds them into a configurable LLM (Ollama, Anthropic, or OpenAI) to generate BUY / SELL / HOLD signals with confidence scores and reasoning. After 10+ closed trades, the LLM self-analyzes outcomes and updates its own guidance notes.

Features

  • Live news feed from NewsData.io, Stockdata.org, and AP News with per-ticker LLM sentiment scoring
  • LLM trade signals with confidence score (0–100), reasoning, catalysts, and risk factors
  • One-click paper trade execution via Alpaca with real portfolio P&L tracking
  • Self-improving performance loop — LLM analyzes closed trades and updates future prompts
  • Kill switch, max position size, and minimum confidence threshold risk controls
  • Configurable LLM provider: Ollama (local/free), Anthropic, or OpenAI

Tech Stack

  • Python + PyQt5 — desktop application and UI
  • Ollama / Anthropic / OpenAI — LLM signal generation and learning
  • Alpaca API — paper trading execution
  • Marketstack, Stockdata.org, NewsData.io, AP News — live market and news data