Lucas:
The minimal tracking has been requested, and could be possible to wire in some flags to get that mode.
To set some context on what we are focusing on as maintainers, we focus on minute backtest mode; i.e. the pairing of minute data and daily performance emission is the primary case, as far as performance (runtime) optimization, since that is the backtest case on Quantopian.
When using minute bars, the profile changes so that the performance metrics are a marginal cost compared to data sources, position tracking and features like history.
However, we should be amenable to fixes to the over all performance metrics calculations, since a rising tide lifts all boats.
It should be possible to postpone the calculation of metrics as you mentioned, that would involve setting a flag in tracker.handle_market_close_daily to disable the risk metric creation.
We have looked at using some Cython, and we have started using it internally. It's a great tool to attack painful bottlenecks, I would expect more tight loops to be converted over to Cython soon. And you have some patches doing so, we would welcome them!
Thanks!
- Eddie