Skip to content

zebitex/zebitex-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zebitex-node

Node.js client for Zebitex exchange API

API documentation

Getting started

const ApiClient = require('zebitex-node')
const testEnv = true // set to false to use in production
const client = new ApiClient('<Access key>', '<Secret key>', TestEnv) // instantiate your client
  • retrieve you assets balances
client.funds().then(console.log)

  • open a new order
client.newOrder('ltc', // quote currency
  'btc', // base currency
  'ask', // order side (bid or ask)
  '0.321', // price
  '0.123', // volume
  'ltcbtc', // market
  'limit' // order type
).then(console.log)
  • cancel an opened order
let orderId=1234
client.cancelOrder(orderId).then(console.log)

About

Node.js client for Zebitex exchange API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published