Hi
I get in the charts the messages ‘No data available’ and ‘Out of sample’. If I change the period from February 2024 to November 2023 it works fine. I do not yet understand how the data is provided. How do I get the data for 2024?
This is the beginning of the code:
self.SetStartDate(2024, 2, 1) # Set Start Date
self.SetEndDate(2024, 2, 29) # Set End Date
self.SetCash(10000)
# Binance accepts both Cash and Margin account types.
self.SetBrokerageModel(BrokerageName.Binance, AccountType.Margin)
self.btcusd = self.AddCrypto("CTXCUSDT", Resolution.Minute, Market.Binance).Symbol
To unlock posting to the community forums please complete at least 30% of Boot Camp.
You can continue your Boot Camp training progress from the terminal. We hope to see you in the community soon!