We updated the order fill models for live trading to allow partial fills. This is managed by a "OrderEvent" class. A single order can have multiple order events (e.g. 1000 shares filled in 2x500 lots over time at different prices). The backtest attached has a $500 per trade fee which gives us the sharp drops in the backtest curve!