From 39c9beb8c16c0f6df1371218c074c4ed9db54805 Mon Sep 17 00:00:00 2001 From: Daniel Espendiller Date: Wed, 14 Aug 2024 17:33:33 +0200 Subject: [PATCH] cleanup --- instance.js.dist | 3 --- instance.js.dist_trade => instance.js.dist_trade.js | 0 ..._futures => instance.js.dist_trade_binance_futures.js | 0 ...oin => instance.js.dist_trade_binance_futures_coin.js | 0 ...ce_margin => instance.js.dist_trade_binance_margin.js | 0 instance.js.dist_trade_bybit.js | 2 +- src/exchange/bybit_unified.js | 2 +- src/modules/services.js | 9 --------- 8 files changed, 2 insertions(+), 14 deletions(-) rename instance.js.dist_trade => instance.js.dist_trade.js (100%) rename instance.js.dist_trade_binance_futures => instance.js.dist_trade_binance_futures.js (100%) rename instance.js.dist_trade_binance_futures_coin => instance.js.dist_trade_binance_futures_coin.js (100%) rename instance.js.dist_trade_binance_margin => instance.js.dist_trade_binance_margin.js (100%) diff --git a/instance.js.dist b/instance.js.dist index f7c4916c8..cb06d5f17 100644 --- a/instance.js.dist +++ b/instance.js.dist @@ -56,9 +56,6 @@ c.init = async () => { // Bybit USD pairs (inverse) c.symbols.push(...(await InstanceUtil.bybitInit())); - - // Bybit USDT pairs (Linear) - c.symbols.push(...(await InstanceUtil.bybitLinearInit())); }; */ diff --git a/instance.js.dist_trade b/instance.js.dist_trade.js similarity index 100% rename from instance.js.dist_trade rename to instance.js.dist_trade.js diff --git a/instance.js.dist_trade_binance_futures b/instance.js.dist_trade_binance_futures.js similarity index 100% rename from instance.js.dist_trade_binance_futures rename to instance.js.dist_trade_binance_futures.js diff --git a/instance.js.dist_trade_binance_futures_coin b/instance.js.dist_trade_binance_futures_coin.js similarity index 100% rename from instance.js.dist_trade_binance_futures_coin rename to instance.js.dist_trade_binance_futures_coin.js diff --git a/instance.js.dist_trade_binance_margin b/instance.js.dist_trade_binance_margin.js similarity index 100% rename from instance.js.dist_trade_binance_margin rename to instance.js.dist_trade_binance_margin.js diff --git a/instance.js.dist_trade_bybit.js b/instance.js.dist_trade_bybit.js index aa655fc9e..99b3ff77d 100644 --- a/instance.js.dist_trade_bybit.js +++ b/instance.js.dist_trade_bybit.js @@ -3,7 +3,7 @@ const c = (module.exports = {}); c.symbols = []; c.init = async () => { - const j = ['BTC/USDT:USDT', 'BTC/USDC:USDC']; + const j = ['BTC/USDT:USDT', 'ETH/USDT:USDT', 'LTC/USDT:USDT', 'SOL/USDT:USDT', 'ETC/USDT:USDT', '1000PEPE/USDT:USDT', 'XRP/USDT:USDT']; j.forEach(pair => { c.symbols.push({ diff --git a/src/exchange/bybit_unified.js b/src/exchange/bybit_unified.js index cd4dff62a..d059909ca 100644 --- a/src/exchange/bybit_unified.js +++ b/src/exchange/bybit_unified.js @@ -107,7 +107,7 @@ module.exports = class BybitUnified { if (config.key && config.secret && config.key.length > 0 && config.secret.length > 0) { this.authInit(config.key, config.secret); } else { - me.logger.info('BybitLinear: Starting as anonymous; no trading possible'); + me.logger.info(`${this.getName()}: Starting as anonymous; no trading possible`); } symbols.forEach(symbol => { diff --git a/src/modules/services.js b/src/modules/services.js index 9ce012c46..5e5996e41 100644 --- a/src/modules/services.js +++ b/src/modules/services.js @@ -686,15 +686,6 @@ module.exports = { this.getCandleImporter(), this.getThrottler() ), - new BybitLinear( - this.getEventEmitter(), - this.getRequestClient(), - this.getCandlestickResample(), - this.getLogger(), - this.getQueue(), - this.getCandleImporter(), - this.getThrottler() - ), new BybitUnified( this.getEventEmitter(), this.getRequestClient(),