mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Ensure train ordering after restart
Ensure lowest timestamps get trained first after restart
This commit is contained in:
parent
f9460c80c2
commit
ad652817ef
|
@ -711,7 +711,7 @@ class IFreqaiModel(ABC):
|
|||
key=lambda k: k[1]['trained_timestamp'])
|
||||
for pair in pair_dict_sorted:
|
||||
if pair[0] in current_pairlist:
|
||||
best_queue.appendleft(pair[0])
|
||||
best_queue.appendright(pair[0])
|
||||
for pair in current_pairlist:
|
||||
if pair not in best_queue:
|
||||
best_queue.appendleft(pair)
|
||||
|
|
Loading…
Reference in New Issue
Block a user