public OrdersController(IMapper mapper, ISecuritiesProvider securitiesProvider
                         , IStockExchange stockExchange)
 {
     _securitiesProvider = securitiesProvider;
     _mapper             = mapper;
     _stockExchange      = stockExchange;
 }
Beispiel #2
0
 public TradeService(
     IStockExchange stockExchange,
     ICurrencyRatesStore currencyRatesStore,
     ILogger <ITradeService> logger)
 {
     _stockExchange      = stockExchange;
     _currencyRatesStore = currencyRatesStore;
     _logger             = logger;
 }
 public Seller(string name, string symbol, int count, double price, IStockExchange stockExchange) : base(name, symbol, count, price)
 {
     this.stockExchange = stockExchange;
 }
 public TrendDetectingService(IStockExchange stockExchange)
 {
     _stockExchange = stockExchange;
 }
Beispiel #5
0
 public void SetUp()
 {
     _stockExchange = Factory.CreateStockExchange();
 }
Beispiel #6
0
 public Bank(IStockExchange stocks, ICurrencyListing currencies, string internalCurrencyCode)
     : base(currencies)
 {
     this.stocks           = stocks;
     this.internalCurrency = currencies.GetCurrency(internalCurrencyCode, DateTime.Now);
 }
 public DrugaDomacaZadaca_Burza()
 {
     _stockExchange = Factory.CreateStockExchange();
 }