Ta4j Wiki

Documentation, examples and further information of the ta4j project

View the Wiki On GitHub

This project is maintained by ta4j Organization

Ta4j — Technical Analysis for Java

Example chart built with ta4j

Welcome to the ta4j wiki, the working handbook for building indicators, strategies, backtests, and live trading systems on the JVM.

The current wiki reflects ta4j’s newer unified trading stack:

Start Here

Core Concepts

Pick The Right Execution Path

Need Recommended path Why
One strategy over historical data BarSeriesManager + default BaseTradingRecord Fastest path with minimal wiring
Backtest with a preconfigured record BarSeriesManager.run(strategy, providedRecord, ...) Keep a specific ExecutionMatchPolicy, fee model, or reusable record instance
Large batch runs or tuning BacktestExecutor Runtime telemetry, weighted leaderboards, progress callbacks, and batching
Live or paper trading with confirmed fills Manual loop + BaseTradingRecord Signals and broker fills stay separate; stream TradingRecord.operate(fill) or batch Trade.fromFills(...)
Maintaining older live adapters LiveTradingRecord / ExecutionFill Compatibility only while migrating toward BaseTradingRecord / TradeFill

Project & Community

Need a runnable reference? Browse the ta4j-examples module and the community Discord.