public override double PredictValue(RealData.StockHistory stockHistory, int today, int daysInFuture) { throw new NotImplementedException(); }
public override double PredictValue(RealData.StockHistory stockHistory, int today, int daysInFuture) { double change = -Math.Log(random.NextDouble()); return(stockHistory.Closes[today] * change); }