The bot should be able to calculate various portfolio statistics such as returns, sharpe ratios, drawdowns, etc.
This is currently not possible, relies on the API being extended so that we can get historical data points (see QuantConnect/Lean#3150 and QuantConnect/Lean#3301). We could also rely on the RuntimeStatistics and Statistics from the AlgorithmLiveResult object, but this would also need the API to be extended (see #1).
The bot should be able to calculate various portfolio statistics such as returns, sharpe ratios, drawdowns, etc.
This is currently not possible, relies on the API being extended so that we can get historical data points (see QuantConnect/Lean#3150 and QuantConnect/Lean#3301). We could also rely on the
RuntimeStatisticsandStatisticsfrom theAlgorithmLiveResultobject, but this would also need the API to be extended (see #1).