Skip to content
This repository has been archived by the owner on Jul 17, 2021. It is now read-only.

Commit

Permalink
♻️ Fix Deepscan issues
Browse files Browse the repository at this point in the history
  • Loading branch information
valamidev committed Mar 4, 2020
1 parent 3d52ffd commit 21270d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/database/queries/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
'use strict';

import fs from 'fs';
import { RowDataPacket } from 'mysql2';

import { logger } from '../../logger';
Expand Down
2 changes: 2 additions & 0 deletions src/exchange/ws_exchanges/kucoin_ws.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const client = new KucoinAPI();
// Kucoin things

export const openSocket = (symbol: any) => {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const socketTrades = client.MarketMatches(symbol, (trade: any) => {
trade = {
time: Math.floor(trade.time / 10e5), // Kucoin use ns for timestamp
Expand All @@ -26,6 +27,7 @@ export const openSocket = (symbol: any) => {
Emitter.emit('Trades', exchangeName, trade);
});

// eslint-disable-next-line @typescript-eslint/no-unused-vars
const socketOrderbook = client.MarketLevel2(symbol, (depth: any) => {
// Kucoin use ns for timestamp
/*
Expand Down

0 comments on commit 21270d6

Please sign in to comment.