Skip to content

Latest commit

 

History

History
42 lines (26 loc) · 523 Bytes

README.md

File metadata and controls

42 lines (26 loc) · 523 Bytes

Kucoin Api Wrapper

API Wrapper

Initialization api wrapper instance

let kucoin = new Kucoin('apikey', 'secret', 'base_latency');

Using endpoints

let ticker =  await kucoin.ticker('RPX-BTC');

kucoin.create_order('SELL', 'RPX-BTC', ticker.buy, 2000).then(function(response){
    console.log(response);
});

Bot Usage

Create config.js

cp config.example.js config.js

Install npm modules

npm install

Run main script

node index.js