Simple Chart is a desktop stock charting application for swing traders. It comes with an extensible API for custom indicators built using your AI agent of choice (see Building Custom Indicators).
Included indicators:
- Simple Moving Average
- Exponential Moving Average
- Anchored VWAP
- Pivot Points
- Fibonacci Retracement
- RSI
The repository is structured for source-based local installation on Linux, macOS, and Windows. The intended flow is:
- Clone the repo.
- Create a Python 3.13 virtual environment.
- Install with
pip install -e .. - Launch with
simplechart.
No hard-coded personal paths are required.
- Python 3.13
pip- A desktop environment capable of running PyQt6 applications
- Internet access if dependencies need to be downloaded during install
python3.13 -m venv .venv
. .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install -e .
simplechartIf python3.13 is not available, use whichever command on the machine resolves
to Python 3.13 and verify with:
python --versionpy -3.13 -m venv .venv
.venv\Scripts\Activate.ps1
python -m pip install --upgrade pip
python -m pip install -e .
simplechartIf py -3.13 is unavailable, install Python 3.13 first or use an equivalent
launcher that targets Python 3.13.
pip install -e . installs:
- Python dependencies from
pyproject.toml - the
simplechartcommand defined by the project entry point
The application stores its local SQLite database in a per-user location by default:
- Linux and macOS:
~/.simplechart/simplechart.db - Windows:
%USERPROFILE%\.simplechart\simplechart.db
You can override that location:
simplechart --db /path/to/simplechart.dbRunning from a terminal after pip install -e . is enough to use the app.
If you also want a desktop launcher and icon in Linux application menus:
python scripts/install_linux_desktop.pyThat script installs:
io.simplechart.SimpleChart.desktopassets/simple-chart.svg
into the current user's XDG data directories. It also rewrites the installed
desktop file so Exec and TryExec point at the simplechart executable from
the environment where the script was run.
- Use the fast path above.
- If a launcher icon does not appear immediately after installing the desktop entry, log out and back in or restart the shell session for the desktop.
- Use the fast path above.
- This repo currently targets source-based execution, not a native
.appbundle. - If a future release needs a native app bundle, use PyInstaller or py2app.
- Use the PowerShell fast path above.
- This repo currently targets source-based execution, not a native installer.
- If a future release needs a native installer or shortcut setup, use PyInstaller or another Windows packaging tool.
The virtual environment is probably not active, or the editable install did not complete successfully. Activate the venv and rerun:
python -m pip install -e .This project requires Python 3.13. Check with:
python --versionCommon causes:
- running in a headless environment
- missing desktop GUI support
- dependency install failure earlier in the setup flow
Try launching from the same terminal where the install was performed so any Python traceback remains visible.
SimpleChart has a stable public API for indicator authors and is designed to be extended with the help of an AI agent. Indicators come in two flavors:
- Compute — chart overlays or panel indicators that convert OHLCV data into arrays (SMA, EMA, RSI).
- Interactive — indicators with context-menu actions, drag handles, persistent drawing state, or custom render output (Anchored VWAP).
To build one:
-
Use the development install so tests, type checks, and compiled kernels work:
python -m pip install -e ".[dev]"Full environment setup details are in
AGENT-SETUP.md. -
Tell your AI agent which kind of indicator you want, then prompt:
Read
AGENTS.mdand the appropriate file indocs/skills/before building this indicator.The agent will read the project conventions, ask the right questions, and guide the work step by step.
Project conventions, the simplechart.api contract, and the full
indicator-building entry point live in AGENTS.md.
