Added helper methods to trader.rb. Moved prices and bitcoin values to ints, due to the float be deprecated.