Bitcoin Forum
April 01, 2020, 03:09:41 AM *
News: The virus is now s̴͜͠p̶̰͝r̷̰̅e̶̦̽a̵̼͂d̴͉̑ỉ̷̖n̸̙̏g̷̬͝ even online; practice social distancing!
   Home   Help Search Login Register More  
Pages: [1]
Author Topic: OSX Growl-Ruby-Bitcoin-Ticker  (Read 1089 times)
Sr. Member
Offline Offline

Activity: 240
Merit: 250

View Profile
June 29, 2011, 11:18:06 PM

I published a OSX Ruby Growl script:

Ruby script for OSX which fetches the current trade data of Mt. Gox and (EUR) and
shows a growl notification if the trade data exceeds a specific up/down limit.

You can justify yourself which limits you want (f.e. notification when last trade was 15 % higher than the last one)

=== Requirements ===

Ruby (think it works with 1.8.7 as well as 1.9.2)
installed growlnotify

and following gems:

require 'rubygems'
require 'json'
require 'money'
require 'growl'

=== Limits ===

Default values are:

  up_mark = 1.007
  down_mark = 0.993
You can set them in the script yourself.

Feel free to send pull requests!
Pages: [1]
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!