Bitcoin Forum
November 19, 2017, 01:02:17 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: [LINUX] New bitcoin ticker app - btcwatch  (Read 666 times)
marcoms
Newbie
*
Offline Offline

Activity: 1


View Profile
November 04, 2013, 07: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
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!