mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
fix key error in example strat
This commit is contained in:
parent
ce365eb9e3
commit
fe36b08fce
|
@ -252,7 +252,7 @@ class FreqaiExampleStrategy(IStrategy):
|
|||
self.model.bridge.data_drawer.save_drawer_to_disk()
|
||||
else:
|
||||
if pair_dict[pair]['prediction' + entry_tag] > 0:
|
||||
roi_price = abs(trade_candle['prediction' + entry_tag])
|
||||
roi_price = abs(trade_candle['prediction'])
|
||||
else:
|
||||
with self.model.bridge.lock:
|
||||
self.model.bridge.data_drawer.pair_dict[pair][
|
||||
|
|
Loading…
Reference in New Issue
Block a user