public ForexTradingStatisticsService( ICsvDataRepository <TradeLogRecord> tradeLogCsvDataRepository, ITradingResultsRepository tradingResultsRepository) { _tradeLogCsvDataRepository = tradeLogCsvDataRepository; _tradingResultsRepository = tradingResultsRepository; }
public ForexTradingService(ITradingResultsRepository tradingResultsRepository) { _tradingResultsRepository = tradingResultsRepository; BuyQuantities = new List<double>(); Profits = new List<double>(); TradeLog = new List<TradeLogRecord>(); MarginRatio = 0.02; BidSize = 2000.0; }
public ForexTradingService(ITradingResultsRepository tradingResultsRepository) { _tradingResultsRepository = tradingResultsRepository; BuyQuantities = new List <double>(); Profits = new List <double>(); TradeLog = new List <TradeLogRecord>(); MarginRatio = 0.02; BidSize = 2000.0; }