Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Quantitative Finance · Glossário

O que é Event-driven backtest, simulated clock?

Também chamado de: event-driven backtest · simulated clock

Definition 17.1 Research Craft: Predictors, Backtests, Measurement, Portfolios · Capítulo 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.
Ler no capítulo →