private void OnExecution(object sender, ExecutionUpdateEventArgs e)
{
if (e.Execution.Order != null)
{
if (e.Execution.Order.OrderState == OrderState.Filled)
{
do this ......
return;
}
Is this valid? Are there other references somewhere? What is the simplest way to say LongOrderFilled now do this, and ShortOrderFilled, now do that.
sandman
Comment