This notebook helps you define a proper timerange for training, validating and testing your strategy.
How to use:
-
Edit this line to your currency location:
token = pd.read_feather('user_data/data/binance/futures/BTC_USDT_USDT-1d-futures.feather')
(use read_hdf or read_json if you have your database in another format)
-
Optionally edit start_date and end_date to your desire timeframe for testing.
-
Then use one of the methods to get timeranges for testing and validating your strategy.