cryptum 0.0.345 → 0.0.346

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: 2476e8d459d2cedb77447a65564b2ea564917e82ab806c03c617ed289be1f247
4
- data.tar.gz: 5e30077ba732f84341c56811acb2613d39f6a244e05a0a3aacf67171a53e9331
3
+ metadata.gz: 6c8e769004838120d15391c00d30c41ab9a3ef020ce7931d02b2d477c07c1cb2
4
+ data.tar.gz: dd678a5767766785897b8b840cbf9e17e8bf4ff54322aae8abbecf751c22b878
5
5
  SHA512:
6
- metadata.gz: 2bfa1a93abce00e987a79964d87dbce1a08fb5276b260791820c344a1c4080c4b276f11290029327149fbaf4108d3b6890593bfbd2e08461b6d3555bdd787183
7
- data.tar.gz: a9609ebc72a394b2368533dacf37a639cb37106c4619c3a9d036b64def573ff8dd35d5c07d406a92708136d91d561bd4d7188932807b1c909663ff982394b579
6
+ metadata.gz: 6323485d55400a92e0a4e14a40d9d9df6b66d7bd9380cedae39e02fab047f844907cbad8408570c763efed2e96c765f2a337c6cfc973918e5e179291d03d7d68
7
+ data.tar.gz: d909abc09d62af06b310f1ac211b8bd3025e3fe06d0ab59720e0664f2abbd569719e2415ca901b584e67adca2f8701fd7a33f798bbd21444890baa1f41bfb3a3
@@ -45,7 +45,7 @@ module Cryptum
45
45
  # order_difference_out = Cryptum.beautify_large_number(
46
46
  # value: order_difference
47
47
  # ).to_i
48
- motivation = 'BUYING THE DIP'
48
+ motivation = 'BTD'
49
49
  motivation = 'FOMO' if event_history.bullish_trend
50
50
  indicator_hash[:color] = :green
51
51
  indicator_hash[:ui] = "#{motivation} | BUYS UP BY #{order_difference.to_i}"
@@ -56,8 +56,8 @@ module Cryptum
56
56
  # order_difference_out = Cryptum.beautify_large_number(
57
57
  # value: order_difference
58
58
  # ).to_i
59
- motivation = 'GETTING THE F* OUT'
60
- motivation = 'TAKING PROFITS' if event_history.bullish_trend
59
+ motivation = 'GTFO'
60
+ motivation = 'TPROF' if event_history.bullish_trend
61
61
  indicator_hash[:color] = :red
62
62
  indicator_hash[:ui] = "#{motivation} | SELLS UP BY #{order_difference.to_i}"
63
63
  indicator_hash[:status] = "S#{Cryptum.up_arrow}"
@@ -62,7 +62,8 @@ module Cryptum
62
62
  current_crypto_fiat_value.to_f.fdiv(total_holdings.to_f) * 100
63
63
  )
64
64
 
65
- event_history.red_pill = true if crypto_invested_percent.to_f > autotrade_percent
65
+ event_history.red_pill = true if crypto_invested_percent.to_f > autotrade_percent ||
66
+ fiat_budget > min_market_funds.to_f
66
67
 
67
68
  # SAUCE 2
68
69
  # Generating and/or recalculating order plan
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cryptum
4
- VERSION = '0.0.345'
4
+ VERSION = '0.0.346'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cryptum
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.345
4
+ version: 0.0.346
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.