cryptum 0.0.290 → 0.0.291
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 +4 -4
- data/lib/cryptum/order_book/market_trend.rb +10 -10
- 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: de399b2c8ca142a086d12d91f497a7c77283f56719f1c02cdeb8b0f73655c97c
|
4
|
+
data.tar.gz: 6bbbc70fef48971cefa7e489b20be9c6f27342f641e5836d1bdc1fd5dc0492d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d627c18f7bb9ba293edb645a084233a1f11efabea06626ac86b5fb12fe7912f7eb96aac94f7c43f5449dd13f92f3b2ba2a14e5bc2871023339edbee653ed48d
|
7
|
+
data.tar.gz: 56c49b05af1efe358b0799be7b2802b14700d3a1be779d05afdba98bbf897ce208f9aa04f430d0414b1d5bb1454541aa2da50a4ef45c93213f83eb97097d1b68
|
@@ -98,16 +98,16 @@ module Cryptum
|
|
98
98
|
# Only keep order history meta for those
|
99
99
|
# hashes that exist in the last order history
|
100
100
|
# response
|
101
|
-
order_history_meta.keep_if do |ohm|
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
end
|
110
|
-
event_history.order_book[:order_history_meta] = order_history_meta
|
101
|
+
# order_history_meta.keep_if do |ohm|
|
102
|
+
# order_history.find do |oh|
|
103
|
+
# (oh[:id] == ohm[:buy_order_id] || oh[:id] == ohm[:sell_order_id]) && (
|
104
|
+
# ohm[:color].to_sym == :white ||
|
105
|
+
# ohm[:color].to_sym == :green ||
|
106
|
+
# ohm[:color].to_sym == :yellow
|
107
|
+
# )
|
108
|
+
# end
|
109
|
+
# end
|
110
|
+
# event_history.order_book[:order_history_meta] = order_history_meta
|
111
111
|
|
112
112
|
# Refactor TPM to be 0.01 > than fee tier,
|
113
113
|
# particularly as fee tier goes up or down
|
data/lib/cryptum/version.rb
CHANGED