Skip to content

Commit

Permalink
fixes logging of wrong exchange name
Browse files Browse the repository at this point in the history
  • Loading branch information
hstove committed Apr 5, 2014
1 parent e0b9998 commit d0d701d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
rbtc_arbitrage (2.1.0)
rbtc_arbitrage (2.1.1)
activemodel (>= 3.1)
activesupport (>= 3.1)
btce (= 0.2.4)
Expand Down
2 changes: 1 addition & 1 deletion lib/rbtc_arbitrage/trader/logger.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def log_info
logger.info "#{lower_ex}: $#{color(buyer[:price].round(2))}"
logger.info "#{higher_ex}: $#{color(seller[:price].round(2))}"
logger.info log_string("buying", lower_ex, @paid)
logger.info log_string("selling", lower_ex, @received)
logger.info log_string("selling", higher_ex, @received)

log_profit
end
Expand Down
2 changes: 1 addition & 1 deletion lib/rbtc_arbitrage/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module RbtcArbitrage
VERSION = "2.1.0"
VERSION = "2.1.1"
end

0 comments on commit d0d701d

Please sign in to comment.