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);
});
Create config.js
cp config.example.js config.js
Install npm modules
npm install
Run main script
node index.js