okex: fix okex rate limit

This commit is contained in:
c9s 2022-05-03 12:11:50 +08:00
parent d742aea633
commit eb10889d35
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -15,7 +15,7 @@ import (
"github.com/c9s/bbgo/pkg/types"
)
var marketDataLimiter = rate.NewLimiter(rate.Every(time.Second/20), 1)
var marketDataLimiter = rate.NewLimiter(rate.Every(time.Second/10), 1)
// OKB is the platform currency of OKEx, pre-allocate static string here
const OKB = "OKB"