mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
max: adjust account query rate limiter
This commit is contained in:
parent
7c9109aeea
commit
19621e48fe
|
@ -55,7 +55,7 @@ func New(key, secret string) *Exchange {
|
|||
|
||||
// closedOrderQueryLimiter is used for the closed orders query rate limit, 1 request per second
|
||||
closedOrderQueryLimiter: rate.NewLimiter(rate.Every(1*time.Second), 1),
|
||||
accountQueryLimiter: rate.NewLimiter(rate.Every(3*time.Second), 1),
|
||||
accountQueryLimiter: rate.NewLimiter(rate.Every(1*time.Second), 1),
|
||||
marketDataLimiter: rate.NewLimiter(rate.Every(2*time.Second), 10),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user