bitstamp-cli
A command line interface application to talk with Bitstamp
Last updated 3 years ago by fvilers .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install bitstamp-cli 
SYNC missed versions from official npm registry.

bitstamp-cli

A command line interface application to talk with Bitstamp

How to install

npm install -g bitstamp-cli

Available commands

Ticker

Returns data for the specified currency pair. Currently supported pairs are: btc/usd, btc/eur, eur/usd, xrp/usd, xrp/eur, xrp/btc, ltc/usd, ltc/eur, ltc/btc, eth/usd, eth/eur, eth/btc, bch/usd, bch/eur, bch/btc.

Example

$ bitstamp ticker btc usd
Last price                                  13452.00       
Last 24 hours price high                    15599.64       
Last 24 hours price low                     12488.00       
Last 24 hours volume weighted average price 14001.13       
Last 24 hours volume                        20012.96389619 
Highest buy order                           13455.97       
Lowest sell order                           13485.00       
Unix timestamp date and time                1514132372     
First price of the day                      14619.00

Conversion

Returns the EUR/USD conversion rate.

Example

$ bitstamp conversion
Buy  1.1900 
Sell 1.1803

Setup

Setup private access to Bitstamp using your username and an API key you created on Bitstamp.

Example

$ bitstamp setup abc123 a1z2e3r4t5y6u7i8o9p0
? Enter your API secret: [input is hidden]

Balance

Returns the current account balance.

Example

$ bitstamp balance
    Balance    Available  Reserved   
USD 0.00       0.00       0.00       
EUR 0.00       0.00       0.00       
BTC 0.11111111 0.11111111 0.11111111 
XRP 0.22222222 0.22222222 0.22222222 
LTC 0.33333333 0.33333333 0.33333333 
ETH 0.44444444 0.44444444 0.44444444 
BCH 0.55555555 0.55555555 0.55555555

My transactions

Returns the current account transactions.

Example

$ bitstamp mytransactions
Type         Date and time       Amount           Value       Rate         Fee      
Market trade 2017-12-12 12:12:12 123.12345678 XRP -473.81 EUR 0.81276 EUR  1.19 EUR 
None         2017-12-22 12:12:12 500.00 USD                                0.00 USD

Warning

I don't have enough data on my account to test the transactions endpoint response parsing. This command could crash with yours. Feel free to create an issue.

Current Tags

  • 0.2.0                                ...           latest (3 years ago)

3 Versions

  • 0.2.0                                ...           3 years ago
  • 0.1.1                                ...           3 years ago
  • 0.1.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 0
Dependencies (5)
Dev Dependencies (3)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |