Chapter 25. Automated Deployment of Trading Strategies
Once a strategy and engine design are in place, the remaining challenge is to run them automatically and observably over time. This chapter turns the market and broker engine into an automated deployment platform that reuses the baseline machine-learning strategy from Vectorized and Event-Based Backtesting, first through historical replay and then through simulated real-time streaming with logging, monitoring, and operational safeguards.
This chapter connects the earlier event-based backtest to the engine package from
Chapter 24. The same baseline logistic-regression strategy is wrapped in a deployable interface, fed with resampled bars derived from incoming ticks, and run first on historical end-of-day replay and then on irregular simulated tick streams. Along the way, this chapter adds the operational layer that a deployment needs: model refits, stateful order generation, structured logs, and monitoring summaries. The examples assume ...
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.
Read now
Unlock full access