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