Skip to content

Commit 39c9beb

Browse files
committed
cleanup
1 parent 03d98ac commit 39c9beb

8 files changed

+2
-14
lines changed

instance.js.dist

-3
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,6 @@ c.init = async () => {
5656

5757
// Bybit USD pairs (inverse)
5858
c.symbols.push(...(await InstanceUtil.bybitInit()));
59-
60-
// Bybit USDT pairs (Linear)
61-
c.symbols.push(...(await InstanceUtil.bybitLinearInit()));
6259
};
6360
*/
6461

File renamed without changes.
File renamed without changes.

instance.js.dist_trade_bybit.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const c = (module.exports = {});
33
c.symbols = [];
44

55
c.init = async () => {
6-
const j = ['BTC/USDT:USDT', 'BTC/USDC:USDC'];
6+
const j = ['BTC/USDT:USDT', 'ETH/USDT:USDT', 'LTC/USDT:USDT', 'SOL/USDT:USDT', 'ETC/USDT:USDT', '1000PEPE/USDT:USDT', 'XRP/USDT:USDT'];
77

88
j.forEach(pair => {
99
c.symbols.push({

src/exchange/bybit_unified.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ module.exports = class BybitUnified {
107107
if (config.key && config.secret && config.key.length > 0 && config.secret.length > 0) {
108108
this.authInit(config.key, config.secret);
109109
} else {
110-
me.logger.info('BybitLinear: Starting as anonymous; no trading possible');
110+
me.logger.info(`${this.getName()}: Starting as anonymous; no trading possible`);
111111
}
112112

113113
symbols.forEach(symbol => {

src/modules/services.js

-9
Original file line numberDiff line numberDiff line change
@@ -686,15 +686,6 @@ module.exports = {
686686
this.getCandleImporter(),
687687
this.getThrottler()
688688
),
689-
new BybitLinear(
690-
this.getEventEmitter(),
691-
this.getRequestClient(),
692-
this.getCandlestickResample(),
693-
this.getLogger(),
694-
this.getQueue(),
695-
this.getCandleImporter(),
696-
this.getThrottler()
697-
),
698689
new BybitUnified(
699690
this.getEventEmitter(),
700691
this.getRequestClient(),

0 commit comments

Comments
 (0)