1.0.2 • Published 6 years ago

binance-api-lightweight v1.0.2

Weekly downloads
3
License
ISC
Repository
github
Last release
6 years ago

binance-api-lightweight

A light version of the binance-api focused on simplicity

Setup

npm i binance-api-lightweight

Getting started

  1. Retreive your Binance API key and secret following this guide

  2. Import the module and instantiate a new BinanceAPI class as follows:

    var client = new BinanceAPI("APIKEY", "SECRET");

Note: The API key is required for authentication, however, some functions still work without it as follows:

    var client = new BinanceAPI();

Supported functions

  • history
  • trades
  • kline
  • ticker
  • orderBooks
  • account
  • products
  • exchangeInfo
  • openOrders
  • myTrades
  • buyLimit
  • sellLimit
  • buyMarket
  • queryOrder
  • cancel

Found a bug?

Please submit the issue here

Pull requests are welcome :)