cryptum 0.0.437 → 0.0.439
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cryptum/ui/order/execute.rb +3 -5
- data/lib/cryptum/ui/ticker.rb +1 -1
- data/lib/cryptum/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a7d57a00e16f113ad33f21171cf5b634e17903f16ce968365a55561a77c2979d
|
4
|
+
data.tar.gz: 0e8ca57d898892f9cab957256bc7b04f9f54dfa8471ae252103bb5470b1b53a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d869f0cf136ed959d8f11ab21a7e5f6d0efabbcc9aee128861621318ea257ca1ea96bc9f69ede6c65c701b4c9dc282f17b2750e172773544cad93dd386cb2d96
|
7
|
+
data.tar.gz: e7542b23ab3a0080ffdf3353ca7f83096494b8827f189f49ef5130b7455a0874116144386ce2fc4bb27c0898336851f4822e931d426057124b055debaceb16d2
|
@@ -72,11 +72,9 @@ module Cryptum
|
|
72
72
|
# BUY
|
73
73
|
# Reset times to max or default depending on
|
74
74
|
# BULL or BEAR market trend
|
75
|
-
event_history.time_between_orders = event_history.time_between_orders_max if buy_total >= sell_total &&
|
76
|
-
!event_history.bullish_trend
|
75
|
+
event_history.time_between_orders = event_history.time_between_orders_max if buy_total >= sell_total && !event_history.bullish_trend
|
77
76
|
|
78
|
-
event_history.time_between_orders = event_history.time_between_orders_reset if sell_total > buy_total &&
|
79
|
-
!event_history.bullish_trend
|
77
|
+
event_history.time_between_orders = event_history.time_between_orders_reset if sell_total > buy_total && !event_history.bullish_trend
|
80
78
|
|
81
79
|
if event_history.order_ready &&
|
82
80
|
indicator_status.action_signal == :buy &&
|
@@ -86,7 +84,7 @@ module Cryptum
|
|
86
84
|
|
87
85
|
# If price is greater than the lowest selling
|
88
86
|
# limit order, force it to be slightly less
|
89
|
-
last_order = order_history_meta.reverse.find { |o| o[:color] ==
|
87
|
+
last_order = order_history_meta.reverse.find { |o| o[:color].to_sym == :yellow }
|
90
88
|
# lowest_selling_price = event_history.lowest_selling_price
|
91
89
|
event_history.last_purchase_price = last_order[:price].to_f if last_order
|
92
90
|
last_purchase_price = event_history.last_purchase_price
|
data/lib/cryptum/ui/ticker.rb
CHANGED
data/lib/cryptum/version.rb
CHANGED
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.
|
4
|
+
version: 0.0.439
|
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-
|
11
|
+
date: 2023-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|