radar-api 2.9.6 → 2.10.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: '04690aa184f331f4356b11db8ee0ee0c79decc9393e0e3e309430b71ad4ee85c'
4
- data.tar.gz: ebadffc000cf9fe9dbb55e8b6c4b348f4586f702f80f77aa64fbd05091a44a49
3
+ metadata.gz: 8d5eaea2c217c1539a4a2379de11598890b45bba72c7f30d61c49af63f0f5814
4
+ data.tar.gz: 44889add5fe13a6aee5a17255b6e8610b6ae63f47e03c59b57a901a7b6bebbf5
5
5
  SHA512:
6
- metadata.gz: 6e54bf9ac0f40490522c7950ee7282608dac790810fbddd50c1180479741b688887b074ff9ebec3ff6bc3a2e44e97c9d46d6054bc27dba05263f9e4425fb2f76
7
- data.tar.gz: a897a10be2c4870b6f35b8d3636554cd55f09c21f7874c81d1ce09d9a4dbbd6f03d0601c2ecf65a6b30d03cb721665f7d3a8cca10eac1bc45342313d9d4a98e4
6
+ metadata.gz: beac40b3a6749ed458110fc9108b950f472de289f30f0f8002dff44c6cca0a82a2ad55975570dac450fe9963f3216cc653f505bc2cf5946946211440e746474d
7
+ data.tar.gz: fad4fde3b34619395cf903ea80f65d24743dcc14a2756adcf30eefbefbe732f3bd297728f1a076ee40b059a8b5a7e8bad1a4808f81118a2cf3df54e5ea8ce6b3
@@ -4,6 +4,8 @@
4
4
  require 'google/protobuf'
5
5
 
6
6
  require 'google/protobuf/timestamp_pb'
7
+ require 'google/protobuf/wrappers_pb'
8
+ require 'transaction_pb'
7
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
10
  add_file("portfolios.proto", :syntax => :proto3) do
9
11
  add_message "Radar.EquitySource" do
@@ -103,6 +105,42 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
103
105
  value :EACH_DAY, 1
104
106
  value :EACH_MONTH, 2
105
107
  end
108
+ add_message "Radar.GetInitialTaxCreditReq" do
109
+ optional :user_id, :string, 1
110
+ optional :portfolio_id, :string, 2
111
+ end
112
+ add_message "Radar.GetInitialTaxCreditResp" do
113
+ optional :swing_trade, :message, 1, "google.protobuf.DoubleValue"
114
+ optional :day_trade, :message, 2, "google.protobuf.DoubleValue"
115
+ optional :reit, :message, 3, "google.protobuf.DoubleValue"
116
+ end
117
+ add_message "Radar.SetInitialTaxCreditReq" do
118
+ optional :user_id, :string, 1
119
+ optional :portfolio_id, :string, 2
120
+ optional :swing_trade, :message, 3, "google.protobuf.DoubleValue"
121
+ optional :day_trade, :message, 4, "google.protobuf.DoubleValue"
122
+ optional :reit, :message, 5, "google.protobuf.DoubleValue"
123
+ end
124
+ add_message "Radar.SetInitialTaxCreditResp" do
125
+ optional :swing_trade, :message, 1, "google.protobuf.DoubleValue"
126
+ optional :day_trade, :message, 2, "google.protobuf.DoubleValue"
127
+ optional :reit, :message, 3, "google.protobuf.DoubleValue"
128
+ end
129
+ add_message "Radar.GetPositionSnapshotsReq" do
130
+ optional :user_id, :string, 1
131
+ optional :portfolio_id, :string, 2
132
+ end
133
+ add_message "Radar.GetPositionSnapshotsResp" do
134
+ repeated :position_snapshots, :message, 1, "Radar.EquityPositionSnapshot"
135
+ end
136
+ add_message "Radar.SetPositionSnapshotsReq" do
137
+ optional :user_id, :string, 1
138
+ optional :portfolio_id, :string, 2
139
+ repeated :position_snapshots, :message, 3, "Radar.EquityPositionSnapshot"
140
+ end
141
+ add_message "Radar.SetPositionSnapshotsResp" do
142
+ repeated :position_snapshots, :message, 1, "Radar.EquityPositionSnapshot"
143
+ end
106
144
  end
107
145
  end
108
146
 
@@ -126,4 +164,12 @@ module Radar
126
164
  Event::EquityType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Radar.Event.EquityType").enummodule
127
165
  RunReq = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Radar.RunReq").msgclass
128
166
  RunReq::Event = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Radar.RunReq.Event").enummodule
167
+ GetInitialTaxCreditReq = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Radar.GetInitialTaxCreditReq").msgclass
168
+ GetInitialTaxCreditResp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Radar.GetInitialTaxCreditResp").msgclass
169
+ SetInitialTaxCreditReq = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Radar.SetInitialTaxCreditReq").msgclass
170
+ SetInitialTaxCreditResp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Radar.SetInitialTaxCreditResp").msgclass
171
+ GetPositionSnapshotsReq = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Radar.GetPositionSnapshotsReq").msgclass
172
+ GetPositionSnapshotsResp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Radar.GetPositionSnapshotsResp").msgclass
173
+ SetPositionSnapshotsReq = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Radar.SetPositionSnapshotsReq").msgclass
174
+ SetPositionSnapshotsResp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Radar.SetPositionSnapshotsResp").msgclass
129
175
  end
@@ -15,6 +15,10 @@ module Radar
15
15
  self.service_name = 'Radar.Portfolios'
16
16
 
17
17
  rpc :Run, RunReq, stream(Event)
18
+ rpc :GetInitialTaxCredit, GetInitialTaxCreditReq, GetInitialTaxCreditResp
19
+ rpc :SetInitialTaxCredit, SetInitialTaxCreditReq, SetInitialTaxCreditResp
20
+ rpc :GetPositionSnapshots, GetPositionSnapshotsReq, GetPositionSnapshotsResp
21
+ rpc :SetPositionSnapshots, SetPositionSnapshotsReq, SetPositionSnapshotsResp
18
22
  end
19
23
 
20
24
  Stub = Service.rpc_stub_class
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: radar-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.9.6
4
+ version: 2.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - André Aizim Kelmanson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-29 00:00:00.000000000 Z
11
+ date: 2020-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler