public OrdersController(IMapper mapper, ISecuritiesProvider securitiesProvider , IStockExchange stockExchange) { _securitiesProvider = securitiesProvider; _mapper = mapper; _stockExchange = stockExchange; }
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; }
public void SetUp() { _stockExchange = Factory.CreateStockExchange(); }
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(); }