Skip to content
TotalFinance

Backtesting

Vectorized and event-driven backtests, costs, execution and tear sheets.

Choose the engine that fits the question: vectorized for fast signal research, event-driven for order-level realism, cross-sectional for universes and portfolio backtests for allocations. Every engine forbids lookahead, charges explicit costs and reports its assumptions.

Try it live

Common APIs

Guides

Complete API reference

Browse all public exports, types, and feature imports below.

Edit this page on GitHub ↗Every code block on this site is executed in CI against the library.