Installation¶
alpha-visualizer is published on PyPI and requires Python 3.12+.
Pair with alpha-forge
alpha-visualizer installs and runs independently of forge (the backtest engine), but the backtest_results.db it visualizes is produced by forge. If you haven't installed it yet, see the AlphaForge Getting Started guide (latest binaries are also on GitHub Releases).
Requirements¶
| Item | Version |
|---|---|
| Python | 3.12 or later |
| OS | macOS / Linux / Windows |
| Browser | Latest Chrome / Firefox / Safari / Edge |
uv (recommended)¶
uv installs the tool into an isolated environment, sidestepping Python version conflicts.
If you don't have uv yet, see https://docs.astral.sh/uv/getting-started/installation/.
pip¶
Plain Python installation:
Inside a virtualenv:
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install alpha-visualizer
From source (for development)¶
Clone the repo and run locally:
git clone https://github.com/alforge-labs/alpha-visualizer.git
cd alpha-visualizer
uv sync # Python deps
cd frontend && pnpm install && pnpm run build && cd ..
uv run vis serve --forge-dir <path>
See CONTRIBUTING.en.md for the full development workflow.
Verify the install¶
A correctly installed vis prints its version.
Upgrade¶
Uninstall¶
Next steps¶
- Features — walk through each dashboard screen
- Configuration — CLI options and
forge.yaml