private AuthorizedStrategyMonitor(IHubContext context)
 {
     //向行情模块添加消息列表映射
     MarketInfo.SetStrategyQueue(new KeyValuePair <String, Queue>(ModuleName, queue_authorized_market.GetQueue()));
     _context = context;
 }
Example #2
0
 private BatchTradeMonitor(IHubContext context)
 {
     //向行情模块添加消息列表映射
     MarketInfo.SetStrategyQueue(new KeyValuePair <String, Queue>(BatchStrategy, queue_batchtrade_market.GetQueue()));
     _context = context;
 }