Overall Statistics
namespace QuantConnect.Algorithm.CSharp
{
    public class TachyonMultidimensionalPrism : QCAlgorithm
    {
		
		// Dictionary to hold SymbolData objects
		Dictionary<Symbol, SymbolData> symbols;
		
        public override void Initialize()
        {
            SetStartDate(2020, 2, 10);  //Set Start Date
            SetEndDate(2020, 2, 18);
            SetCash(100000);             //Set Strategy Cash
            
            // Add SPY
            Symbol spy = AddEquity("SPY", Resolution.Minute).Symbol;
            // Initialize dictionary
            symbols = new Dictionary<Symbol, SymbolData>(); 
			// Add SymbolData object for SPY to dictionary
			symbols.Add(spy, new SymbolData(this, spy));

        }
        
        
        public override void OnData(Slice data){
        	
        	foreach(var symbol in data.Keys){
        		
        		var riskPerShare = symbols[symbol].RiskPerShare;
        		
        	}
        }

    }
    
    
    public class SymbolData
    {
    	private QCAlgorithm _algorithm;
    	private Symbol _symbol;
    	public decimal RiskPerShare {get; set;}
    	
    	public SymbolData(QCAlgorithm algorithm, Symbol symbol)
    	{
    		_algorithm = algorithm;
    		_symbol = symbol;
    		// Calculate RiskPerShare
    		// RiskPerShare = ....
    	}
    	
    }
}