bitex_bot 0.2.13 → 0.2.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bitex_bot/models/bitfinex_api_wrapper.rb +3 -2
- data/lib/bitex_bot/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c42b05ed4278c7d8b1b9850c46c9bba7994d21fc
|
4
|
+
data.tar.gz: dfb6023e89e0321d26a5850573fbf973d674bead
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54e0bbd23f490ef6448b2396c3d636a8a7b1d6f7221633de4c88dff0bfeb225914f0debd83a6f3636899577395d1e489d34b8c76eb52199857c266aed5ee6286
|
7
|
+
data.tar.gz: 034990c359727a7784fc2ed10e6ce1db327748800842c4c19351cf13991c3a3f26e831598c3e5c44d86741055afed754b331437d190a040c14929bb43b86a261
|
@@ -22,11 +22,12 @@ class BitfinexApiWrapper
|
|
22
22
|
def self.transactions
|
23
23
|
with_retry 'transactions' do
|
24
24
|
Bitfinex::Client.new.trades.collect do |t|
|
25
|
-
{
|
25
|
+
Hashie::Mash.new({
|
26
|
+
tid: t['tid'].to_i,
|
26
27
|
price: t['price'],
|
27
28
|
amount: t['amount'],
|
28
29
|
date: t['timestamp']
|
29
|
-
}
|
30
|
+
})
|
30
31
|
end
|
31
32
|
end
|
32
33
|
end
|
data/lib/bitex_bot/version.rb
CHANGED
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.
|
4
|
+
version: 0.2.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nubis
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-04-
|
12
|
+
date: 2016-04-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: settingslogic
|