If you were to enclose both print statements with brackets, do you still experience the same issue with the first print statement?
For example,
protected override void OnExecution(IExecution execution)
{
if (entryOrder != null && entryOrder == execution.Order)
{
Print("Execution Price=" + execution.Price);
Print("Execution="+execution.ToString());
}
}
I look forward to your reply.
Comment