radar-api 2.6.0 → 2.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rake_tasks~ +6 -0
- data/Gemfile.lock +5 -5
- data/gen/cei_pb.rb +18 -0
- data/gen/cei_services_pb.rb +20 -0
- data/gen/portfolios_pb.rb +20 -4
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7d5f1e9e319206613191f5db7a5d45efe8a7e4dcc7784eb0b542b6634c24854d
|
4
|
+
data.tar.gz: 91d09e8cdb8d4aa4a961a7e3aa539a7a41ec727d4058edbc55faf7bfafed7f5c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0da9c140cdfa4c5963db1d566de299d4c308940967b88c61d346007e601035646e64e508fc2b1d1ec360621a18ed34286907f62cc41740283a13bd6e94c8920d
|
7
|
+
data.tar.gz: 8d942fcf690cd60b9f97764a3d2b9f6937cd1b3c2ce35e263f6544d984c1d1acaa6e6a39501d6bc7d3ebd8a6367866ea7570083ee20eb6beac1cd2e517cc7f62
|
data/.rake_tasks~
ADDED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
radar-api (2.
|
4
|
+
radar-api (2.8.0)
|
5
5
|
grpc
|
6
6
|
|
7
7
|
GEM
|
@@ -15,11 +15,11 @@ GEM
|
|
15
15
|
coderay (1.1.0)
|
16
16
|
ffi (1.11.1)
|
17
17
|
formatador (0.2.4)
|
18
|
-
google-protobuf (3.
|
19
|
-
googleapis-common-protos-types (1.0.
|
20
|
-
google-protobuf (~> 3.0)
|
21
|
-
grpc (1.27.0)
|
18
|
+
google-protobuf (3.12.2)
|
19
|
+
googleapis-common-protos-types (1.0.5)
|
22
20
|
google-protobuf (~> 3.11)
|
21
|
+
grpc (1.30.0)
|
22
|
+
google-protobuf (~> 3.12)
|
23
23
|
googleapis-common-protos-types (~> 1.0)
|
24
24
|
grpc-tools (1.27.0)
|
25
25
|
guard (2.6.0)
|
data/gen/cei_pb.rb
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: cei.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_file("cei.proto", :syntax => :proto3) do
|
8
|
+
add_message "SolveReq" do
|
9
|
+
end
|
10
|
+
add_message "SolveResp" do
|
11
|
+
optional :text, :string, 1
|
12
|
+
map :cookies, :string, :string, 2
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
SolveReq = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("SolveReq").msgclass
|
18
|
+
SolveResp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("SolveResp").msgclass
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: cei.proto for package ''
|
3
|
+
|
4
|
+
require 'grpc'
|
5
|
+
require 'cei_pb'
|
6
|
+
|
7
|
+
module CaptchaCracker
|
8
|
+
class Service
|
9
|
+
|
10
|
+
include GRPC::GenericService
|
11
|
+
|
12
|
+
self.marshal_class_method = :encode
|
13
|
+
self.unmarshal_class_method = :decode
|
14
|
+
self.service_name = 'CaptchaCracker'
|
15
|
+
|
16
|
+
rpc :Solve, SolveReq, SolveResp
|
17
|
+
end
|
18
|
+
|
19
|
+
Stub = Service.rpc_stub_class
|
20
|
+
end
|
data/gen/portfolios_pb.rb
CHANGED
@@ -24,15 +24,26 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
24
24
|
optional :monthly_stock_exemption_period_profit, :message, 26, "Radar.Event.MonthlyStockExemptionPeriodProfit"
|
25
25
|
end
|
26
26
|
end
|
27
|
+
add_message "Radar.Event.EquitySource" do
|
28
|
+
optional :symbol, :string, 1
|
29
|
+
optional :type, :enum, 2, "Radar.Event.EquityType"
|
30
|
+
end
|
31
|
+
add_message "Radar.Event.Source" do
|
32
|
+
oneof :type do
|
33
|
+
optional :other, :string, 1
|
34
|
+
optional :equity, :message, 2, "Radar.Event.EquitySource"
|
35
|
+
end
|
36
|
+
end
|
27
37
|
add_message "Radar.Event.CashFlow" do
|
28
38
|
optional :type, :enum, 1, "Radar.Event.CashFlow.Type"
|
29
39
|
optional :value, :double, 2
|
30
|
-
optional :source, :
|
40
|
+
optional :source, :message, 3, "Radar.Event.Source"
|
31
41
|
end
|
32
42
|
add_enum "Radar.Event.CashFlow.Type" do
|
33
43
|
value :OTHER, 0
|
34
44
|
value :DIVIDEND, 1
|
35
45
|
value :INTEREST_ON_OWN_CAPITAL, 2
|
46
|
+
value :BONUS, 3
|
36
47
|
end
|
37
48
|
add_message "Radar.Event.Portfolio" do
|
38
49
|
repeated :position, :message, 1, "Radar.Event.Portfolio.Position"
|
@@ -43,6 +54,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
43
54
|
optional :shares, :int32, 2
|
44
55
|
optional :value, :double, 3
|
45
56
|
optional :avg_price, :double, 4
|
57
|
+
optional :equity_type, :enum, 5, "Radar.Event.EquityType"
|
46
58
|
end
|
47
59
|
add_message "Radar.Event.Portfolio.Provision" do
|
48
60
|
optional :value, :double, 1
|
@@ -50,7 +62,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
50
62
|
end
|
51
63
|
add_message "Radar.Event.PositionMonthTax" do
|
52
64
|
optional :position_type, :enum, 1, "Radar.Event.PositionType"
|
53
|
-
optional :
|
65
|
+
optional :equity_type, :enum, 2, "Radar.Event.EquityType"
|
54
66
|
optional :value, :double, 3
|
55
67
|
end
|
56
68
|
add_message "Radar.Event.StockExemptMonthTax" do
|
@@ -73,7 +85,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
73
85
|
value :SWING_TRADE, 0
|
74
86
|
value :DAY_TRADE, 1
|
75
87
|
end
|
76
|
-
add_enum "Radar.Event.
|
88
|
+
add_enum "Radar.Event.EquityType" do
|
77
89
|
value :OTHER, 0
|
78
90
|
value :STOCK, 1
|
79
91
|
value :OPTION, 2
|
@@ -84,10 +96,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
84
96
|
optional :user_id, :string, 1
|
85
97
|
optional :portfolio_id, :string, 2
|
86
98
|
repeated :events, :enum, 3, "Radar.RunReq.Event"
|
99
|
+
optional :upto, :message, 4, "google.protobuf.Timestamp"
|
87
100
|
end
|
88
101
|
add_enum "Radar.RunReq.Event" do
|
89
102
|
value :CASH_FLOW, 0
|
90
103
|
value :EACH_DAY, 1
|
104
|
+
value :EACH_MONTH, 2
|
91
105
|
end
|
92
106
|
end
|
93
107
|
end
|
@@ -96,6 +110,8 @@ module Radar
|
|
96
110
|
EquitySource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Radar.EquitySource").msgclass
|
97
111
|
InterestOnOwnCapital = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Radar.InterestOnOwnCapital").msgclass
|
98
112
|
Event = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Radar.Event").msgclass
|
113
|
+
Event::EquitySource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Radar.Event.EquitySource").msgclass
|
114
|
+
Event::Source = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Radar.Event.Source").msgclass
|
99
115
|
Event::CashFlow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Radar.Event.CashFlow").msgclass
|
100
116
|
Event::CashFlow::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Radar.Event.CashFlow.Type").enummodule
|
101
117
|
Event::Portfolio = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Radar.Event.Portfolio").msgclass
|
@@ -107,7 +123,7 @@ module Radar
|
|
107
123
|
Event::MonthlySell = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Radar.Event.MonthlySell").msgclass
|
108
124
|
Event::MonthlyStockExemptionPeriodProfit = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Radar.Event.MonthlyStockExemptionPeriodProfit").msgclass
|
109
125
|
Event::PositionType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Radar.Event.PositionType").enummodule
|
110
|
-
Event::
|
126
|
+
Event::EquityType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Radar.Event.EquityType").enummodule
|
111
127
|
RunReq = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Radar.RunReq").msgclass
|
112
128
|
RunReq::Event = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("Radar.RunReq.Event").enummodule
|
113
129
|
end
|
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.
|
4
|
+
version: 2.8.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-
|
11
|
+
date: 2020-07-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -73,12 +73,15 @@ executables: []
|
|
73
73
|
extensions: []
|
74
74
|
extra_rdoc_files: []
|
75
75
|
files:
|
76
|
+
- ".rake_tasks~"
|
76
77
|
- Gemfile
|
77
78
|
- Gemfile.lock
|
78
79
|
- Guardfile
|
79
80
|
- LICENSE.txt
|
80
81
|
- README.md
|
81
82
|
- Rakefile
|
83
|
+
- gen/cei_pb.rb
|
84
|
+
- gen/cei_services_pb.rb
|
82
85
|
- gen/exporter_pb.rb
|
83
86
|
- gen/exporter_services_pb.rb
|
84
87
|
- gen/portfolios_pb.rb
|