fix hyperopt - freqai

This commit is contained in:
Wagner Costa Santos 2022-09-05 17:43:55 -03:00
parent 5b826150df
commit 2c8e5b191b

View File

@ -174,8 +174,7 @@ class FreqaiDataDrawer:
with open(self.pair_dictionary_path, 'w') as fp:
rapidjson.dump(
self.pair_dict, fp, default=self.np_encoder,
number_mode=rapidjson.NM_NATIVE
)
number_mode=rapidjson.NM_NATIVE)
else:
# save_lock it's not working with hyperopt
with open(self.pair_dictionary_path, 'w') as fp: