I would like to send myself an alert email under certain (crisis) conditions *if* I'm executing live, rather than in back-testing mode.
Is there a way in my NinjaScript code to distinguish between the two conditions? How can I tell whether I'm truly "live" rather than under simulation?
Comment