clean up code remnants
This commit is contained in:
parent
0c34104e45
commit
5155afb4e7
@ -816,7 +816,7 @@ class FreqaiDataKitchen:
|
||||
return False
|
||||
|
||||
def check_if_new_training_required(
|
||||
self, trained_timestamp: int = 0
|
||||
self, trained_timestamp: int
|
||||
) -> Tuple[bool, TimeRange, TimeRange]:
|
||||
|
||||
time = datetime.datetime.now(tz=datetime.timezone.utc).timestamp()
|
||||
|
@ -276,14 +276,8 @@ class IFreqaiModel(ABC):
|
||||
)
|
||||
dk.set_paths(metadata["pair"], new_trained_timerange.stopts)
|
||||
|
||||
# download candle history if it is not already in memory
|
||||
# load candle history into memory if it is not yet.
|
||||
if not self.dd.historic_data:
|
||||
# logger.info(
|
||||
# "Downloading all training data for all pairs in whitelist and "
|
||||
# "corr_pairlist, this may take a while if you do not have the "
|
||||
# "data saved"
|
||||
# )
|
||||
# dk.download_all_data_for_training(data_load_timerange, strategy.dp)
|
||||
self.dd.load_all_pair_histories(data_load_timerange, dk)
|
||||
|
||||
if not self.scanning:
|
||||
|
Loading…
Reference in New Issue
Block a user