Ejemplo n.º 1
0
 public void ReportOrderPlaced(Messaging.Protobuf.Order order)
 {
     OrdersPlacedCount++;
     StateManager.SetInitialStateAsync(new Dictionary <string, object>
     {
         { RuleConfiguration.ORDERSPLACEDCOUNT, OrdersPlacedCount }
     }
                                       );
     StrategyExecutionReport.Add(order.EntryTime + "," + order.Label + "," + "*" + "," + "OnOrderPlaced");
 }
Ejemplo n.º 2
0
 public void ReportOrderModified(Messaging.Protobuf.Order order, string timestamp)
 {
     StrategyExecutionReport.Add(timestamp + "," + order.Label + "," + "*" + "," + "OnOrderModified");
 }
Ejemplo n.º 3
0
 public void ReportOrderPlaced(Messaging.Protobuf.Order order)
 {
     OrdersPlacedCount++;
     StrategyExecutionReport.Add(order.EntryTime + "," + order.Label + "," + "*" + "," + "OnOrderPlaced");
 }