cryptum 0.0.363 → 0.0.365

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: 68828b6b87e0870751c42dcec69b36a60ca72782cca5837800e14719da4d064b
4
- data.tar.gz: 3ff3f279eb11a2cc8146e57d1e54689acd100e072ccb91e272ca49853f8438dd
3
+ metadata.gz: 7ca8d256e67aef747058e034b536ca0b48fd006007a245aba222d06ba557c1bf
4
+ data.tar.gz: 81a190983b67ff65277fca3f0a27fcc887284b889386ed9b609d2d3ac0b7ff09
5
5
  SHA512:
6
- metadata.gz: a111cd5506be46ee46ca56bce53077e7e3d88b133a470dab14fe45c83c40df8d0364e56008330a78888edcb2201c719406891d496c142a1037d365401d014f16
7
- data.tar.gz: 7fe8dee8b6d7b18f015711261387e62f368da4cddef7d0bc1fc25546c5ca4936d696b928f4ba18997e92fdb7b0941e0c7f56de49bbcaece9e2ca3df4e5117152
6
+ metadata.gz: 22abc46c272752380413f8d5a549f8ff444d70c758dc4db82fdd210b4ef321fb5eea5b614e60f7250c12240e4c275eb97b45dcf9a7f95b659e6e6182decf698a
7
+ data.tar.gz: 6c9c0200d80becf096570b2af46e74ed10e374ce6997dba6fbd2b0a7b77f6bef04292c09ccf58ead544a21538fd62ec52eb44423c9dc1c74f162cca549a752cc
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.2.0
1
+ 3.2.1
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.1'
15
- gem 'bundler', '>=2.4.5'
15
+ gem 'bundler', '>=2.4.7'
16
16
  gem 'bundler-audit', '0.9.1'
17
17
  gem 'curses', '1.4.4'
18
18
  gem 'eventmachine', '1.2.7'
@@ -26,10 +26,10 @@ gem 'rdoc', '6.5.0'
26
26
  gem 'require_all', '3.0.0'
27
27
  gem 'rest-client', '2.1.0'
28
28
  gem 'rspec', '3.12.0'
29
- gem 'rubocop', '1.44.1'
29
+ gem 'rubocop', '1.46.0'
30
30
  gem 'rubocop-rake', '0.6.0'
31
31
  gem 'rubocop-rspec', '2.18.1'
32
- gem 'ruby-prof', '1.4.5'
32
+ gem 'ruby-prof', '1.6.1'
33
33
  gem 'rvm', '1.11.3.9'
34
34
  gem 'sinatra', '3.0.5'
35
35
  gem 'thin', '1.8.1'
data/cryptum.gemspec CHANGED
@@ -7,8 +7,8 @@ require 'cryptum/version'
7
7
  Gem::Specification.new do |spec|
8
8
  # Switch back when RVM has stable 3.1.2 (i.e. not just preview / p20)
9
9
  # spec.required_ruby_version = ">= #{File.read('.ruby-version')}"
10
- required_minor_ruby_version = File.read('.ruby-version').split('.')[0..1].join('.')
11
- spec.required_ruby_version = ">= #{required_minor_ruby_version}"
10
+ required_ruby_version = File.read('.ruby-version').split('-').last.chomp
11
+ spec.required_ruby_version = ">= #{required_ruby_version}"
12
12
  spec.name = 'cryptum'
13
13
  spec.version = Cryptum::VERSION
14
14
  spec.authors = ['0day Inc.']
@@ -122,10 +122,11 @@ module Cryptum
122
122
  end
123
123
 
124
124
  default_net_tpm = ai_net_tpm if ai_net_tpm > default_net_tpm
125
+ conservative_tpm_hedge = 0.75
125
126
 
126
127
  min_gross_tpm = format(
127
128
  '%0.2f',
128
- (maker_rate.to_f + taker_rate.to_f) + default_net_tpm
129
+ (maker_rate.to_f + taker_rate.to_f) + (default_net_tpm * conservative_tpm_hedge)
129
130
  )
130
131
 
131
132
  if min_gross_tpm != gross_tpm.to_s
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cryptum
4
- VERSION = '0.0.363'
4
+ VERSION = '0.0.365'
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.363
4
+ version: 0.0.365
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-01-31 00:00:00.000000000 Z
11
+ date: 2023-02-24 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.5
33
+ version: 2.4.7
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.5
40
+ version: 2.4.7
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler-audit
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -226,14 +226,14 @@ dependencies:
226
226
  requirements:
227
227
  - - '='
228
228
  - !ruby/object:Gem::Version
229
- version: 1.44.1
229
+ version: 1.46.0
230
230
  type: :runtime
231
231
  prerelease: false
232
232
  version_requirements: !ruby/object:Gem::Requirement
233
233
  requirements:
234
234
  - - '='
235
235
  - !ruby/object:Gem::Version
236
- version: 1.44.1
236
+ version: 1.46.0
237
237
  - !ruby/object:Gem::Dependency
238
238
  name: rubocop-rake
239
239
  requirement: !ruby/object:Gem::Requirement
@@ -268,14 +268,14 @@ dependencies:
268
268
  requirements:
269
269
  - - '='
270
270
  - !ruby/object:Gem::Version
271
- version: 1.4.5
271
+ version: 1.6.1
272
272
  type: :runtime
273
273
  prerelease: false
274
274
  version_requirements: !ruby/object:Gem::Requirement
275
275
  requirements:
276
276
  - - '='
277
277
  - !ruby/object:Gem::Version
278
- version: 1.4.5
278
+ version: 1.6.1
279
279
  - !ruby/object:Gem::Dependency
280
280
  name: rvm
281
281
  requirement: !ruby/object:Gem::Requirement
@@ -483,14 +483,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
483
483
  requirements:
484
484
  - - ">="
485
485
  - !ruby/object:Gem::Version
486
- version: '3.2'
486
+ version: 3.2.1
487
487
  required_rubygems_version: !ruby/object:Gem::Requirement
488
488
  requirements:
489
489
  - - ">="
490
490
  - !ruby/object:Gem::Version
491
491
  version: '0'
492
492
  requirements: []
493
- rubygems_version: 3.4.5
493
+ rubygems_version: 3.4.7
494
494
  signing_key:
495
495
  specification_version: 4
496
496
  summary: Coinbase Pro High-Frequency Trading Bot