Skip to content

Instantly share code, notes, and snippets.

// "use strict";
const binance = require('node-binance-api');
const chalk = require('chalk');
const log = console.log;
const moment = require('moment');
// percentage of gains targeted
const MIN_PROFIT_TARGET = 0.1;
const MAX_PROFIT_TARGET = 5.0;
const NUMBER_OF_TRADES_OPPORTUNITIES = 1;
let ARBITRAGE_OPP_COUNT = 0;