public Form1(ISymbolRepository symbolRepository, ISignRepository signRepository) { InitializeComponent(); SymbolRepository = symbolRepository; SignRepository = signRepository; Init(); }
public RepositoryBootstrapper( IExchangeFactory exchangeFactory, IIntervalFactory intervalFactory, ICurrencyFactory currencyFactory, ISymbolFactory symbolFactory, IOrderSideFactory orderSideFactory, IStorageTransactionFactory <HistorianDbContext> storageTransactionFactory, IHistorianRepository historianRepository, IExchangeRepository exchangeRepository, IIntervalRepository intervalRepository, ICurrencyRepository currencyRepository, ISymbolRepository symbolRepository, IOrderSideRepository orderSideRepository) { ExchangeFactory = exchangeFactory; IntervalFactory = intervalFactory; CurrencyFactory = currencyFactory; SymbolFactory = symbolFactory; OrderSideFactory = orderSideFactory; StorageTransactionFactory = storageTransactionFactory; HistorianRepository = historianRepository; ExchangeRepository = exchangeRepository; IntervalRepository = intervalRepository; CurrencyRepository = currencyRepository; SymbolRepository = symbolRepository; OrderSideRepository = orderSideRepository; }
public SymbolService(ISymbolRepository repo) { if (repo == null) throw new ArgumentNullException("The symbol repository cannot be null."); this.repo = repo; symbols = repo.GetAllSymbols(); }
public Rule( ISymbolRepository symbolRepository, ITradingService executionService, IQueryService queryService) { _symbolRepository = symbolRepository; _executionService = executionService; _queryService = queryService; }
public ResetCommand(IUserRepository userRepository, ISymbolRepository symbolRepository, IMessageService messageService, ISocketServiceManager socketServiceManager) { _userRepository = userRepository; _symbolRepository = symbolRepository; _messageService = messageService; _socketServiceManager = socketServiceManager; }
public PriceCommand(IUserRepository userRepository, IPriceRepository priceRepository, ISymbolRepository symbolRepository, IMessageService messageService) { _userRepository = userRepository; _priceRepository = priceRepository; _symbolRepository = symbolRepository; _messageService = messageService; }
public StatusCommand(IUserRepository userRepository, ISymbolRepository symbolRepository, IMessageService messageService, ISocketHostedService socketService, ISocketServiceManager socketServiceManager) { _userRepository = userRepository; _symbolRepository = symbolRepository; _messageService = messageService; _socketService = socketService; _socketServiceManager = socketServiceManager; }
public SubscriptionCommand(IUserRepository userRepository, ISubscriptionRepository subscriptionRepository, ISymbolRepository symbolRepository, IMessageService messageService, ISocketServiceManager socketServiceManager) { _userRepository = userRepository; _subscriptionRepository = subscriptionRepository; _symbolRepository = symbolRepository; _messageService = messageService; _socketServiceManager = socketServiceManager; }
public VoteTests(FomoApiFixture webApiFactoryFixture) { webApiFactoryFixture.CreateServer(FomoApiFixture.WithNoHostedServices); _client = webApiFactoryFixture.GetClientNotAuth(); var mockDbOptions = new Mock <IOptionsMonitor <DbOptions> >(); mockDbOptions.Setup(x => x.CurrentValue).Returns(new DbOptions { ConnectionString = AppTestSettings.Instance.TestDBConnectionString }); _symbolRepo = new SymbolRepository(mockDbOptions.Object); }
public SingleQuoteContext( IStockClient stockClient, SingleQuoteCache queryResultCache, ISymbolRepository symbolRepository, IStockDataService stockDataService, IStockNotificationCenter notificationCenter, SingleQuoteQuery query, ILogger <SingleQuoteContext> logger) { _stockClient = stockClient; _queryResultCache = queryResultCache; _symbolRepository = symbolRepository; _stockDataService = stockDataService; _notificationCenter = notificationCenter; _query = query; _logger = logger; }
public SymbolsController(ISymbolRepository SymbolRepository, IFiltersRepository FiltersRepository) { _ISymbolRepo = SymbolRepository; _IFiltersRepo = FiltersRepository; }
public SymbolSearchService(IStockClient client, ISymbolRepository symbolRepository, StockSearchCache cache) { _client = client; _symbolRepository = symbolRepository; _cache = cache; }
public SymbolManager(ISymbolRepository symbolRepository) { _symbolRepository = symbolRepository; }
public PositionService(ISymbolRepository symbolRepository) { _symbolRepository = symbolRepository; _htPositions = new ConcurrentDictionary <string, Position>(); }
public PricingService(ISymbolRepository sr) { _allSymbols = new List <string>(); _symbolRepository = sr; _htPrices = new ConcurrentDictionary <string, SymbolPrice>(); }