This monorepo contains the Trading Signals library and its documentation website. Trading Signals provides TypeScript implementations of technical indicators and overlays for algorithmic trading and technical analysis.
Technical analysis turns raw price and volume data into actionable trading signals, highlighting momentum, volatility, and trend shifts before they become obvious on a chart. The trading-signals package delivers those insights with battle-tested TypeScript code.
Multiple signals can be combined into a single trading strategy, but the real benchmark is whether that strategy beats the market consistently. Always backtest with historical price data and compare the results against both a simple buy-and-hold baseline and a purely random coin-flip model. If your approach outperforms those in sideways, bullish, and bearish scenarios, you are heading in the right direction.
Be aware: No strategy works all the time, so build in strict loss caps, a realistic positive price target, and the discipline to accept occasional losses. Managing risk matters more than heroically โholding a falling knife,โ so focus on winning more often than you lose.
This project uses Lerna for managing the monorepo with independent versioning. Execute npm test to run tests across all packages. Launch an interactive demo with npm run docs.
The core library providing technical indicators for algorithmic trading.
- Features: Streaming updates, replace mode, lazy evaluation, memory efficiency
- Coverage: 100% test coverage across all metrics
- Bundle: Zero runtime dependencies
- Type Safety: Full TypeScript with strict mode
Documentation and showcase website built with Next.js, featuring interactive demos and examples of all indicators.
- Visualization: Highcharts
- Styling: Tailwind CSS
- Framework: Next.js