Documentation, examples and further information of the ta4j project
This project is maintained by ta4j Organization
This hub centralizes common ta4j issues for production-minded users.
| Symptom | Likely cause | First place to check |
|---|---|---|
| Indicator output does not match external charting tool | Warmup or initialization differences; data-length dependence | FAQ, Technical Indicators |
| Strategy behaves differently in live vs backtest | Execution assumptions differ (fill timing, partial fills, costs) | Backtesting, Live Trading |
| Strategy keeps buying (or selling) repeatedly on one candle | Live-candle evaluation without tradingRecord context or fill-sync/de-dup guards |
Live Candle vs Closed Candle Evaluation, Live Trading |
| Unrealized/open-position numbers look wrong | Trade recording mismatch or lot policy misunderstanding | Live Trading, Live Trading Runbook |
| Results change after enabling moving windows | Historical bars evicted by setMaximumBarCount |
Bar Series and Bars |
| Noisy or unstable leaderboard across reruns | Overfitting, weak validation geometry, or non-deterministic data pipeline | Walk-Forward Research, Backtesting Realism Checklist |
| Charting fails in CI/headless environment | GUI rendering unavailable | Charting |
Read:
Read:
shouldEnter(index, tradingRecord) / shouldExit(index, tradingRecord) in live loopsExecutionMatchPolicy behavior for partial exitsRead:
Read:
Before opening an issue:
Escalation flow: