What is the code for flatten everything in an account for a strategy? also, how do I print my Max Drawdown for a strategy. I am having trouble finding this in the help guide.
IF(thing happens)
{
// code for flatten everything, all instruments, entire account;
// Print(Code for max draw down);
}
thank you

Comment