A bot class designed for trading on bittrex exchange.
npm i bittrex-bot
const { Bot } = require("bittrex-bot");
const bot = new Bot({
apikey: process.env.API_KEY,
apisecret: process.env.API_SECRET
});
Each method return a promise
.
(async () => {
const balance = await bot.getBalance("btc");
console.log(balance);
})();