Ejemplo n.º 1
0
 private EventHandler <DealExecutedEventArgs> WhenOneOrderIsExecuted(InstructionExecutionContext instructionExecutionContext)
 {
     // TODO: must process the message only if it's related to the proper instruction
     return((sender, dealExecuted) => instructionExecutionContext.RecordOrderExecution(dealExecuted.Quantity));
 }