Skip to content

Releases: carlosmiei/node-binance-api

Stable Release

29 Aug 17:36
3a3b73e
Compare
Choose a tag to compare

Add assetDetail and tradeFee functions

const Binance = require('node-binance-api');
const binance = new Binance().options("options.json");
binance.useServerTime( () => {
	binance.assetDetail((error, response) => {
		console.log(response);
	});

	binance.tradeFee((error, response) => {
		console.log(response);
	}, "BNBBTC");
});

Stable Release

15 Jul 05:51
ff7ee2a
Compare
Choose a tag to compare

(BREAKING) Improve Instantiation w/Multiple Instances: (Thanks bmino!!)
Creates separate instances of the internal objects.

When Using Singletons:
Allows internal objects such as depthCache to be shared between multiple require() calls

const binance = require('node-binance-api')().options({
  APIKEY: '<key>',
  APISECRET: '<secret>'
});

Instantiating Multiple Instances

const Binance = require('node-binance-api');

const instance1 = new Binance().options({
  // ...
});

const instance2 = new Binance().options({
  // ...
});

Stable Release

03 Jul 11:32
9ae79d4
Compare
Choose a tag to compare

(BREAKING) Allow instances and singletons for constructor (Thanks bmino!!)

const binance = require('node-binance-api').options({
  APIKEY: '<key>',
  APISECRET: '<secret>'
});

Instantiating Multiple Instances

const Binance = require('node-binance-api');

const instance1 = new Binance().options({
  // ...
});

const instance2 = new Binance().options({
  // ...
});

Stable Release

19 Jun 22:37
fb029c2
Compare
Choose a tag to compare

Expose order() function to public API (Thanks ManuCart)

Stable Release

14 Jun 16:49
631dd0f
Compare
Choose a tag to compare

Fix for Duplicate Deletion Issue (Slow connections)
Fixes issue: binance-exchange #148 by davewang
binance-exchange#148

Stable Release

10 Jun 03:23
4e6601c
Compare
Choose a tag to compare

Fixed unit testing (Singleton VS New Object)

Stable Release

09 Jun 08:02
57706f6
Compare
Choose a tag to compare

⚠ Breaking Changes: ⚠

🔧 Singleton VS New Object: (Thanks usama33!)
The API is now instantiated like this:

const Binance = require('node-binance-api');
const binance = new Binance().options({
	APIKEY: "",
	APISECRET: "",
	useServerTime: true
});

or this:

const Binance = require('node-binance-api');
const binance = new Binance().options("options.json");

🔧 default recvWindow changed to 5000 as recommended by Binance

🔧 lastEventUpdateTime added to the response of depthCache callback, as third parameter. Thanks yanislk!

Stable Release

20 May 18:04
a33e1cf
Compare
Choose a tag to compare

Fix depthCache & depthHandler logic (Thank you keith1024 + learnathoner)
(BREAKING) Rename trades to aggTrades (Thank you dmitriz)
WebSocket trades() function now conforms to Binance specification

Stable Release

03 May 18:47
Compare
Choose a tag to compare

15 commits by dmitriz 🏆
Refactoring, improving consistency, reducing redundancies and making code cleaner

Stable Release

20 Apr 00:13
3c99290
Compare
Choose a tag to compare

28 commits by dmzoneill 🏆
many improvements including documentation, unit testing, proxy support, and debugging