mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 06:53:52 +00:00
kucoin: adjust rate limit to req/3sec
This commit is contained in:
parent
9757ca290b
commit
6c201d1868
|
@ -18,8 +18,8 @@ import (
|
|||
)
|
||||
|
||||
var marketDataLimiter = rate.NewLimiter(rate.Every(500*time.Millisecond), 1)
|
||||
var queryTradeLimiter = rate.NewLimiter(rate.Every(5*time.Second), 1)
|
||||
var queryOrderLimiter = rate.NewLimiter(rate.Every(5*time.Second), 1)
|
||||
var queryTradeLimiter = rate.NewLimiter(rate.Every(3*time.Second), 1)
|
||||
var queryOrderLimiter = rate.NewLimiter(rate.Every(3*time.Second), 1)
|
||||
|
||||
var ErrMissingSequence = errors.New("sequence is missing")
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user