Author

Topic: [LINUX] New bitcoin ticker app - btcwatch (Read 799 times)

newbie
Activity: 1
Merit: 0
November 04, 2013, 02:49:09 PM
#1
Hi guys, some of you might be interested in a new (Free and open source) command-line ticker app that I've written in C - "btcwatch". It uses MtGox's API right now (btc-e has seemingly nonexistant documentation), and obtains the buy and sell prices of Bitcoin. It supports multiple (17) currencies (not crypto, I'm afraid apart from Bitcoin, if that counts (no LTC in Gox Smiley)).

Example usage:

Code:
$ btcwatch
result: success
buy: $ 132.850769 USD
sell: $ 133.990005 USD

Code:
$ btcwatch -vc gbp -b
buy: £ 81.789719 GBP

Code:
$ btcwatch -vn1.28 -b
buy: $ 239.360000 USD

Code:
# bought some BTC for $100

$ btcwatch -S  # stores current price

# (after a reasonable amount of time)

$ btcwatch -vC
buy: UP $ 100 (100.000000 -> 200.000000)
sell: UP $ 100 (100.000000 -> 200.000000)
(Since Thu Jan 1 00:00:00 1970)

# profit!

Go ahead and get it from GitHub
Jump to: