binance-api-lightweight
v1.0.2
Published
A super-speedy lightweight wrapper for Binance API
Downloads
16
Maintainers
Readme
binance-api-lightweight
A light version of the binance-api focused on simplicity
Setup
npm i binance-api-lightweight
Getting started
Retreive your Binance
API key
andsecret
following this guideImport 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 :)