Overall Statistics
Total Trades
3
Average Win
0%
Average Loss
0%
Compounding Annual Return
-7.157%
Drawdown
12.000%
Expectancy
0
Net Profit
-3.727%
Sharpe Ratio
-0.171
Probabilistic Sharpe Ratio
15.795%
Loss Rate
0%
Win Rate
0%
Profit-Loss Ratio
0
Alpha
0.009
Beta
0.731
Annual Standard Deviation
0.117
Annual Variance
0.014
Information Ratio
0.308
Tracking Error
0.063
Treynor Ratio
-0.027
Total Fees
$3.99
Estimated Strategy Capacity
$5800000.00
Lowest Capacity Asset
BND TRO5ZARLX6JP
# region imports
from AlgorithmImports import *
# endregion

class CalmBlackPigeon(QCAlgorithm):

    def Initialize(self):
        self.SetStartDate(2021, 9, 10)  # 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)