v3.5.6, feat(#249): add 10-per-event limiter to spot v5 subscriptions, enable trailing comma linting rule

This commit is contained in:
tiagosiebler
2023-04-13 12:00:08 +01:00
parent d9e536e7e1
commit 3c9e063165
5 changed files with 70 additions and 61 deletions

View File

@@ -17,9 +17,10 @@ const wsClient = new WebsocketClient(
// market: 'spot',
// market: 'spotv3',
// market: 'usdcOption',
market: 'usdcPerp',
// market: 'usdcPerp',
// market: 'unifiedPerp',
// market: 'unifiedOption',
market: 'contractUSDT',
},
logger
);
@@ -139,7 +140,7 @@ wsClient.on('reconnected', (data) => {
// usdc perps (note: the syntax is different for the unified perp market)
// (market: 'usdcPerp')
// wsClient.subscribe('trade.BTCUSDC');
wsClient.subscribe('instrument_info.100ms.BTCPERP');
// wsClient.subscribe('instrument_info.100ms.BTCPERP');
// unified perps
// wsClient.subscribe('publicTrade.BTCUSDT');