コード例 #1
0
 public CtpDealProcessor(CtpTradeClient client)
 {
     _client = client;
     _action = new ActionBlock <OrderEvent>((Action <OrderEvent>)OrderAction);
     _orders = new OrderMap();
 }
コード例 #2
0
 public CtpDealProcessor(CtpTradeClient client)
 {
     _client = client;
     _action = new ActionBlock <OrderEvent>(OrderAction, DataflowHelper.SpscBlockOptions);
     _orders = new OrderMap();
 }