bigone-js

1.0.0 • Public • Published

document

https://open.big.one/docs/api.html

install

npm install bigone-js

example

const API = require('./index.js')

API.init({
  key: 'key',
  secret: 'secret'
})

// ticker
// API.getTicker('ETH-USDT').then(data => {
//   console.log(data)
// })


// API.getBalance().then(data => {
//   console.log(data)
// })


// API.createOrder('ETH-USDT', 'BID', '400', '0.06').then(data => {
//   console.log(data)
// })

// API.cancelOrder('63818300').then(data => {
//   console.log(data)
// })


// API.getDepth('ETH-USDT').then(data => {
//   console.log(data)
// })


// API.getOrders('ETH-USDT', 'PENDING').then(data => {
//   console.log(data)
// })


// API.getOrderByid('100').then(data => {
//   console.log(data)
// })

Readme

Keywords

Package Sidebar

Install

npm i bigone-js

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

5.11 kB

Total Files

4

Last publish

Collaborators

  • zejie