[Fix]Close #1551
This commit is contained in:
parent
20f8032707
commit
81454e7dfb
@ -541,7 +541,7 @@ class CtaEngine(BaseEngine):
|
|||||||
DbBarData.select()
|
DbBarData.select()
|
||||||
.where(
|
.where(
|
||||||
(DbBarData.vt_symbol == vt_symbol)
|
(DbBarData.vt_symbol == vt_symbol)
|
||||||
& (DbBarData.interval == interval)
|
& (DbBarData.interval == interval.value)
|
||||||
& (DbBarData.datetime >= start)
|
& (DbBarData.datetime >= start)
|
||||||
& (DbBarData.datetime <= end)
|
& (DbBarData.datetime <= end)
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user