mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 00:35:15 +00:00
okex: fix okex rate limit
This commit is contained in:
parent
d742aea633
commit
eb10889d35
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user