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 +4 -4
- data/lib/cryptum/order_book/market_trend.rb +3 -3
- data/lib/cryptum/ui/order_plan.rb +2 -1
- data/lib/cryptum/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c8e769004838120d15391c00d30c41ab9a3ef020ce7931d02b2d477c07c1cb2
|
4
|
+
data.tar.gz: dd678a5767766785897b8b840cbf9e17e8bf4ff54322aae8abbecf751c22b878
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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 = '
|
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 = '
|
60
|
-
motivation = '
|
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
|
data/lib/cryptum/version.rb
CHANGED