bitex_bot 0.2.3 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -30,7 +30,7 @@ class BitstampApiWrapper
30
30
  if retries == 0
31
31
  raise
32
32
  else
33
- Robot.logger.info("Bitstamp order_book failed, retrying #{retries} more times")
33
+ BitexBot::Robot.logger.info("Bitstamp order_book failed, retrying #{retries} more times")
34
34
  sleep 1
35
35
  self.order_book(retries - 1)
36
36
  end
@@ -46,6 +46,6 @@ class ItbitApiWrapper
46
46
  end
47
47
 
48
48
  def self.place_order(type, price, quantity)
49
- Itbit::Order.create!(type, :xbtusd, quantity, price)
49
+ Itbit::Order.create!(type, :xbtusd, quantity, price, wait: true)
50
50
  end
51
51
  end
@@ -1,3 +1,3 @@
1
1
  module BitexBot
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bitex_bot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-11-29 00:00:00.000000000 Z
13
+ date: 2014-12-04 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: settingslogic