demirhancosku / kucoin-api-nodejs

Kucoin Api Wrapper Nodejs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Kucoin Api Wrapper Nodejs

License:ISC License


Languages

Language:JavaScript 100.0%