mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-25 08:15:15 +00:00
revert time range check change, it's the same lol
This commit is contained in:
parent
a78119b9ca
commit
7b60e34821
|
@ -93,9 +93,7 @@ func (q *AsyncTimeRangedBatchQuery) Query(ctx context.Context, ch interface{}, s
|
|||
for i := 0; i < listLen; i++ {
|
||||
item := listRef.Index(i)
|
||||
entryTime := q.T(item.Interface())
|
||||
|
||||
// inclusive time selection
|
||||
if startTime.After(entryTime) || endTime.Before(entryTime) {
|
||||
if entryTime.Before(startTime) || entryTime.After(endTime) {
|
||||
continue
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user