quantstrat
quantstrat copied to clipboard
SharpeRatio.deflated very slow for large audit environment
The SharpeRatio.deflated function is very slow for a large audit environment.
It seems likely that loops and especially memory allocation inside those loops is the culprit. There is likely also functionality that can be vectorized.