mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-25 16:25:16 +00:00
max: add limit to the closed order query
This commit is contained in:
parent
ee1ba417cd
commit
d6f2f4046a
|
@ -230,6 +230,7 @@ func (e *Exchange) queryClosedOrdersByLastOrderID(ctx context.Context, symbol st
|
|||
}
|
||||
|
||||
req.FromID(lastOrderID)
|
||||
req.Limit(1000)
|
||||
|
||||
maxOrders, err := req.Do(ctx)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue
Block a user