Ejemplo n.º 1
0
 public PositionManager(IPositionRepository positionRepository,
                        IMessageBus messageBus,
                        IPositionCache positionCache,
                        IUpdatesManager updatesManager,
                        ITraderInfoManager traderInfoManager)
 {
     _positionRepository = positionRepository;
     _messageBus         = messageBus;
     _positionCache      = positionCache;
     _updatesManager     = updatesManager;
     _traderInfoManager  = traderInfoManager;
 }
Ejemplo n.º 2
0
 public OrderManager(IOrderRepository order,
                     IPositionManager positionManager,
                     IUpdatesManager updatesManager,
                     ITraderInfoManager trader,
                     IMessageBus messageBus)
 {
     _order           = order;
     _positionManager = positionManager;
     _updatesManager  = updatesManager;
     _trader          = trader;
     _messageBus      = messageBus;
 }
Ejemplo n.º 3
0
 public TraderInfoController(ITraderInfoManager manager, IMapper mapper)
 {
     _manager = manager;
     _mapper  = mapper;
 }