public MarketOrdersViewModel(MarketOrderService marketOrderService, IEventAggregator eventAggregator) { _marketOrderService = marketOrderService; _eventAggregator = eventAggregator; _eventAggregator.Subscribe(this); ViewMarketDetailsCommand = new DelegateCommand <MarketOrder>(executeViewMarketDetails); ViewTransactionDetailsCommand = new DelegateCommand <MarketOrder>(executeViewTransactionDetails); ViewOrderCommand = new DelegateCommand <MarketOrder>(executeViewOrder, canExecuteViewOrder); }
public void SingleFeedSourceExpertAdvisor_Works() { var marketFeed = new MarketFeedService(); var marketOrder = new MarketOrderService(); var expertAdvisor = new ExpertAdvisor(marketFeed, marketOrder); }