public TransactionPairs(Func <double, double> currentPrice, ProfitLoss pnl, TransactionPairsBinary transactionPairs) { this.currentPrice = currentPrice; profitLossCalculation = pnl; this.transactionPairs = transactionPairs; }
public TransactionPairs(Func <double, double> currentPrice, ProfitLoss pnl) { this.currentPrice = currentPrice; profitLossCalculation = pnl; this.transactionPairs = new TransactionPairsBinary(TradeData); }