kucoin: adjust rate limit to req/3sec

This commit is contained in:
c9s 2022-03-18 17:43:14 +08:00
parent 9757ca290b
commit 6c201d1868

View File

@ -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")