TradeJS is an open-source TypeScript trading framework for:
- strategy authoring
- backtesting
- live signal generation
- optional auto-trading
- AI and ML-assisted workflows
It supports two first-class authoring paths:
- TypeScript strategies built with
StrategyAPI - Pine Script strategies embedded as standalone strategy modules
- Website: tradejs.dev
- Documentation: docs.tradejs.dev
- npm organization: npmjs.com/org/tradejs
TradeJS— main monorepo with the core framework, app package, CLI, built-in plugins, infra adapters, and sandbox exampleTradeJS-Site— public marketing site fortradejs.devTradeJS-Docs— public external-user documentation fordocs.tradejs.dev.github— organization profile and shared GitHub metadata
@tradejs/app— installable Next.js UI for dashboards, backtests, and runtime data@tradejs/cli— operational CLI for infra setup, backtests, signals, bots, and AI/ML flows@tradejs/core— browser-safe public API for config, strategy authoring, indicators, and shared helpers@tradejs/node— Node runtime for strategies, backtests, Pine loading, and plugin registries@tradejs/infra— server-only adapters for Redis, Timescale, ML, logging, and IO
Public web surfaces are maintained in separate repositories:
TradeJS-Sitefortradejs.devTradeJS-Docsfordocs.tradejs.dev
The framework source of truth remains in the main TradeJS repository.
Keywords: ai, claude, codex.