Tests
cd ipda
pytestCoverage
The suite covers:
| Area | Module | What is asserted |
|---|---|---|
| Indicator ports | test_indicators.py | SMA, RMA, ATR, RSI, Supertrend, crossover/crossunder |
| Reversal E2E | test_reversal.py | Buy Chance / Sell Chance crosses, hard targets, warmup |
| Supertrend strategy | test_strategy.py | Unused Supertrend path still faithful (SL/TP, hard targets) |
| Mid-candle policy | test_signal_gate.py | Fire-once-then-lock, deterministic UUIDv5 signal_id |
| Config | test_config.py | Profile env loading; hard-targets / reversal-level startup guards |
| Sessions | test_sessions.py | Window parsing, DST-aware containment, unknown names |
| Notifier | test_notifier.py | Payload shape, disabled path, failure isolation |
| Position tracker | test_position_tracker.py | MFE trigger, persistence, inferred close / TTL |
| Service | test_service.py | Session skip vs submit, tracker wiring |
Related
- Getting Started — install with
.[dev] - Signal Logic — live reversal vs unused Supertrend
- Sessions — session gate under test
- Break-even — tracker behaviour under test
Last updated on