QCAlgorithm is aware of being used in live mode, optimization, and backtest (in QC Cloud or locally).
Actual Behavior
It's only possible to determine whether the algorithm is running in backtesting or live mode with the QCAlgorithm.LiveMode boolean member. Other runtime modes were not needed before the implementation of Optimization and Lean-CLI.
Potential Solution
N/A
Checklist
[x] I have completely filled out this template
[x] I have confirmed that this issue exists on the current master branch
[x] I have confirmed that this is not a duplicate issue by searching issues
Expected Behavior
QCAlgorithm
is aware of being used in live mode, optimization, and backtest (in QC Cloud or locally).Actual Behavior
It's only possible to determine whether the algorithm is running in backtesting or live mode with the
QCAlgorithm.LiveMode
boolean member. Other runtime modes were not needed before the implementation of Optimization and Lean-CLI.Potential Solution
N/A
Checklist
master
branch