using QuantConnect.Data;

namespace QuantConnect.Algorithm.CSharp.Benchmarks
{
    /// <summary>
    /// Benchmark Algorithm: Pure processing of 1 equity second resolution with the same benchmark.
    /// </summary>
    /// <remarks>
    /// This should eliminate the synchronization part of LEAN and focus on measuring the performance of a single datafeed and event handling system.
    /// </remarks>
    public class EmptySingleSecuritySecondEquityBenchmark : QCAlgorithm
    {
        public override void Initialize()
        {
            SetStartDate(2008, 01, 01);
            SetEndDate(2009, 01, 01);
            SetBenchmark(dt => 1m);
            AddEquity("SPY", Resolution.Second);
        }

        public override void OnData(Slice data)
        {
        }
    }
}