mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 14:55:16 +00:00
max: adjust trades limit to 1000
This commit is contained in:
parent
eaad414706
commit
59d68e7f0d
|
@ -554,7 +554,7 @@ func (e *Exchange) QueryTrades(ctx context.Context, symbol string, options *type
|
||||||
if options.Limit > 0 {
|
if options.Limit > 0 {
|
||||||
req.Limit(options.Limit)
|
req.Limit(options.Limit)
|
||||||
} else {
|
} else {
|
||||||
req.Limit(500)
|
req.Limit(1000)
|
||||||
}
|
}
|
||||||
|
|
||||||
// MAX uses exclusive last trade ID
|
// MAX uses exclusive last trade ID
|
||||||
|
|
Loading…
Reference in New Issue
Block a user