Overall Statistics
Total Trades
2
Average Win
0%
Average Loss
0%
Compounding Annual Return
-0.184%
Drawdown
6.500%
Expectancy
0
Net Profit
-0.287%
Sharpe Ratio
-1.225
Probabilistic Sharpe Ratio
8.923%
Loss Rate
0%
Win Rate
0%
Profit-Loss Ratio
0
Alpha
-0.04
Beta
0.079
Annual Standard Deviation
0.031
Annual Variance
0.001
Information Ratio
-0.434
Tracking Error
0.148
Treynor Ratio
-0.479
Total Fees
$0.00
Estimated Strategy Capacity
$3600000.00
Lowest Capacity Asset
BTCUSD XJ
Portfolio Turnover
0.04%
# region imports
from AlgorithmImports import *
# endregion

class CryingBlackSardine(QCAlgorithm):

    def Initialize(self):
        self.SetStartDate(2022, 5, 5)
        self.SetCash(100000)
        self.AddCrypto("BTCUSDT", Resolution.Second)
        self.AddCryptoFuture("BTCUSDT", Resolution.Second)
        self.AddForex("EURUSD", Resolution.Minute)
        self.AddCrypto("BTCUSD", Resolution.Minute)
        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("BTCUSDT", 0.1)
            self.SetHoldings("EURUSD", 0.1)
            self.SetHoldings("BTCUSD", 0.1)
            self.SetHoldings("SPY", 0.1)
            self.SetHoldings("BND", 0.1)
            self.SetHoldings("AAPL", 0.1)