cryptum 0.0.439 → 0.0.440
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -2
- data/lib/cryptum/ui/order/execute.rb +3 -3
- data/lib/cryptum/ui/order/timer.rb +2 -2
- data/lib/cryptum/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 928444a27ba206bc2cb2a41b7137aecf5289fe2a93e5ae4445ea20221f386f38
|
4
|
+
data.tar.gz: 455bc7d8172ac4d74ed0debe0717b5f0901014eb5eb82403d5bf85c7c5c902be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b4f3cd7db066f3423d1a20df48e9bad072f3e6a577fcadf5a3c903e45e56cc784ec4e50c723970f795d2dda39e9956832c73b6e67933b114990afaef51e1c052
|
7
|
+
data.tar.gz: 073c507e7b5af88551a5e9bc467ee771643e59a103c8eb52f33f82182088c64c917dcba8640250b3d7f27d79327fc12e3841a20b3d13a501f512cb32dad4e6aa
|
data/Gemfile
CHANGED
@@ -12,7 +12,7 @@ gemspec
|
|
12
12
|
# to build appropriately. Defer to ./reinstall_coinbot_gemset.sh
|
13
13
|
# to review these custom flags
|
14
14
|
gem 'addressable', '2.8.4'
|
15
|
-
gem 'bundler', '>=2.4.
|
15
|
+
gem 'bundler', '>=2.4.17'
|
16
16
|
gem 'bundler-audit', '0.9.1'
|
17
17
|
gem 'curses', '1.4.4'
|
18
18
|
gem 'eventmachine', '1.2.7'
|
@@ -27,7 +27,7 @@ gem 'rdoc', '6.5.0'
|
|
27
27
|
gem 'require_all', '3.0.0'
|
28
28
|
gem 'rest-client', '2.1.0'
|
29
29
|
gem 'rspec', '3.12.0'
|
30
|
-
gem 'rubocop', '1.
|
30
|
+
gem 'rubocop', '1.54.2'
|
31
31
|
gem 'rubocop-rake', '0.6.0'
|
32
32
|
gem 'rubocop-rspec', '2.22.0'
|
33
33
|
gem 'ruby-prof', '1.6.3'
|
@@ -463,13 +463,13 @@ module Cryptum
|
|
463
463
|
unless buy_created_at_hash_arr.empty?
|
464
464
|
order_exec_last_ln = Time.parse(
|
465
465
|
buy_created_at_hash_arr.first[:created_at]
|
466
|
-
).strftime('%Y-%m-%d %H:%M:%S%z')
|
466
|
+
).strftime('%Y-%m-%d %H:%M:%S.%N%z')
|
467
467
|
end
|
468
468
|
when :green, :white
|
469
469
|
if meta[:done_at]
|
470
470
|
order_exec_last_ln = Time.parse(
|
471
471
|
meta[:done_at]
|
472
|
-
).strftime('%Y-%m-%d %H:%M:%S%z')
|
472
|
+
).strftime('%Y-%m-%d %H:%M:%S.%N%z')
|
473
473
|
end
|
474
474
|
when :magenta, :yellow
|
475
475
|
sell_created_at_hash_arr = order_history.select do |oh|
|
@@ -479,7 +479,7 @@ module Cryptum
|
|
479
479
|
unless sell_created_at_hash_arr.empty?
|
480
480
|
order_exec_last_ln = Time.parse(
|
481
481
|
sell_created_at_hash_arr.first[:created_at]
|
482
|
-
).strftime('%Y-%m-%d %H:%M:%S%z')
|
482
|
+
).strftime('%Y-%m-%d %H:%M:%S.%N%z')
|
483
483
|
end
|
484
484
|
end
|
485
485
|
|
@@ -31,7 +31,7 @@ module Cryptum
|
|
31
31
|
event_history.order_book[:market_trend][:buy] = 0
|
32
32
|
event_history.order_book[:market_trend][:sell] = 0
|
33
33
|
event_history.order_book[:last_trend_reset] = Time.now.strftime(
|
34
|
-
'%Y-%m-%d %H:%M:%S
|
34
|
+
'%Y-%m-%d %H:%M:%S%z'
|
35
35
|
)
|
36
36
|
|
37
37
|
last_trend_reset_time = event_history.order_book[:last_trend_reset]
|
@@ -74,7 +74,7 @@ module Cryptum
|
|
74
74
|
end
|
75
75
|
|
76
76
|
# Have a Clock
|
77
|
-
clock = Time.now.strftime('%Y-%m-%d %H:%M:%S%z')
|
77
|
+
clock = Time.now.strftime('%Y-%m-%d %H:%M:%S.%N%z')
|
78
78
|
|
79
79
|
# UI
|
80
80
|
col_just4 = (Curses.cols - Cryptum::UI.col_fourth) - 1
|
data/lib/cryptum/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cryptum
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.440
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- 0day Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-07-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 2.4.
|
33
|
+
version: 2.4.17
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 2.4.
|
40
|
+
version: 2.4.17
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler-audit
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -240,14 +240,14 @@ dependencies:
|
|
240
240
|
requirements:
|
241
241
|
- - '='
|
242
242
|
- !ruby/object:Gem::Version
|
243
|
-
version: 1.
|
243
|
+
version: 1.54.2
|
244
244
|
type: :runtime
|
245
245
|
prerelease: false
|
246
246
|
version_requirements: !ruby/object:Gem::Requirement
|
247
247
|
requirements:
|
248
248
|
- - '='
|
249
249
|
- !ruby/object:Gem::Version
|
250
|
-
version: 1.
|
250
|
+
version: 1.54.2
|
251
251
|
- !ruby/object:Gem::Dependency
|
252
252
|
name: rubocop-rake
|
253
253
|
requirement: !ruby/object:Gem::Requirement
|
@@ -551,7 +551,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
551
551
|
- !ruby/object:Gem::Version
|
552
552
|
version: '0'
|
553
553
|
requirements: []
|
554
|
-
rubygems_version: 3.4.
|
554
|
+
rubygems_version: 3.4.17
|
555
555
|
signing_key:
|
556
556
|
specification_version: 4
|
557
557
|
summary: Coinbase Pro High-Frequency Trading Bot
|