Interactive showcase website for the trading-signals library, featuring live examples, demos of all technical indicators, and a visual strategy backtester.
Live interactive examples for every technical indicator in the trading-signals library, organized by category (trend, momentum, volatility, volume).
A fully interactive backtester at /backtest that lets you simulate trading strategies on historical market data and compare them against a Buy & Hold baseline.
- Colors: Edit
tailwind.config.jsto change the theme - Add indicators: Follow the pattern in existing indicator pages
- Modify layout: Edit
pages/_app.tsxfor navigation/footer changes - Styling: Customize
styles/globals.css - Add datasets: Import candle JSON files in
utils/datasets.ts
The docs site uses the local trading-signals and trading-strategies packages from the monorepo. After making changes to either library, rebuild it with:
lerna run dist --scope trading-signals
# or
lerna run dist --scope trading-strategiesYou can do this while the Next.js dev server is running. Just refresh the browser afterwards to see your changes.
- Import the indicator from
trading-signals - Create an
IndicatorExampleobject - Add it to the appropriate category page
- Add a Zod schema and export it from the strategy file in
trading-strategies - Export the schema and strategy from
trading-strategies/src/index.ts - Add a
StrategyDefinitionentry inutils/strategySchemas.ts - Add a
casefor the strategy increateStrategy()inpages/backtest.tsx