Documentation, examples and further information of the ta4j project
This project is maintained by ta4j Organization
This page summarizes preferred APIs and compatibility guidance for current ta4j usage.
| Capability | Preferred API | Compatibility API |
|---|---|---|
| Trading record | BaseTradingRecord |
LiveTradingRecord (migration only) |
| Fill recording | TradeFill + TradingRecord.operate(fill) |
ExecutionFill (migration only) |
| Backtest single strategy | BarSeriesManager |
legacy custom loops where not needed |
| Backtest strategy batches | BacktestExecutor |
custom batch wrappers without telemetry |
TradeFill.TradingRecord.operate(fill) or grouped Trade.fromFills(...).TradingRecordParityBacktest and TradeFillRecordingExample.LiveTradingRecord and ExecutionFill remain available in 0.22.x for incremental migration.BaseTradingRecord and TradeFill as canonical APIs.