Skip to content

Instantly share code, notes, and snippets.

@b1nary
Created October 10, 2015 17:15
Show Gist options
  • Save b1nary/639ff5ced66305c220a4 to your computer and use it in GitHub Desktop.
Save b1nary/639ff5ced66305c220a4 to your computer and use it in GitHub Desktop.
Altcoin watcher is a Cryptocoin watcher written in Ruby new utilizing the Poloniex API

Altcoin Watcher (Poloniex)

Version 0.1.3

This script allows you to keep an process running which shows you current prices for the Altcoins you like. Also it shows % and revenue in BTC or $ if configured. Feel free to use or modify the script. If you make some nice changes i would be happy if you send them back to me too.

Made with love

Show me your support with a little tip!

  • BTC: 12pPFub19Vc3JygNzo8KoJcpu4GHqqUKfR

Get in touch on Twitter with @talkb1nary if you have questions or suggestions.

Install & Use

  • download or copy&paste the script into an file, lets call it watcher.rb

  • open the script and edit the configuration part on the top

  • run it with ruby watcher.rb (Indeed you need to have Ruby installed.)

  • Windows users you will need a different terminal than cmd.exe, or you try Ansicon

Screen

Here is an example Screen, i will explain the different things you can read from here.

Example Screen

In this specific order:

  • Revenue indicator (Colored box on the beginning)
    • Cyan: No buy price set
    • Red: below buy price
    • Green: over buy price
  • Market title
  • Last indicator, the price direction since the last change
    • Cyan ?: No data yet (didnt change since start)
    • Green ^: Higher
    • Red v: Lower
  • Current price (last price)
  • Win/Loss in % (only if buy price is set)
  • Win/Loss in BTC or $ (only if buy price is set)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment