cryptum 0.0.439 → 0.0.441
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/execute_details.rb +1 -1
- 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: 34fc0b9e8e0e95188dfc4613ad76834eb6623ed189f86745ee55faa249bca821
|
4
|
+
data.tar.gz: 86e7f3fd197417a1405da04df7b3eb467ec376fbba569d53a2c8083e3c37e523
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9cd561f1deab520e0b56b9dc21dd56270a4a37f3bfad8b67e4609d723526df793c5cfaa4fd6fec19af70431ece35b086d30e145f52f4dc861f45cdc940fbadd
|
7
|
+
data.tar.gz: b70b78138bf29f7ccf2b782be4c796bc96c169a0ab0bb45e73691b3fc6dba5ff19416a4f0acfe4a0a3909f1b04b199338630f9a4831f2d932e77904ccc342ff1
|
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
|
|
@@ -79,7 +79,7 @@ module Cryptum
|
|
79
79
|
order_status_ln = "- Status: #{order_status}"
|
80
80
|
end
|
81
81
|
|
82
|
-
order_hist_created_finished_ln = if created_at &&
|
82
|
+
order_hist_created_finished_ln = if created_at && !expire_time && !done_at
|
83
83
|
"- Creation Date: #{created_at} | Finished Date: N/A"
|
84
84
|
elsif created_at && expire_time && !done_at
|
85
85
|
"- Creation Date: #{created_at} | Expiring Date: #{expire_time}"
|
@@ -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.441
|
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
|