A simple BitStamp stop-loss bot coded in Ruby