package okx import ( "time" "golang.org/x/time/rate" ) var ( // https://my.okx.com/docs-v5/zh/#order-book-trading-market-data-get-candlesticks-history fetchHistoryKlineLimiter = rate.NewLimiter(rate.Every(100*time.Millisecond), 2) )