Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Haehnchen committed Aug 14, 2024
1 parent 03d98ac commit 39c9beb
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 14 deletions.
3 changes: 0 additions & 3 deletions instance.js.dist
Original file line number Diff line number Diff line change
Expand Up @@ -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()));
};
*/

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion instance.js.dist_trade_bybit.js
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down
2 changes: 1 addition & 1 deletion src/exchange/bybit_unified.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 => {
Expand Down
9 changes: 0 additions & 9 deletions src/modules/services.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 39c9beb

Please sign in to comment.