Skip to content

Commit 4043d45

Browse files
committed
Fix websocket orders topic
1 parent 0947bb7 commit 4043d45

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/websockets.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ Sockets.topics = function( topic, symbols = [], endpoint = false, sign = false )
137137
} else if ( topic === 'fullMatch' ) {
138138
return [topic, "/spotMarket/level3:" + symbols.join( ',' ), 'public']
139139
} else if ( topic === 'orders' ) {
140-
return [topic, "/spotMarket/tradeOrders:" + symbols.join( ',' ), 'private']
140+
return [topic, "/spotMarket/tradeOrders", 'private']
141141
} else if ( topic === 'balances' ) {
142142
return [topic, "/account/balance", 'private']
143143
} else if ( topic === 'depth50' ) {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "kucoin-node-api",
3-
"version": "2.1.3",
3+
"version": "2.1.4",
44
"description": "Node.js KuCoin Cryptocurrency Exchange v2 API Wrapper/SDK",
55
"main": "kucoin.js",
66
"scripts": {

0 commit comments

Comments
 (0)