Skip to content

Repository files navigation

📈 SmartWealthAI

Tests Coverage

A quantitative value-investing MVP: Greenblatt-style ranking on US equities.

Status: v0.1.0June 30 demo slice runnable from CLI (Poetry + SimFin API key).

Project vision

SmartWealthAI is a modular quantitative value investing system: SimFin fundamentals, point-in-time correctness, explainable ROC/EY ranking, and a Streamlit dashboard. The full architecture (backtest, sell-watch, paper trading) is the north star; the demo slice ships a narrower vertical first.

Canonical specs: docs/mvp/ · Ubiquitous language: CONTEXT.md · ADRs: docs/adr/

Tech stack

  • Language: Python 3.11+
  • Environment & Dependencies: Poetry
  • Data (demo): SimFin bulk fundamentals and shareprices/latest (simfin)
  • Data (phase 2): yfinance and free vendor fallbacks for prices / personal NAV
  • Core libraries: pandas, simfin, yfinance, requests (SEC spike: edgartools — frozen)
  • MVP specs: docs/mvp/ (architecture + per-module features)

🚀 Quickstart

  1. Install dependencies:

    poetry install
  2. Run tests (with coverage summary):

    make test
  3. Demo slice docs — start here before coding: docs/mvp/demo-slice.md

  4. Run the full demo pipeline (one command for a run_date):

    export SIMFIN_API_KEY="<from user secrets>"
    poetry run run-demo-pipeline --run-date 2026-06-18

    Individual stages (download-simfin, normalize-simfin, build-universe, score-universe, …) are also available. Guide: docs/mvp/guides/download-simfin.md.

  5. Demo dashboard (after the pipeline for the same run_date):

    poetry run run-dashboard --data-dir data --run-date 2026-06-18

    Spec: docs/mvp/features/dashboard-reporting.md.

  6. SEC fundamentals spike (frozen, phase 2):

    export SEC_IDENTITY="Your Name your@email.com"
    poetry run download-fundamentals --universe dow30

    Guide: docs/mvp/guides/download-fundamentals.md.

Roadmap

See docs/mvp/demo-slice.md for the June 30, 2026 delivery target and docs/mvp/architecture/architecture.md for the full MVP north star.

Demo slice (v0.1.0)

  • SimFin bulk ETL → raw + curated fundamentals
  • US universe (SimFin minus banks / insurers / utilities)
  • ROC + EY ranking → top-30 equal-weight portfolio
  • End-to-end CLI (run-demo-pipeline)
  • Streamlit dashboard (Overview, Ranking, Portfolio)
  • MLflow run logging

See CHANGELOG.md for release notes.

Phase 2 (after demo)

  • Historical S&P 500 universe, permanent loss filter, backtesting
  • Sell-watch, paper trading, SEC EDGAR normalizer (optional PIT upgrade)
  • Corroborative signals, unstructured data, portfolio evolution

About

Finance app dashboard that uses AI Agents to perform RAG over 10-k business annual reports

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages