Overall Statistics
Total Trades
3
Average Win
0%
Average Loss
0%
Compounding Annual Return
-0.762%
Drawdown
22.700%
Expectancy
0
Net Profit
-1.139%
Sharpe Ratio
0.033
Probabilistic Sharpe Ratio
7.749%
Loss Rate
0%
Win Rate
0%
Profit-Loss Ratio
0
Alpha
0.013
Beta
0.826
Annual Standard Deviation
0.153
Annual Variance
0.023
Information Ratio
0.244
Tracking Error
0.062
Treynor Ratio
0.006
Total Fees
$4.30
Estimated Strategy Capacity
$5100000.00
Lowest Capacity Asset
BND TRO5ZARLX6JP
# region imports
from AlgorithmImports import *
# endregion

class JumpingGreenFox(QCAlgorithm):

    def Initialize(self):
        self.SetStartDate(2021, 6, 11)  # Set Start Date
        self.SetCash(100000)  # Set Strategy Cash
        self.AddEquity("SPY", Resolution.Minute)
        self.AddEquity("BND", Resolution.Minute)
        self.AddEquity("AAPL", Resolution.Minute)

    def OnData(self, data: Slice):
        if not self.Portfolio.Invested:
            self.SetHoldings("SPY", 0.33)
            self.SetHoldings("BND", 0.33)
            self.SetHoldings("AAPL", 0.33)