/// <summary>
        /// Generate this instance.
        /// </summary>
        public override System.Collections.Generic.IEnumerable <Price> Generate()
        {
            Ticks++;

            lastPrice = currentPrice;

            if (Util.Random.Next() % 2 == 0)
            {
                currentPrice += Util.Random.NextDouble();
            }
            else
            {
                currentPrice -= Util.Random.NextDouble();
            }

            var newPrice = new Price(currentPrice, currentPrice - lastPrice);

            MarketData.Add(newPrice);

            yield return(newPrice);
        }