Semua buku

Profesional

Aplikasi Tentang Pelatih Masuk Mulai membaca

Quantitative Finance · Glosarium

Apa itu Event-driven backtest, simulated clock?

Dikenal juga sebagai: event-driven backtest · simulated clock

Definition 17.1 Research Craft: Predictors, Backtests, Measurement, Portfolios · Bab 17 — Event-Driven Backtests

An event-driven backtest processes a time-ordered stream of events (market data, order acknowledgements, fills, cancellations, corporate actions) one at a time, each changing the state of the strategy, its orders and its portfolio. Its simulated clock is the time of the event being processed; nothing may use information stamped later.

The architecture of firm.evbt: one queue of events ordered by time, kind and sequence number, a dispatcher, and handlers that may only schedule events in the future.
Figure 17.1. The architecture of firm.evbt: one queue of events ordered by time, kind and sequence number, a dispatcher, and handlers that may only schedule events in the future.
Baca dalam konteks →