finish bringing follow_mode up to date
This commit is contained in:
parent
ab587747fb
commit
c9d46a5237
@ -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):
|
||||||
|
@ -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 }"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user