informativos-api 1.0.1 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e8b9daa4afa43da9de3eca8c920a069ba2fee2f72e9f94005b2b89a8bd027d9c
4
- data.tar.gz: 9b1d452a5e26bb54e3c828f028cfd9955606542ae768eb1cf3121a49b12945a6
3
+ metadata.gz: 7d16b91b492a874f7e43e8381f591d558a98e185836ee71c3704b75e9b359f5d
4
+ data.tar.gz: 6ba6a3d4962ee47d05246e47ddc9e51c095b6c7a771760c1e53cdc017ddafb3f
5
5
  SHA512:
6
- metadata.gz: b3cd2c34a471c8987cc86f149f87fdcf0ed64e8303143cdd14404957b86ed71a43bb627e46a038aef5be0a6a2146ab2d708df8bc29894c54d4fc96ff7a05b0a8
7
- data.tar.gz: 5acea99c9699019f7a3e645e6bdb6f8d5a123c76f42562c49daa36d81c0f5f1713694cebb889da27d15dca6c3ffaa07348f544bf2ed8a1467205127eacac5815
6
+ metadata.gz: ea945a18875cfa1a83a8a34f9d2c3eff0884780e82661d3aacd73805c0b4d890384bb9bc63dd5893d46f047863e08f2acaad46ad4e9b135ba11ce9cdceaf299c
7
+ data.tar.gz: 0c1505b9743d8b83b5011d7757dc84a9cf0a1c21826d34d19507d97b661b990eda8837c7d2ebefd40ca1b4dcac6048d490c3552a854fe47e7d2ecead30dfc9bb
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- informativos-api (1.0.0)
4
+ informativos-api (1.1.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -0,0 +1,96 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: CorporateActions.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_file("CorporateActions.proto", :syntax => :proto3) do
8
+ add_message "informativos.GetCorporateActionsReq" do
9
+ optional :updated_since, :uint64, 1
10
+ optional :type, :enum, 2, "informativos.GetCorporateActionsReq.Type"
11
+ end
12
+ add_enum "informativos.GetCorporateActionsReq.Type" do
13
+ value :DIVIDEND, 0
14
+ value :INTEREST_ON_OWN_CAPITAL_ISSUE, 1
15
+ value :SPLIT, 2
16
+ value :REVERSE_SPLIT, 3
17
+ value :BONUS_ISSUE, 4
18
+ value :SUBSCRIPTION_RIGHT, 5
19
+ value :AMORTIZATION, 6
20
+ end
21
+ add_message "informativos.Dividend" do
22
+ optional :base_date, :uint64, 1
23
+ optional :ex_date, :uint64, 2
24
+ optional :liquidation_date, :uint64, 3
25
+ optional :value, :double, 4
26
+ optional :security, :string, 5
27
+ end
28
+ add_message "informativos.InterestOnOwnCapitalIssue" do
29
+ optional :base_date, :uint64, 1
30
+ optional :ex_date, :uint64, 2
31
+ optional :liquidation_date, :uint64, 3
32
+ optional :value, :double, 4
33
+ optional :security, :string, 5
34
+ end
35
+ add_message "informativos.Split" do
36
+ optional :date, :uint64, 1
37
+ optional :ex_date, :uint64, 2
38
+ optional :factor, :double, 3
39
+ optional :security, :string, 4
40
+ end
41
+ add_message "informativos.ReverseSplit" do
42
+ optional :date, :uint64, 1
43
+ optional :ex_date, :uint64, 2
44
+ optional :factor, :double, 3
45
+ optional :security, :string, 4
46
+ end
47
+ add_message "informativos.BonusIssue" do
48
+ optional :date, :uint64, 1
49
+ optional :ex_date, :uint64, 2
50
+ optional :factor, :double, 3
51
+ optional :security, :string, 4
52
+ end
53
+ add_message "informativos.SubscriptionRight" do
54
+ optional :date, :uint64, 1
55
+ optional :ex_date, :uint64, 2
56
+ optional :maturity_date, :uint64, 3
57
+ optional :factor, :double, 4
58
+ optional :strike, :double, 5
59
+ optional :security, :string, 6
60
+ optional :target_security, :string, 7
61
+ end
62
+ add_message "informativos.Amortization" do
63
+ optional :base_date, :uint64, 1
64
+ optional :ex_date, :uint64, 2
65
+ optional :liquidation_date, :uint64, 3
66
+ optional :value, :double, 4
67
+ optional :security, :string, 5
68
+ end
69
+ add_message "informativos.CorporateAction" do
70
+ optional :updated_at, :uint64, 1
71
+ optional :id, :string, 2
72
+ oneof :type do
73
+ optional :dividend, :message, 3, "informativos.Dividend"
74
+ optional :interest_on_own_capital_issue, :message, 4, "informativos.InterestOnOwnCapitalIssue"
75
+ optional :split, :message, 5, "informativos.Split"
76
+ optional :reverse_split, :message, 6, "informativos.ReverseSplit"
77
+ optional :bonus_issue, :message, 7, "informativos.BonusIssue"
78
+ optional :subscription_right, :message, 8, "informativos.SubscriptionRight"
79
+ optional :amortization, :message, 9, "informativos.Amortization"
80
+ end
81
+ end
82
+ end
83
+ end
84
+
85
+ module Informativos
86
+ GetCorporateActionsReq = Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.GetCorporateActionsReq").msgclass
87
+ GetCorporateActionsReq::Type = Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.GetCorporateActionsReq.Type").enummodule
88
+ Dividend = Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.Dividend").msgclass
89
+ InterestOnOwnCapitalIssue = Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.InterestOnOwnCapitalIssue").msgclass
90
+ Split = Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.Split").msgclass
91
+ ReverseSplit = Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.ReverseSplit").msgclass
92
+ BonusIssue = Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.BonusIssue").msgclass
93
+ SubscriptionRight = Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.SubscriptionRight").msgclass
94
+ Amortization = Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.Amortization").msgclass
95
+ CorporateAction = Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.CorporateAction").msgclass
96
+ end
@@ -0,0 +1,22 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: CorporateActions.proto for package 'informativos'
3
+
4
+ require 'grpc'
5
+ require 'CorporateActions_pb'
6
+
7
+ module Informativos
8
+ module CorporateActions
9
+ class Service
10
+
11
+ include GRPC::GenericService
12
+
13
+ self.marshal_class_method = :encode
14
+ self.unmarshal_class_method = :decode
15
+ self.service_name = 'informativos.CorporateActions'
16
+
17
+ rpc :GetCorporateActions, GetCorporateActionsReq, stream(CorporateAction)
18
+ end
19
+
20
+ Stub = Service.rpc_stub_class
21
+ end
22
+ end
@@ -9,24 +9,24 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
9
9
  optional :updated_since, :uint64, 1
10
10
  end
11
11
  add_message "informativos.Price" do
12
- optional :id, :string, 1
13
- optional :security, :string, 2
14
- optional :settlement_date, :uint64, 3
15
- optional :date, :uint64, 4
16
- optional :close, :double, 5
17
- optional :open, :double, 6
18
- optional :high, :double, 7
19
- optional :low, :double, 8
20
- optional :average, :double, 9
21
- optional :bid, :double, 10
22
- optional :ask, :double, 11
23
- optional :volume, :double, 12
24
- optional :quantity, :double, 13
25
- optional :trades, :double, 14
26
- optional :change, :double, 15
27
- optional :a_change, :float, 16
28
- optional :origin, :string, 17
29
- optional :updated_at, :uint64, 18
12
+ optional :updated_at, :uint64, 1
13
+ optional :id, :string, 2
14
+ optional :security, :string, 3
15
+ optional :settlement_date, :uint64, 4
16
+ optional :date, :uint64, 5
17
+ optional :close, :double, 6
18
+ optional :open, :double, 7
19
+ optional :high, :double, 8
20
+ optional :low, :double, 9
21
+ optional :average, :double, 10
22
+ optional :bid, :double, 11
23
+ optional :ask, :double, 12
24
+ optional :volume, :double, 13
25
+ optional :quantity, :double, 14
26
+ optional :trades, :double, 15
27
+ optional :change, :double, 16
28
+ optional :a_change, :float, 17
29
+ optional :origin, :string, 18
30
30
  end
31
31
  end
32
32
  end
@@ -9,15 +9,28 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
9
9
  optional :updated_since, :uint64, 1
10
10
  end
11
11
  add_message "informativos.Security" do
12
- optional :id, :string, 1
13
- optional :name, :string, 2
14
- optional :isin, :string, 3
15
- optional :symbol, :string, 4
16
- optional :is_ibov, :bool, 5
17
- optional :security_type, :string, 6
18
- optional :spec, :string, 7
19
- optional :settlement_date, :uint64, 8
20
- optional :updated_at, :uint64, 9
12
+ optional :updated_at, :uint64, 1
13
+ optional :id, :string, 2
14
+ optional :name, :string, 3
15
+ optional :isin, :string, 4
16
+ optional :symbol, :string, 5
17
+ optional :is_ibov, :bool, 6
18
+ optional :type, :enum, 7, "informativos.Security.Type"
19
+ optional :spec, :string, 8
20
+ optional :settlement_date, :uint64, 9
21
+ optional :underlying_security, :string, 10
22
+ end
23
+ add_enum "informativos.Security.Type" do
24
+ value :UNDEFINED, 0
25
+ value :NOT_MAPPED, 1
26
+ value :LFT, 2
27
+ value :LTN, 3
28
+ value :NTNB, 4
29
+ value :NTNC, 5
30
+ value :NTNF, 6
31
+ value :OPTION, 7
32
+ value :STOCK, 8
33
+ value :TERM, 9
21
34
  end
22
35
  end
23
36
  end
@@ -25,4 +38,5 @@ end
25
38
  module Informativos
26
39
  GetSecuritiesReq = Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.GetSecuritiesReq").msgclass
27
40
  Security = Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.Security").msgclass
41
+ Security::Type = Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.Security.Type").enummodule
28
42
  end
@@ -0,0 +1,3 @@
1
+ require 'Prices_services_pb'
2
+ require 'Securities_services_pb'
3
+ require 'CorporateActions_services_pb'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: informativos-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Breno Perricone Fischer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-14 00:00:00.000000000 Z
11
+ date: 2020-01-22 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Informativos API
14
14
  email:
@@ -21,11 +21,14 @@ files:
21
21
  - Gemfile.lock
22
22
  - LICENSE.txt
23
23
  - Rakefile
24
+ - gen/CorporateActions_pb.rb
25
+ - gen/CorporateActions_services_pb.rb
24
26
  - gen/Prices_pb.rb
25
27
  - gen/Prices_services_pb.rb
26
28
  - gen/Securities_pb.rb
27
29
  - gen/Securities_services_pb.rb
28
30
  - informativos-api.gemspec
31
+ - lib/informativos-api.rb
29
32
  homepage: https://api.informtivos.io/
30
33
  licenses:
31
34
  - MIT
@@ -46,7 +49,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
46
49
  - !ruby/object:Gem::Version
47
50
  version: '0'
48
51
  requirements: []
49
- rubygems_version: 3.0.3
52
+ rubygems_version: 3.0.6
50
53
  signing_key:
51
54
  specification_version: 4
52
55
  summary: Informativos API