Bitcoin Forum
November 02, 2024, 01:35:40 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Other / Beginners & Help / [LINUX] New bitcoin ticker app - btcwatch on: November 04, 2013, 07:49:09 PM
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
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!