fix hyperopt - freqai
This commit is contained in:
parent
5b826150df
commit
2c8e5b191b
@ -174,8 +174,7 @@ class FreqaiDataDrawer:
|
|||||||
with open(self.pair_dictionary_path, 'w') as fp:
|
with open(self.pair_dictionary_path, 'w') as fp:
|
||||||
rapidjson.dump(
|
rapidjson.dump(
|
||||||
self.pair_dict, fp, default=self.np_encoder,
|
self.pair_dict, fp, default=self.np_encoder,
|
||||||
number_mode=rapidjson.NM_NATIVE
|
number_mode=rapidjson.NM_NATIVE)
|
||||||
)
|
|
||||||
else:
|
else:
|
||||||
# save_lock it's not working with hyperopt
|
# save_lock it's not working with hyperopt
|
||||||
with open(self.pair_dictionary_path, 'w') as fp:
|
with open(self.pair_dictionary_path, 'w') as fp:
|
||||||
|
Loading…
Reference in New Issue
Block a user