Overall Statistics
using System;
using System.Collections;
using System.Collections.Generic; 

namespace QuantConnect 
{
    using QuantConnect.Securities;
    using QuantConnect.Models; 

    //Sell in May Algorithm Example:
    public partial class QCPoormans : QCAlgorithm, IAlgorithm { 

        //Algorithm Variables
        private string symbol = "AAPL";
        private decimal cash = 10000;
        
        
        //Initialize the Strategy
        public override void Initialize() {
            SetCash(cash);
            SetStartDate(2011, 01, 01);
            SetEndDate(DateTime.Now.AddDays(-1));
            AddSecurity(SecurityType.Equity, symbol, Resolution.Minute);
        }
        
        
        
        public override void OnEndOfDay(string symbol)
        {
        	if(Time.Date.DayOfWeek == DayOfWeek.Friday)
        	{
        		SetHoldings(symbol, 0.95M,true);
        	} 
        	else if(Time.Date.DayOfWeek == DayOfWeek.Wednesday)
        	{
        		SetHoldings(symbol, -0.95M, true);
        	}
        	Plot(symbol, Securities[symbol].Price );
        }
        
    }
}