Skip to content

Commit a2d7e7a

Browse files
author
Tiago Siebler
committed
fix(v3.1.5): diff book stream name for futures
1 parent ce53c29 commit a2d7e7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/websocket-client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2124,7 +2124,7 @@ export class WebsocketClient extends BaseWebsocketClient<
21242124
market: 'spot' | 'usdm' | 'coinm',
21252125
): Promise<unknown> {
21262126
const lowerCaseSymbol = symbol.toLowerCase();
2127-
const streamName = market === 'spot' ? 'depth' : 'diffBookDepth';
2127+
const streamName = 'depth';
21282128

21292129
const wsKey = resolveWsKeyForLegacyMarket(market);
21302130
const updateMsSuffx = typeof updateMs === 'number' ? `@${updateMs}ms` : '';

0 commit comments

Comments
 (0)