public TradingAccountsController(IRepository <TradingAccount> tradingAccountRepository, IRepository <Trade> tradeRepository, ITradingAccountAppService tradingAccountAppService, IObjectMapper objectMapper) { _tradingAccountRepository = tradingAccountRepository; _tradeRepository = tradeRepository; _tradingAccountAppService = tradingAccountAppService; _objectMapper = objectMapper; }
public MonteCarloSimulationsController(IRepository <MonteCarloSimulation> repository, IRepository <Trade> tradeRepository, IRepository <Market> marketRepository, IMonteCarloSimulationAppService monteCarloSimulationAppService, ITradingAccountAppService tradingAccountAppService, IObjectMapper objectMapper) { _repository = repository; _tradeRepository = tradeRepository; _marketRepository = marketRepository; _monteCarloSimulationAppService = monteCarloSimulationAppService; _tradingAccountAppService = tradingAccountAppService; _objectMapper = objectMapper; }
public TradeAppService(ISqlExecuter sqlExecuter, IConsoleHubProxy consoleHubProxy, IBackgroundJobManager backgroundJobManager, IObjectMapper objectMapper, IRepository <Trade> repository, IRepository <Market> marketRepository, ITradingAccountAppService tradingAccountAppService, ITradingDayAppService tradingDayAppService, IRepository <MarketLogEntry> marketLogEntryRepository) : base(sqlExecuter, consoleHubProxy, backgroundJobManager, objectMapper) { this._repository = repository; this._marketRepository = marketRepository; this._tradingAccountAppService = tradingAccountAppService; this._tradingDayAppService = tradingDayAppService; this._marketLogEntryRepository = marketLogEntryRepository; }
public TradingAccountTests() { _TradingAccountAppService = Resolve <TradingAccountAppService>(); }