public override double PredictValue(RealData.StockHistory stockHistory, int today, int daysInFuture)
 {
     throw new NotImplementedException();
 }
Esempio n. 2
0
        public override double PredictValue(RealData.StockHistory stockHistory, int today, int daysInFuture)
        {
            double change = -Math.Log(random.NextDouble());

            return(stockHistory.Closes[today] * change);
        }