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

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

    public partial class BasicTemplateAlgorithm : QCAlgorithm, IAlgorithm { 
        string symbol = "IBM";        

        public override void Initialize() {
            SetStartDate(2013, 06, 01);
            SetEndDate(DateTime.Now.Date.AddDays(-1)); 
            SetCash(30000); 
            AddSecurity(SecurityType.Equity, symbol, Resolution.Minute);
            SetRunMode(RunMode.Series);
        }
        public override void OnTradeBar(Dictionary<string, TradeBar> data) {
            if (Portfolio.HoldStock == false) {
                Order(symbol, 50); 
            } 
        }
        public override void OnEndOfDay() {
            Debug(Time.Date.ToShortDateString() + " EOD Message.");
        }
    }
}