Beispiel #1
0
 void OnExecutionReport(object sender, ExecutionReportEventArgs e)
 {
     lock (this.SyncRoot)
     {
         this.processor.WakeUp();
     }
 }
Beispiel #2
0
 private void OnExecutionReport(object sender, ExecutionReportEventArgs e)
 {
     OpenOrderResult res = null;
     TradeResults.Results.TryGetValue(e.Report.ClientOrderId, out res);
     res?.Register(e.Report.OrderType == TradeRecordType.Position);
     //Console.WriteLine("{0} {1}", e.Report.ClientOrderId, e.Report.OrderStatus);
 }
Beispiel #3
0
 void RaiseExecutionReport(FxMessage message)
 {
     var eh = this.ExecutionReport;
     if (eh != null)
     {
         var e = new ExecutionReportEventArgs (message);
         eh(this, e);
     }
 }
Beispiel #4
0
 void OnExecutionReport(object sender, ExecutionReportEventArgs e)
 {
     Console.WriteLine("OnExecutionReport(): ExecutionType = {0}; OrderStatus = {1}; OrderType = {2}", e.Report.ExecutionType, e.Report.OrderStatus, e.Report.OrderType);
 }