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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a7d57a00e16f113ad33f21171cf5b634e17903f16ce968365a55561a77c2979d
4
- data.tar.gz: 0e8ca57d898892f9cab957256bc7b04f9f54dfa8471ae252103bb5470b1b53a0
3
+ metadata.gz: 34fc0b9e8e0e95188dfc4613ad76834eb6623ed189f86745ee55faa249bca821
4
+ data.tar.gz: 86e7f3fd197417a1405da04df7b3eb467ec376fbba569d53a2c8083e3c37e523
5
5
  SHA512:
6
- metadata.gz: d869f0cf136ed959d8f11ab21a7e5f6d0efabbcc9aee128861621318ea257ca1ea96bc9f69ede6c65c701b4c9dc282f17b2750e172773544cad93dd386cb2d96
7
- data.tar.gz: e7542b23ab3a0080ffdf3353ca7f83096494b8827f189f49ef5130b7455a0874116144386ce2fc4bb27c0898336851f4822e931d426057124b055debaceb16d2
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.14'
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.53.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 && (!expire_time || !done_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.%N%z'
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cryptum
4
- VERSION = '0.0.439'
4
+ VERSION = '0.0.441'
5
5
  end
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.439
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-06-28 00:00:00.000000000 Z
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.14
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.14
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.53.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.53.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.14
554
+ rubygems_version: 3.4.17
555
555
  signing_key:
556
556
  specification_version: 4
557
557
  summary: Coinbase Pro High-Frequency Trading Bot