finish bringing follow_mode up to date

This commit is contained in:
Robert Caulk 2022-07-25 09:24:40 +02:00
parent ab587747fb
commit c9d46a5237
2 changed files with 2 additions and 2 deletions

View File

@ -151,7 +151,7 @@ class FreqaiDataDrawer:
for pair in whitelist_pairs: for pair in whitelist_pairs:
self.follower_dict[pair] = {} self.follower_dict[pair] = {}
with open(self.follow_path_dict, "w") as fp: with open(self.follower_dict_path, "w") as fp:
json.dump(self.follower_dict, fp, default=self.np_encoder) json.dump(self.follower_dict, fp, default=self.np_encoder)
def np_encoder(self, object): def np_encoder(self, object):

View File

@ -287,7 +287,7 @@ class IFreqaiModel(ABC):
elif self.follow_mode: elif self.follow_mode:
dk.set_paths(metadata["pair"], trained_timestamp) dk.set_paths(metadata["pair"], trained_timestamp)
logger.info( logger.info(
"FreqAI instance set to follow_mode, finding existing pair" "FreqAI instance set to follow_mode, finding existing pair "
f"using { self.identifier }" f"using { self.identifier }"
) )