This commit is contained in:
Robert Caulk 2022-06-06 16:26:07 -06:00 committed by GitHub
parent e6c5e737a2
commit 3c2e314ee5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -252,11 +252,8 @@ class FreqaiExampleStrategy(IStrategy):
self.model.bridge.data_drawer.save_drawer_to_disk()
else:
self.model.bridge.data_drawer.save_follower_dict_to_disk()
else:
roi_price = abs(trade_candle['prediction'])
roi_price = abs(trade_candle['prediction'])
roi_price = pair_dict[pair]['prediction' + entry_tag]
roi_time = self.max_roi_time_long.value
roi_decay = roi_price * (1 - ((current_time - trade.open_date_utc).seconds) /