public CtpDealProcessor(CtpTradeClient client)
 {
     _client = client;
     _action = new ActionBlock <OrderEvent>((Action <OrderEvent>)OrderAction);
     _orders = new OrderMap();
 }
 public CtpDealProcessor(CtpTradeClient client)
 {
     _client = client;
     _action = new ActionBlock <OrderEvent>(OrderAction, DataflowHelper.SpscBlockOptions);
     _orders = new OrderMap();
 }