bvbg 0.1.0 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/bvbg-0.1.0.gem +0 -0
- data/bvbg.gemspec +1 -1
- data/lib/bvbg/bvbg86_handler.rb +2 -2
- data/lib/bvbg/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8557f03c637046f1d0e261fa6aa2f7433299d5be
|
4
|
+
data.tar.gz: 1ea7fbc64f54d9a063be7e86c41f29ffca54fecc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1dbc189bef5885634a630a6b1fed7173f52bee2e1a9b633e52ce9d1fdae9aeceba675940447c6078426685dd45d7e44b9621264a57f0811896fbc58226e5b2b2
|
7
|
+
data.tar.gz: a07099456f2063d675f6a5d17d929aacee42c682e9e5f7d193ab9ab8c619e7e6e1c4adf2e1c7b051020f2da73debf321eeac752ec7281c351bfc3bf53da1ea61
|
data/Gemfile.lock
CHANGED
data/bvbg-0.1.0.gem
ADDED
Binary file
|
data/bvbg.gemspec
CHANGED
@@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
|
|
7
7
|
spec.name = "bvbg"
|
8
8
|
spec.version = Bvbg::VERSION
|
9
9
|
spec.authors = ["Pedro Aguiar dos Santos"]
|
10
|
-
spec.email = ["
|
10
|
+
spec.email = ["desenvolvimento@investtools.com.br"]
|
11
11
|
|
12
12
|
spec.summary = %q{Gem for reading Bovespa BVBG files}
|
13
13
|
spec.homepage = "https://github.com/investtools/bvbg.git"
|
data/lib/bvbg/bvbg86_handler.rb
CHANGED
@@ -17,7 +17,6 @@ class Bvbg::Bvbg86Handler
|
|
17
17
|
end
|
18
18
|
|
19
19
|
def build_line(raw_item)
|
20
|
-
puts raw_item[:FinInstrmAttrbts][:BestBidPric]
|
21
20
|
{
|
22
21
|
name: raw_item[:SctyId][:TckrSymb],
|
23
22
|
symbol: raw_item[:SctyId][:TckrSymb],
|
@@ -32,7 +31,8 @@ class Bvbg::Bvbg86Handler
|
|
32
31
|
volume: raw_item[:FinInstrmAttrbts][:NtlFinVol],
|
33
32
|
quantity: raw_item[:FinInstrmAttrbts][:FinInstrmQty],
|
34
33
|
trades: raw_item[:TradDtls][:TradQty],
|
35
|
-
adj_close: raw_item[:FinInstrmAttrbts][:OscnPctg]
|
34
|
+
adj_close: raw_item[:FinInstrmAttrbts][:OscnPctg],
|
35
|
+
future_adj: raw_item[:FinInstrmAttrbts][:AdjstdValCtrct]
|
36
36
|
}
|
37
37
|
end
|
38
38
|
|
data/lib/bvbg/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bvbg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pedro Aguiar dos Santos
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-10-
|
11
|
+
date: 2018-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -110,7 +110,7 @@ dependencies:
|
|
110
110
|
version: '0'
|
111
111
|
description:
|
112
112
|
email:
|
113
|
-
-
|
113
|
+
- desenvolvimento@investtools.com.br
|
114
114
|
executables: []
|
115
115
|
extensions: []
|
116
116
|
extra_rdoc_files: []
|
@@ -126,6 +126,7 @@ files:
|
|
126
126
|
- Rakefile
|
127
127
|
- bin/console
|
128
128
|
- bin/setup
|
129
|
+
- bvbg-0.1.0.gem
|
129
130
|
- bvbg.gemspec
|
130
131
|
- lib/bvbg.rb
|
131
132
|
- lib/bvbg/bvbg86_handler.rb
|