initialize, handle_data, context, data, order_target_percent, schedule_function, pipelines.
Three things change in the code:
- Everything that touches the engine is awaited, and the hooks are
async def. data.currentanddata.historytake lists and return Polars frames, so.ilocand.locbecomebars["close"][-1].- Orders take an execution style:
style=MarketOrder().
Quantopian research often uses APIs that never made it into open-source Zipline (
quantopian.pipeline.data, Morningstar fundamentals, Q500US filters). In Ziplime, named universes come from context.universe_symbols(name) when your asset database carries them and fundamentals from point-in-time datasets or your own data sources.