INNER CODE UNIT · Python
_download_or_load_all_timeframes_candles
Erfaniaa/crypto-trading-strategy-backtester · backtester.py:105
def _download_or_load_all_timeframes_candles(self):
print("download_or_load_all_timeframes_candles started")
for timeframe in self.all_timeframes_list:
self._download_or_load_candles(timeframe)
print("download_or_load_all_timeframes_candles finished")
def _init_candles_statistics(self):
self.position_result_and_candles_list = []
self.candles_open_to_close_list = []
self.candles_open_to_close_abs_list = []
self.candles_open_to_close_random_signed_list = []
self.candles_open_to_high_list = []
self.candles_open_to_low_list = []
self.candles_low_to_high_list = []
self.candles_low_and_high_to_open_list = []
self.candles_low_and_high_to_open_abs_list = []
self.candles_open_to_close_percent_list = []