private IOrder entryOrder = null;
#endregion
//Email Alert
protected override void OnExecution(IExecution execution)
{
if (entryOrder != null && entryOrder == execution.Order)
{
Print(execution.ToString());
SendMail("[email protected]", "[email protected]", "Trade Alert", execution.ToString());
}
}
Comment