enterprice 0.0.2 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/enterprice.rb +3 -2
- data/lib/enterprice/io/candle_stream.rb +1 -1
- data/lib/enterprice/io/multi_candle_stream.rb +0 -4
- data/lib/enterprice/io/named_candle_stream.rb +0 -2
- data/lib/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 43c7b1f57198bb9225cbaa672efcf889836c0750
|
4
|
+
data.tar.gz: 292c225992f98ce2d0db60d51e3d547cca233d51
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 948dc92776d3eb807deacfd92642e7c85e879989b11724f2dec5f7462638292fa6b88c7186cf77c7611025d4c236f8d195217acc3a81c0b534b680827b99af8a
|
7
|
+
data.tar.gz: 1d9267fb1bf616098612ce583fde68d13339c4da1f6c19c55da5172e556488061a6b84b6fd0cac5e4a7e83c2d4074a41daeddbc0104986fd470d9590e160c3d0
|
data/lib/enterprice.rb
CHANGED
@@ -46,11 +46,11 @@ class CandleStream
|
|
46
46
|
@block.call [@pivot, @open, @high, @low, @close, @volume]
|
47
47
|
end
|
48
48
|
|
49
|
+
private
|
49
50
|
def call_blank
|
50
51
|
@block.call [@pivot, @prev_close, @prev_close, @prev_close, @prev_close, 0]
|
51
52
|
end
|
52
53
|
|
53
|
-
private
|
54
54
|
def reset_state
|
55
55
|
@high= -Float::INFINITY
|
56
56
|
@low= Float::INFINITY
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: enterprice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nurettin Onur TUĞCU
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-04-
|
11
|
+
date: 2014-04-09 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: This gem provides utilities and methods I use when inspecting time series
|
14
14
|
on remote machines.
|