mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 06:53:52 +00:00
binance: adjust rate limiter bucket
This commit is contained in:
parent
82d859a43d
commit
a2c2646a16
|
@ -24,7 +24,8 @@ import (
|
|||
const BNB = "BNB"
|
||||
|
||||
// 50 per 10 seconds = 5 per second
|
||||
var orderLimiter = rate.NewLimiter(5, 50)
|
||||
var orderLimiter = rate.NewLimiter(5, 5)
|
||||
|
||||
|
||||
var log = logrus.WithFields(logrus.Fields{
|
||||
"exchange": "binance",
|
||||
|
|
Loading…
Reference in New Issue
Block a user