Ta4j Wiki

Documentation, examples and further information of the ta4j project

View the Wiki On GitHub

This project is maintained by ta4j Organization

Canonical User Journey

This page is the canonical end-to-end path for production-minded Java developers:

data -> strategy -> execution -> record -> analysis -> live operations

If you follow only one path through the ta4j docs, follow this one.

Journey map

flowchart LR
    data[DataIngestion] --> strategy[StrategyDesign]
    strategy --> backtest[BacktestExecution]
    backtest --> record[TradingRecordAndFills]
    record --> analysis[RiskAndPerformanceAnalysis]
    analysis --> live[LiveOperations]

Step 1: Data ingestion and bar modeling

Goal: build a deterministic BarSeries that matches your intended market and timeframe semantics.

Start with:

Use examples:

Exit criteria:

Step 2: Strategy design and rule composition

Goal: build explicit entry, exit, and risk-gating logic with predictable semantics.

Read:

Use examples:

Exit criteria:

Step 3: Backtest execution and realism

Goal: run realistic backtests with explicit execution assumptions and reproducible comparisons.

Read:

Use examples:

Exit criteria:

Step 4: Trading record and fill semantics

Goal: treat broker-confirmed fills as the source of truth while keeping strategy evaluation deterministic.

Read:

Use examples:

Exit criteria:

Step 5: Risk and performance analysis

Goal: evaluate outcomes with criteria aligned to business objectives, not one metric in isolation.

Read:

Use examples:

Exit criteria:

Step 6: Live operations and recovery

Goal: run safely in production with explicit operational safeguards and recovery practices.

Read:

Use examples:

Exit criteria: