1.0.2 • Published 3 years ago

px3 v1.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
3 years ago

px3

Lightweight Poloniex client

  • 0 deps
  • Battle tested
  • No Push API

Examples

var px3 = require('px3')({
  key: 'AAAAAAAA-BBBBBBBB-CCCCCCCC-DDDDDDDD', // optional, your API key
  secret: '0123456789abcdef0123456789abcdef', // optional, your API secret
  timeout: 5000, // optional, request timeout in ms, default 10000 (10s)
})

px3('returnTicker', function (err, ticker) {
  console.log(err, ticker)
})

px3('buy', {currencyPair: 'BTC_ETH', rate: 0.03911613, amount: 1.23456789}, function (err, order) {
  console.log(err, order)
})

For the full Poloniex API documentation, please refer to https://docs.poloniex.com/

1.0.2

3 years ago

1.0.1

7 years ago

1.0.0

7 years ago