Package com.quantfinlib.backtest.tick


package com.quantfinlib.backtest.tick
Event-driven tick-level backtesting — the level below bars, where queue position decides whether a passive order actually trades: TickBacktester replays QFLT tick files through a TickStrategy with microstructure-aware fills (market orders pay half the spread; limit orders fill on trade-through or earn fills print-by-print against a simulated queue; optional tick-size grid for real-world prices; no fills against the triggering print).
  • Class
    Description
    Event-driven tick-level backtester: replays a captured QFLT tick file through a TickStrategy with microstructure-aware fills — the level below the bar-based engines, where queue position decides whether your passive order actually trades.
    tickSize > 0 snaps limit-order matching to the exchange price grid (prices within the same tick are one level); 0 falls back to epsilon equality — use a real tick size with real market data.
     
    An event-driven strategy for the TickBacktester: sees every tick in sequence and trades through the TickTradingContext.
    Order entry and account access for a TickStrategy.