Hello,
How to determine from strategy code is it running in backtest or live trading?
Thank you
How to determine from strategy code is it running in backtest or live trading?
Thank you
Rename
Use this method to get the StrategyExecutionMode:
https://wealth-lab.com/Support/ApiReference/UserStrategyBase#ExecutionMode
The result of the above method is one of the enums here:
https://wealth-lab.com/Support/ApiReference/Enums#StrategyExecutionMode
https://wealth-lab.com/Support/ApiReference/UserStrategyBase#ExecutionMode
The result of the above method is one of the enums here:
https://wealth-lab.com/Support/ApiReference/Enums#StrategyExecutionMode
Your Response
Post
Edit Post
Login is required