Zipline
This beginner tutorial explains Zipline’s event-driven structure for algorithmic trading simulations. An algorithm defines initialization and per-event data handling functions, using a persistent context to store state and a data object for current market…
EquitiesBacktestingMomentumTechnical indicators
Zipline
This Zipline example builds a daily long-short equity portfolio from the three assets with the highest RSI and the three with the lowest RSI. It assigns each selected long a target weight of one third and each short a target weight of negative one third,…
EquitiesMomentumTechnical indicatorsPortfolio construction