mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-25 16:25:16 +00:00
pkg/exchange: add rate limit comment
This commit is contained in:
parent
57618ced7c
commit
bafa5a4783
|
@ -196,6 +196,9 @@ func (s *Stream) subscribePrivateChannels(next func()) func() {
|
||||||
{Channel: "orders", InstrumentType: string(okexapi.InstrumentTypeSpot)},
|
{Channel: "orders", InstrumentType: string(okexapi.InstrumentTypeSpot)},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// https://www.okx.com/docs-v5/zh/#overview-websocket-connect
|
||||||
|
// **NOTICE** 2024/06/03 Since the number of channels we are currently subscribed to is far less
|
||||||
|
// than the rate limit of 20, rate limiting is not supported for now.
|
||||||
log.Infof("subscribing private channels: %+v", subs)
|
log.Infof("subscribing private channels: %+v", subs)
|
||||||
err := s.Conn.WriteJSON(WebsocketOp{
|
err := s.Conn.WriteJSON(WebsocketOp{
|
||||||
Op: "subscribe",
|
Op: "subscribe",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user