mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 14:55:16 +00:00
max: add warning for the uneffected conditions
This commit is contained in:
parent
50871c1b61
commit
04a15340bc
|
@ -178,7 +178,10 @@ func (e *Exchange) QueryClosedOrders(ctx context.Context, symbol string, since,
|
||||||
limit := 1000 // max limit = 1000, default 100
|
limit := 1000 // max limit = 1000, default 100
|
||||||
orderIDs := make(map[uint64]struct{}, limit*2)
|
orderIDs := make(map[uint64]struct{}, limit*2)
|
||||||
|
|
||||||
log.Warn("max exchange does not support time-range-based query, we will start from the first record")
|
log.Warn("since/until condition will not be effected on closed orders query, max exchange does not support time-range-based query, we will start from the first record")
|
||||||
|
if lastOrderID > 0 {
|
||||||
|
log.Warn("last order id condition will not be effected on max exchange, max exchange does not support last order id query")
|
||||||
|
}
|
||||||
|
|
||||||
page := 1
|
page := 1
|
||||||
for {
|
for {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user