Skip to Content
Python for Algorithmic Trading Cookbook
book

Python for Algorithmic Trading Cookbook

by Jason Strimpel
August 2024
Intermediate to advanced
406 pages
9h 25m
English
Packt Publishing
Content preview from Python for Algorithmic Trading Cookbook

7

Event-Based Backtesting Factor Portfolios with Zipline Reloaded

Zipline Reloaded is an event-driven backtesting framework that processes market events sequentially, allowing for more realistic modeling of order execution and slippage. Unlike vector-based frameworks, it accounts for the temporal sequence of market events, making it suitable for complex strategies that involve conditional orders or asset interactions. While generally slower than vector-based approaches, event-based backtesting frameworks tend to better simulate market dynamics making them helpful for path-dependent strategies requiring intricate order logic, state management, and risk management.

Zipline Reloaded is well suited for backtesting large universes and complex portfolio ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Python Algorithmic Trading Cookbook

Python Algorithmic Trading Cookbook

Pushpak Dagade

Publisher Resources

ISBN: 9781835084700Supplemental Content