px3

1.0.2 • Public • Published

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/

Readme

Keywords

none

Package Sidebar

Install

npm i px3

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

3.23 kB

Total Files

3

Last publish

Collaborators

  • afanasy