修改process_only_new_candles为False,让策略在每个循环都检查数据,而不只是在有新蜡烛时
This commit is contained in:
parent
ba7565f442
commit
5959800e51
@ -29,7 +29,7 @@ class FreqaiPrimer(IStrategy):
|
||||
use_custom_roi = True
|
||||
|
||||
# FreqAI 要求
|
||||
process_only_new_candles = True
|
||||
process_only_new_candles = False
|
||||
|
||||
stoploss = -0.15 # 固定止损 -15% (大幅放宽止损以承受更大波动)
|
||||
trailing_stop = True
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user