Overall Statistics
class fxUniverseExample(QCAlgorithm):
    
    def Initialize(self):
        self.SetStartDate(2013,10, 7)  # Set Start Date
        self.SetEndDate(2013,10,11)    # Set End Date
        self.SetCash(100000)           # Set Strategy Cash

        self.fxPairs = ["EURUSD","GBPUSD","AUDUSD"]
        
        # Set Universe
        self.UniverseSettings.Resolution = Resolution.Daily
        self.AddUniverse(self.fxPairsUniverse)
        
    def fxPairsUniverse(self, coarse):
        return [Symbol.Create(ticker, SecurityType.Forex, Market.FXCM) for ticker in self.fxPairs]
        
    def OnData(self, data):
        
        # Buy the fx pairs, use equal weights
        activeSec = [x.Key for x in self.ActiveSecurities]
        for symbol in activeSec:
            self.SetHoldings(symbol,1/len(self.fxPairs))
            
    # Ignites when security is added to universe
    def OnSecuritiesChanged(self, changes):
        self._changes = changes