mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-23 15:10:15 +00:00
Huobi: Add subscription configuration (#1604)
* Huobi: Update test config format * Huobi: Add subscription configuration * Huobi: Add subscription documentation * Huobi: Clarify OB sub Levels usage * Huobi: Enable websocket for tests * Subscriptions: Rename ErrPrivateChannelName Rename ErrPrivateChannelName to ErrUseConstChannelName
This commit is contained in:
@@ -32,6 +32,7 @@ const (
|
||||
MyTradesChannel = "myTrades"
|
||||
MyOrdersChannel = "myOrders"
|
||||
MyWalletChannel = "myWallet"
|
||||
MyAccountChannel = "myAccount"
|
||||
)
|
||||
|
||||
// Public errors
|
||||
@@ -42,7 +43,7 @@ var (
|
||||
ErrInStateAlready = errors.New("subscription already in state")
|
||||
ErrInvalidState = errors.New("invalid subscription state")
|
||||
ErrDuplicate = errors.New("duplicate subscription")
|
||||
ErrPrivateChannelName = errors.New("must use standard channel name constants")
|
||||
ErrUseConstChannelName = errors.New("must use standard channel name constants")
|
||||
)
|
||||
|
||||
// State tracks the status of a subscription channel
|
||||
|
||||
Reference in New Issue
Block a user