Quick question regarding sending email upon order execution using SendMail() function.
I had a strategy with 'CalculateOnBarClose=False' where the email was sent immediately upon order execution with the SendMail() function in the 'OnBarUpdate' section; at the same time I sent a note to the Log file.
However, with a slightly modified strategy & 'CalculateOnBarClose=True', I do not get any email send & I do not get a note sent to the file.
Is there anything I should be aware of in the way strategies are executed when 'CalculateOnBarClose=True'.
thx
David
Comment