- ago
Hello,
How to determine from strategy code is it running in backtest or live trading?
Thank you
0
748
Solved
1 Replies

Reply

Bookmark

Sort
paul19868
 ( 0.00% )
- ago
#1
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
0
Best Answer

Reply

Bookmark

Sort