コード例 #1
0
 public TransactionPairs(Func <double, double> currentPrice, ProfitLoss pnl, TransactionPairsBinary transactionPairs)
 {
     this.currentPrice     = currentPrice;
     profitLossCalculation = pnl;
     this.transactionPairs = transactionPairs;
 }
コード例 #2
0
 public TransactionPairs(Func <double, double> currentPrice, ProfitLoss pnl)
 {
     this.currentPrice     = currentPrice;
     profitLossCalculation = pnl;
     this.transactionPairs = new TransactionPairsBinary(TradeData);
 }