1.0.0 • Published 7 years ago

nl-btcmarkets v1.0.0

Weekly downloads
5
License
MIT
Repository
github
Last release
7 years ago

BTC Markets NPM module

npm version

About

This is based off my ruby gem, but I'm trying to create a node.js trading engine

Examples

Get Order Book

// BTC and AUD
i.public({endpoint: '/market/BTC/AUD/orderbook'}, (cb) => {console.log(cb)});
// ETC and AUD
i.public({endpoint: '/market/ETC/AUD/orderbook'}, (cb) => {console.log(cb)});

Get Balances

i.private({endpoint: '/account/balance', method: 'GET', apikey: '', apisecret: ''}, (cb) => {console.log(cb);})