public TrainingSimulator( IMarketDataCache dataCache, ISimulationCache simulationCache) { _dataCache = dataCache; _simulationCache = simulationCache; }
public BacktestingSimulator( IMarketDataCache dataCache, ISimulationCache simulationCache) { _dataCache = dataCache; _simulationCache = simulationCache; }
public StrategyKellyStaking( IStrategy strategy, IMarketDataCache marketDataCache, ISimulationCache simulationCache) { _strategy = strategy; _marketDataCache = marketDataCache; _simulationCache = simulationCache; }
public SimulatorFactory( IMarketDataCache marketDataCache, ISimulationCache simulationCache) { _typeLookup = new Dictionary <Type, Func <ISimulator> > { { typeof(TrainingSimulator), () => new TrainingSimulator(marketDataCache, simulationCache) }, { typeof(BacktestingSimulator), () => new BacktestingSimulator(marketDataCache, simulationCache) } }; }
public LinearSearch( IMarketDataCache dataCache, ISimulationCache simulationCache, IInvestorProvider investorProvider, StrategyFactory strategyFactory) { _dataCache = dataCache; _simulationCache = simulationCache; _investorProvider = investorProvider; _strategyFactory = strategyFactory; }
public OptimiserFactory( IMarketDataCache marketDataCache, ISimulationCache simulationCache, IInvestorProvider investorProvider, StrategyFactory strategyFactory) { _typeLookup = new Dictionary <Type, Func <ISearcher> > { { typeof(LinearSearch), () => new LinearSearch(marketDataCache, simulationCache, investorProvider, strategyFactory) }, }; }
public StrategyFactory( IMarketDataCache marketDataCache, ISimulationCache simulationCache, IInvestorProvider investorProvider, RatingService ratingService) { _marketDataCache = marketDataCache; _simulationCache = simulationCache; _ratingService = ratingService; _optimiserFactory = new OptimiserFactory(_marketDataCache, _simulationCache, investorProvider, this); }
public WeightedStrategy( ISimulationCache simulationCache, IStakingService stakingService, ISearcher searcher, WeightedParameters parameters) { _simulationCache = simulationCache; _stakingService = stakingService; _searcher = searcher; _parameters = parameters; }
protected static StrategyFactory CreateStrategyFactory( IMarketDataCache marketDataCache, ISimulationCache simulationCache, IInvestorProvider investorProvider, RatingService ratingService) => new (marketDataCache, simulationCache, investorProvider, ratingService);