isReplayMode() available but no isBacktesting() or isOptimizing()?

Fu510n

Member
Joined
Jan 7, 2025
Posts
15
Likes
10
I didn't see either in the SDK documentation but it would be helpful to be able to conditionally execute different code or (not) log during backtesting or optimization (in particular, I have a JavaFX dashboard that I could have a setting for to create or not - just trying to not have settings for everything. For the time being, I'll just have a single isBacktesting setting I guess).

Suggestions?
 
Last edited:
Top