Ta4j Wiki

Documentation, examples and further information of the ta4j project

View the Wiki On GitHub

This project is maintained by ta4j Organization

Ta4 main chart

Welcome to the ta4j Wiki

ta4j gives you the building blocks for technical-analysis-driven systems in Java: bar series, indicators, rules, strategies, reports, and a unified trading-record model that now spans backtests, paper trading, and live execution.

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

What’s Newer On Current Master

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

Where To Go Next

Community