Documentation Index
Fetch the complete documentation index at: https://mintlify.com/backtest-kit/backtest-kit-docs/llms.txt
Use this file to discover all available pages before exploring further.
@backtest-kit/ui is a web-based dashboard for monitoring Backtest Kit strategies in both backtest and live trading modes. It combines a Node.js backend server with a React frontend — one package that ships a complete visualization layer. Instead of spending weeks building custom dashboards, add --ui to your CLI command and get interactive charts, signal tracking, risk rejection logs, and a real-time notification feed out of the box.
Install and Launch
@backtest-kit/cli:
Dashboard Features
Interactive Candlestick Charts
Price charts for 1m, 15m, and 1h timeframes rendered with Lightweight Charts. Signal entry and exit markers are overlaid directly on the candles.
Signal Tracking
Full lifecycle visibility — opened, closed, scheduled, and cancelled signals with entry price, TP/SL levels, and PnL details for each position.
Risk Rejection Monitoring
See every signal that was blocked by your risk rules. Each rejection shows the symbol, reason, and the current market price at rejection time.
Trailing Stop / Breakeven
Visualize trailing stop and take-profit adjustments and breakeven level changes as they happen during live or backtest runs.
Real-Time Notifications
A notification feed for all trading events — signal opens, closes, risk rejections, partial fills, errors, and strategy commits.
Material Design UI
Built with MUI 5 and Mantine components. Clean, responsive interface with i18n support built in.
- A detailed information form with all position parameters
- 1m, 15m, and 1h candlestick charts with entry/exit markers
- JSON export for the full event payload
Symbol List Configuration
By default the dashboard shows all symbols from the exchange. To restrict or reorder the list, create aconfig/symbol.config.ts file in your strategy directory:
Notification Filter Configuration
Control which notification categories appear in the dashboard by creating aconfig/notification.config.ts file:
symbol.config: strategy directory → project root → package default.
Environment Variables
| Variable | Default | Description |
|---|---|---|
CC_WWWROOT_HOST | 0.0.0.0 | UI server bind address |
CC_WWWROOT_PORT | 60050 | UI server port |
The visual Pine Script editor is accessible directly from the UI via the
--editor flag. Run npx @backtest-kit/cli --editor to start the server and automatically open http://localhost:60050?pine=1 in your browser. The editor lets you write, run, and iterate on indicators interactively against live exchange data.