cryptum 0.0.284 → 0.0.286

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 89024d4cc5845fbe7796b479945592dbbe377aaad3b424367a1c34f431c2e2ac
4
- data.tar.gz: cc67a839bfb60717a9cb374b61db9925f819fac1ef197db353c7b6c9f3854344
3
+ metadata.gz: c6803b2f1648237eeb6d2fdf0277e397e4c4224370185ba089ca51aeba5a0fb2
4
+ data.tar.gz: 5301e4fe263731a469adb3a315c28da88efa4703eddac7a2a9ccceb8ef3c466d
5
5
  SHA512:
6
- metadata.gz: 5637a7925b03289401e84051b6e96321efbfd8102ddbfb8f41484d31edea6bbc25549ed01b9da6e3e63198b90ba21cfb9af493a060f99136242b1134210773a8
7
- data.tar.gz: a5a9622fe9102851bdc3c62aebdd9cad64a97f0a0b3f502cbeb7897f05199e6877ac11aade58249bd538b96785c4701418d4cbff4407a0729420a6c47da373c9
6
+ metadata.gz: 208a2da8cb0fb3f1f11c33c17e6a17c13f24337cb0053ce41b550ad5ec8ac8c090b5e6f819f5f44652b00ab3d137c87381bd08796e8faca75fefcd3b4bee891d
7
+ data.tar.gz: aa4f27d4a756f925502aa9f329eb4b7d1d6c36f5756494b8b9f23df9e306b2a648bc68d8ce73bbf90ad869c9b85d9179977ee62783e5b9464245e8c703a7a620
@@ -34,19 +34,21 @@ module Cryptum
34
34
  # order_difference = 0
35
35
  if buy_total > sell_total
36
36
  order_difference = buy_total - sell_total
37
- order_difference_out = Cryptum.beautify_large_number(
38
- value: order_difference
39
- ).to_i
37
+ # Too Expensive
38
+ # order_difference_out = Cryptum.beautify_large_number(
39
+ # value: order_difference
40
+ # ).to_i
40
41
  indicator_hash[:color] = :green
41
- indicator_hash[:ui] = "BUYS UP BY #{order_difference_out}"
42
+ indicator_hash[:ui] = "BUYS UP BY #{order_difference.to_i}"
42
43
  indicator_hash[:status] = "B#{Cryptum.up_arrow}"
43
44
  elsif buy_total < sell_total
44
45
  order_difference = sell_total - buy_total
45
- order_difference_out = Cryptum.beautify_large_number(
46
- value: order_difference
47
- ).to_i
46
+ # Too Expensive
47
+ # order_difference_out = Cryptum.beautify_large_number(
48
+ # value: order_difference
49
+ # ).to_i
48
50
  indicator_hash[:color] = :red
49
- indicator_hash[:ui] = "SELLS UP BY #{order_difference_out}"
51
+ indicator_hash[:ui] = "SELLS UP BY #{order_difference.to_i}"
50
52
  indicator_hash[:status] = "S#{Cryptum.up_arrow}"
51
53
  else
52
54
  # This Condition is Met When candle_buy_tot == candle_sell_tot
@@ -72,7 +72,7 @@ module Cryptum
72
72
  ui_win: order_timer_win,
73
73
  color: :white,
74
74
  style: :bold,
75
- string: "Market Trend Reset: #{trend_countdown}"
75
+ string: "#{option_choice.market_trend_reset_label} Market Trend Reset: #{trend_countdown}"
76
76
  )
77
77
 
78
78
  # COLUMN 2
@@ -18,7 +18,7 @@ module Cryptum
18
18
  quote_increment = this_product[:quote_increment]
19
19
  fiat_smallest_decimal = quote_increment.to_s.split('.')[-1].length
20
20
 
21
- symbol_out = "#{this_product[:id]}.#{option_choice.market_trend_reset_label}"
21
+ symbol_out = "#{this_product[:id]}.D"
22
22
  fiat = this_product[:quote_currency].to_sym
23
23
  fiat_symbol = '?'
24
24
  fiat_symbol = '$' if fiat == :USD
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cryptum
4
- VERSION = '0.0.284'
4
+ VERSION = '0.0.286'
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.284
4
+ version: 0.0.286
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-07 00:00:00.000000000 Z
11
+ date: 2022-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable