scripts: replay v4 - 加COALESCE(calc_version,0)<2防重复跑
This commit is contained in:
parent
809fb60a50
commit
548c7f0e33
@ -247,6 +247,7 @@ def main(dry_run=False):
|
||||
FROM paper_trades
|
||||
WHERE atr_at_entry > 0
|
||||
AND status NOT IN ('active', 'tp1_hit')
|
||||
AND COALESCE(calc_version, 0) < 2
|
||||
ORDER BY id ASC
|
||||
""")
|
||||
trades = cur.fetchall()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user