nokuxapi
v1.0.14
Published
Noku Exchange API sdk
Downloads
2
Maintainers
Readme
Noku Exchange API sdk
API documentation
Read the Noku Exchange api documentation
Example usage
const NokuApi = require('nokuxapi')
let api = new NokuApi({
token: process.env.API_TOKEN,
domain: 'api.noku.exchange', // use devapi.noku.exchange to access the beta exchange instance
streaming: 'streaming.noku.exchange' // use devstreaming.noku.exchange to access the beta exchange instance
})
let start = async () => {
await api.closeAll('ETHEUR')
console.log(await api.orderCreate('ETHEUR', 'limit', '117.86', '10', 'bid'))
}
start().then(console.log, function (err) {
console.log(err)
process.exit(1)
})