Bitcoin Forum
April 24, 2024, 01:12:03 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [LINUX] New bitcoin ticker app - btcwatch  (Read 779 times)
marcoms (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 0


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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!