hydrogen-proton-api 1.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +7 -0
- data/README.md +82 -0
- data/Rakefile +8 -0
- data/git_push.sh +55 -0
- data/lib/proton_api.rb +141 -0
- data/lib/proton_api/api/annuities_api.rb +347 -0
- data/lib/proton_api/api/business_financial_management_api.rb +293 -0
- data/lib/proton_api/api/cards_api.rb +185 -0
- data/lib/proton_api/api/financial_health_api.rb +239 -0
- data/lib/proton_api/api/financial_planning_api.rb +671 -0
- data/lib/proton_api/api/goals_api.rb +347 -0
- data/lib/proton_api/api/life_insurance_api.rb +77 -0
- data/lib/proton_api/api/personal_financial_management_api.rb +347 -0
- data/lib/proton_api/api/portfolio_construction_api.rb +77 -0
- data/lib/proton_api/api/portfolio_management_api.rb +77 -0
- data/lib/proton_api/api/risk_scoring_api.rb +185 -0
- data/lib/proton_api/api/simulations_api.rb +401 -0
- data/lib/proton_api/api/util_api.rb +185 -0
- data/lib/proton_api/api_client.rb +391 -0
- data/lib/proton_api/api_error.rb +38 -0
- data/lib/proton_api/auth_configuration.rb +181 -0
- data/lib/proton_api/configuration.rb +209 -0
- data/lib/proton_api/environment.rb +36 -0
- data/lib/proton_api/models/accumulation_goal_deposit_config.rb +338 -0
- data/lib/proton_api/models/annuity_calculator_accumulation_horizon_request.rb +459 -0
- data/lib/proton_api/models/annuity_calculator_annuity_amount_request.rb +461 -0
- data/lib/proton_api/models/annuity_calculator_decumulation_horizon_request.rb +459 -0
- data/lib/proton_api/models/annuity_calculator_deposit_amount_request.rb +468 -0
- data/lib/proton_api/models/annuity_calculator_initial_balance_request.rb +468 -0
- data/lib/proton_api/models/annuity_deposit_schedule.rb +254 -0
- data/lib/proton_api/models/answer.rb +186 -0
- data/lib/proton_api/models/backtest_request.rb +295 -0
- data/lib/proton_api/models/beneficiary_bequest_config.rb +257 -0
- data/lib/proton_api/models/budget_aggregation_account.rb +186 -0
- data/lib/proton_api/models/budget_calculator_request.rb +334 -0
- data/lib/proton_api/models/budget_component.rb +228 -0
- data/lib/proton_api/models/budget_details.rb +337 -0
- data/lib/proton_api/models/business_financial_health_check_request.rb +484 -0
- data/lib/proton_api/models/business_invoice_analysis_request.rb +361 -0
- data/lib/proton_api/models/calculator_deposit_schedule.rb +228 -0
- data/lib/proton_api/models/calculator_deposit_schedule1.rb +254 -0
- data/lib/proton_api/models/card_analysis_request.rb +372 -0
- data/lib/proton_api/models/card_limit_check_request.rb +231 -0
- data/lib/proton_api/models/card_transaction_authorization_request.rb +422 -0
- data/lib/proton_api/models/cash_analysis_request.rb +340 -0
- data/lib/proton_api/models/cash_flow_analysis_request.rb +366 -0
- data/lib/proton_api/models/children_education_config.rb +221 -0
- data/lib/proton_api/models/customer_analysis_request.rb +292 -0
- data/lib/proton_api/models/decision_tree_result_request.rb +236 -0
- data/lib/proton_api/models/decumulation_goal_deposit_config.rb +335 -0
- data/lib/proton_api/models/dimensional_risk_score_request.rb +282 -0
- data/lib/proton_api/models/diversification_score_request.rb +324 -0
- data/lib/proton_api/models/education_calculator_annual_cost_request.rb +450 -0
- data/lib/proton_api/models/education_calculator_deposit_amount_request.rb +483 -0
- data/lib/proton_api/models/education_calculator_percent_covered_request.rb +448 -0
- data/lib/proton_api/models/education_config.rb +271 -0
- data/lib/proton_api/models/emergency_fund_calculator_request.rb +561 -0
- data/lib/proton_api/models/event_study_request.rb +317 -0
- data/lib/proton_api/models/fee_analysis_request.rb +239 -0
- data/lib/proton_api/models/financial_health_check_request.rb +384 -0
- data/lib/proton_api/models/financial_picture_request.rb +270 -0
- data/lib/proton_api/models/financial_statement_analysis_request.rb +461 -0
- data/lib/proton_api/models/goal_accumulation_allocation_request.rb +729 -0
- data/lib/proton_api/models/goal_accumulation_recommendation_request.rb +622 -0
- data/lib/proton_api/models/goal_accumulation_status_request.rb +622 -0
- data/lib/proton_api/models/goal_config.rb +222 -0
- data/lib/proton_api/models/goal_decumulation_allocation_request.rb +764 -0
- data/lib/proton_api/models/goal_decumulation_recommendation_request.rb +657 -0
- data/lib/proton_api/models/goal_decumulation_status_request.rb +657 -0
- data/lib/proton_api/models/goal_withdrawal_config.rb +335 -0
- data/lib/proton_api/models/guaranteed_rate_benefit.rb +272 -0
- data/lib/proton_api/models/income_config.rb +266 -0
- data/lib/proton_api/models/life_insurance_needs_calculator_request.rb +515 -0
- data/lib/proton_api/models/location.rb +183 -0
- data/lib/proton_api/models/monte_carlo_request.rb +504 -0
- data/lib/proton_api/models/mortgage_calculator_down_payment_request.rb +299 -0
- data/lib/proton_api/models/mortgage_calculator_home_price_request.rb +299 -0
- data/lib/proton_api/models/mortgage_calculator_periodic_payment_request.rb +299 -0
- data/lib/proton_api/models/mvo_request.rb +366 -0
- data/lib/proton_api/models/opt_config.rb +300 -0
- data/lib/proton_api/models/opt_config1.rb +260 -0
- data/lib/proton_api/models/order_rebalance_request.rb +398 -0
- data/lib/proton_api/models/performance_calculator_request.rb +687 -0
- data/lib/proton_api/models/periods.rb +220 -0
- data/lib/proton_api/models/portfolio_optimization_score_request.rb +356 -0
- data/lib/proton_api/models/portfolio_what_if_request.rb +351 -0
- data/lib/proton_api/models/purchase_calculator_amount_request.rb +401 -0
- data/lib/proton_api/models/purchase_calculator_deposit_amount_request.rb +434 -0
- data/lib/proton_api/models/purchase_calculator_horizon_request.rb +356 -0
- data/lib/proton_api/models/ratio_targets.rb +328 -0
- data/lib/proton_api/models/ratio_targets1.rb +328 -0
- data/lib/proton_api/models/rebalancing_signal_request.rb +238 -0
- data/lib/proton_api/models/recommendation_config.rb +357 -0
- data/lib/proton_api/models/recommendation_config1.rb +346 -0
- data/lib/proton_api/models/recurring_transaction_analysis_request.rb +400 -0
- data/lib/proton_api/models/retirement_calculator_deposit_amount_request.rb +509 -0
- data/lib/proton_api/models/retirement_calculator_expenses_request.rb +476 -0
- data/lib/proton_api/models/retirement_calculator_percent_covered_request.rb +474 -0
- data/lib/proton_api/models/risk_allocation_request.rb +316 -0
- data/lib/proton_api/models/risk_score_request.rb +239 -0
- data/lib/proton_api/models/savings_calculator_request.rb +395 -0
- data/lib/proton_api/models/savings_deposit_schedule.rb +276 -0
- data/lib/proton_api/models/scenario_analysis_request.rb +401 -0
- data/lib/proton_api/models/sensitivity_analysis_request.rb +399 -0
- data/lib/proton_api/models/sensitivity_factor.rb +278 -0
- data/lib/proton_api/models/settings.rb +287 -0
- data/lib/proton_api/models/spending_analysis_request.rb +505 -0
- data/lib/proton_api/models/variable_annuity_request.rb +700 -0
- data/lib/proton_api/models/w_config.rb +382 -0
- data/lib/proton_api/models/w_config1.rb +347 -0
- data/lib/proton_api/version.rb +15 -0
- data/proton_api.gemspec +46 -0
- data/spec/api/annuities_api_spec.rb +107 -0
- data/spec/api/business_financial_management_api_spec.rb +95 -0
- data/spec/api/cards_api_spec.rb +71 -0
- data/spec/api/financial_health_api_spec.rb +83 -0
- data/spec/api/financial_planning_api_spec.rb +179 -0
- data/spec/api/goals_api_spec.rb +107 -0
- data/spec/api/life_insurance_api_spec.rb +47 -0
- data/spec/api/personal_financial_management_api_spec.rb +107 -0
- data/spec/api/portfolio_construction_api_spec.rb +47 -0
- data/spec/api/portfolio_management_api_spec.rb +47 -0
- data/spec/api/risk_scoring_api_spec.rb +71 -0
- data/spec/api/simulations_api_spec.rb +119 -0
- data/spec/api/util_api_spec.rb +71 -0
- data/spec/api_client_spec.rb +243 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/accumulation_goal_deposit_config_spec.rb +89 -0
- data/spec/models/annuity_calculator_accumulation_horizon_request_spec.rb +111 -0
- data/spec/models/annuity_calculator_annuity_amount_request_spec.rb +111 -0
- data/spec/models/annuity_calculator_decumulation_horizon_request_spec.rb +111 -0
- data/spec/models/annuity_calculator_deposit_amount_request_spec.rb +111 -0
- data/spec/models/annuity_calculator_initial_balance_request_spec.rb +111 -0
- data/spec/models/annuity_deposit_schedule_spec.rb +57 -0
- data/spec/models/answer_spec.rb +41 -0
- data/spec/models/backtest_request_spec.rb +95 -0
- data/spec/models/beneficiary_bequest_config_spec.rb +53 -0
- data/spec/models/budget_aggregation_account_spec.rb +41 -0
- data/spec/models/budget_calculator_request_spec.rb +105 -0
- data/spec/models/budget_component_spec.rb +53 -0
- data/spec/models/budget_details_spec.rb +99 -0
- data/spec/models/business_financial_health_check_request_spec.rb +143 -0
- data/spec/models/business_invoice_analysis_request_spec.rb +123 -0
- data/spec/models/calculator_deposit_schedule1_spec.rb +57 -0
- data/spec/models/calculator_deposit_schedule_spec.rb +51 -0
- data/spec/models/card_analysis_request_spec.rb +129 -0
- data/spec/models/card_limit_check_request_spec.rb +65 -0
- data/spec/models/card_transaction_authorization_request_spec.rb +157 -0
- data/spec/models/cash_analysis_request_spec.rb +115 -0
- data/spec/models/cash_flow_analysis_request_spec.rb +135 -0
- data/spec/models/children_education_config_spec.rb +47 -0
- data/spec/models/customer_analysis_request_spec.rb +101 -0
- data/spec/models/decision_tree_result_request_spec.rb +51 -0
- data/spec/models/decumulation_goal_deposit_config_spec.rb +89 -0
- data/spec/models/dimensional_risk_score_request_spec.rb +89 -0
- data/spec/models/diversification_score_request_spec.rb +111 -0
- data/spec/models/education_calculator_annual_cost_request_spec.rb +101 -0
- data/spec/models/education_calculator_deposit_amount_request_spec.rb +107 -0
- data/spec/models/education_calculator_percent_covered_request_spec.rb +101 -0
- data/spec/models/education_config_spec.rb +53 -0
- data/spec/models/emergency_fund_calculator_request_spec.rb +141 -0
- data/spec/models/event_study_request_spec.rb +109 -0
- data/spec/models/fee_analysis_request_spec.rb +77 -0
- data/spec/models/financial_health_check_request_spec.rb +95 -0
- data/spec/models/financial_picture_request_spec.rb +95 -0
- data/spec/models/financial_statement_analysis_request_spec.rb +155 -0
- data/spec/models/goal_accumulation_allocation_request_spec.rb +215 -0
- data/spec/models/goal_accumulation_recommendation_request_spec.rb +173 -0
- data/spec/models/goal_accumulation_status_request_spec.rb +173 -0
- data/spec/models/goal_config_spec.rb +47 -0
- data/spec/models/goal_decumulation_allocation_request_spec.rb +221 -0
- data/spec/models/goal_decumulation_recommendation_request_spec.rb +179 -0
- data/spec/models/goal_decumulation_status_request_spec.rb +179 -0
- data/spec/models/goal_withdrawal_config_spec.rb +89 -0
- data/spec/models/guaranteed_rate_benefit_spec.rb +59 -0
- data/spec/models/income_config_spec.rb +53 -0
- data/spec/models/life_insurance_needs_calculator_request_spec.rb +125 -0
- data/spec/models/location_spec.rb +41 -0
- data/spec/models/monte_carlo_request_spec.rb +179 -0
- data/spec/models/mortgage_calculator_down_payment_request_spec.rb +59 -0
- data/spec/models/mortgage_calculator_home_price_request_spec.rb +59 -0
- data/spec/models/mortgage_calculator_periodic_payment_request_spec.rb +59 -0
- data/spec/models/mvo_request_spec.rb +113 -0
- data/spec/models/opt_config1_spec.rb +69 -0
- data/spec/models/opt_config_spec.rb +81 -0
- data/spec/models/order_rebalance_request_spec.rb +123 -0
- data/spec/models/performance_calculator_request_spec.rb +233 -0
- data/spec/models/periods_spec.rb +47 -0
- data/spec/models/portfolio_optimization_score_request_spec.rb +127 -0
- data/spec/models/portfolio_what_if_request_spec.rb +123 -0
- data/spec/models/purchase_calculator_amount_request_spec.rb +93 -0
- data/spec/models/purchase_calculator_deposit_amount_request_spec.rb +99 -0
- data/spec/models/purchase_calculator_horizon_request_spec.rb +83 -0
- data/spec/models/ratio_targets1_spec.rb +71 -0
- data/spec/models/ratio_targets_spec.rb +71 -0
- data/spec/models/rebalancing_signal_request_spec.rb +71 -0
- data/spec/models/recommendation_config1_spec.rb +77 -0
- data/spec/models/recommendation_config_spec.rb +83 -0
- data/spec/models/recurring_transaction_analysis_request_spec.rb +129 -0
- data/spec/models/retirement_calculator_deposit_amount_request_spec.rb +113 -0
- data/spec/models/retirement_calculator_expenses_request_spec.rb +107 -0
- data/spec/models/retirement_calculator_percent_covered_request_spec.rb +107 -0
- data/spec/models/risk_allocation_request_spec.rb +85 -0
- data/spec/models/risk_score_request_spec.rb +71 -0
- data/spec/models/savings_calculator_request_spec.rb +99 -0
- data/spec/models/savings_deposit_schedule_spec.rb +63 -0
- data/spec/models/scenario_analysis_request_spec.rb +133 -0
- data/spec/models/sensitivity_analysis_request_spec.rb +133 -0
- data/spec/models/sensitivity_factor_spec.rb +59 -0
- data/spec/models/settings_spec.rb +79 -0
- data/spec/models/spending_analysis_request_spec.rb +187 -0
- data/spec/models/variable_annuity_request_spec.rb +209 -0
- data/spec/models/w_config1_spec.rb +65 -0
- data/spec/models/w_config_spec.rb +65 -0
- data/spec/spec_helper.rb +111 -0
- metadata +561 -0
@@ -0,0 +1,107 @@
|
|
1
|
+
=begin
|
2
|
+
#Hydrogen Proton API
|
3
|
+
|
4
|
+
#Financial engineering module of Hydrogen Atom
|
5
|
+
|
6
|
+
OpenAPI spec version: 1.9.1
|
7
|
+
Contact: info@hydrogenplatform.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for ProtonApi::GoalsApi
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'GoalsApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@instance = ProtonApi::GoalsApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of GoalsApi' do
|
30
|
+
it 'should create an instance of GoalsApi' do
|
31
|
+
expect(@instance).to be_instance_of(ProtonApi::GoalsApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for goal_accumulation_allocation
|
36
|
+
# Goal Accumulation Allocation
|
37
|
+
# Allocate based on an accumulation goal
|
38
|
+
# @param goal_accumulation_allocation_request Request payload for Goal Accumulation Allocation
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [Hash<String, Object>]
|
41
|
+
describe 'goal_accumulation_allocation test' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
# unit tests for goal_accumulation_recommendation
|
48
|
+
# Goal Accumulation Recommendation
|
49
|
+
# Generate recommendations to achieve an accumulation goal
|
50
|
+
# @param goal_accumulation_recommendation_request Request payload for Goal Accumulation Recommendation
|
51
|
+
# @param [Hash] opts the optional parameters
|
52
|
+
# @return [Hash<String, Object>]
|
53
|
+
describe 'goal_accumulation_recommendation test' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
# unit tests for goal_accumulation_status
|
60
|
+
# Goal Accumulation Status
|
61
|
+
# Track the status of an accumulation goal
|
62
|
+
# @param goal_accumulation_status_request Request payload for Goal Accumulation Status
|
63
|
+
# @param [Hash] opts the optional parameters
|
64
|
+
# @return [Hash<String, Object>]
|
65
|
+
describe 'goal_accumulation_status test' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
# unit tests for goal_decumulation_allocation
|
72
|
+
# Goal Decumulation Allocation
|
73
|
+
# Allocate based on a decumulation goal
|
74
|
+
# @param goal_decumulation_allocation_request Request payload for Goal Decumulation Allocation
|
75
|
+
# @param [Hash] opts the optional parameters
|
76
|
+
# @return [Hash<String, Object>]
|
77
|
+
describe 'goal_decumulation_allocation test' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
# unit tests for goal_decumulation_recommendation
|
84
|
+
# Goal Decumulation Recommendation
|
85
|
+
# Generate recommendations to achieve a decumulation goal
|
86
|
+
# @param goal_decumulation_recommendation_request Request payload for Goal Decumulation Recommendation
|
87
|
+
# @param [Hash] opts the optional parameters
|
88
|
+
# @return [Hash<String, Object>]
|
89
|
+
describe 'goal_decumulation_recommendation test' do
|
90
|
+
it 'should work' do
|
91
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
95
|
+
# unit tests for goal_decumulation_status
|
96
|
+
# Goal Decumulation Status
|
97
|
+
# Track the status of a decumulation goal
|
98
|
+
# @param goal_decumulation_status_request Request payload for Goal Decumulation Status
|
99
|
+
# @param [Hash] opts the optional parameters
|
100
|
+
# @return [Hash<String, Object>]
|
101
|
+
describe 'goal_decumulation_status test' do
|
102
|
+
it 'should work' do
|
103
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
107
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
=begin
|
2
|
+
#Hydrogen Proton API
|
3
|
+
|
4
|
+
#Financial engineering module of Hydrogen Atom
|
5
|
+
|
6
|
+
OpenAPI spec version: 1.9.1
|
7
|
+
Contact: info@hydrogenplatform.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for ProtonApi::LifeInsuranceApi
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'LifeInsuranceApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@instance = ProtonApi::LifeInsuranceApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of LifeInsuranceApi' do
|
30
|
+
it 'should create an instance of LifeInsuranceApi' do
|
31
|
+
expect(@instance).to be_instance_of(ProtonApi::LifeInsuranceApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for life_insurance_needs_calculator
|
36
|
+
# Life Insurance Needs Calculator
|
37
|
+
# Calculate life insurance needs based on existing asset and liability data
|
38
|
+
# @param life_insurance_needs_calculator_request Request payload for Life Insurance Needs Calculator
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [Hash<String, Object>]
|
41
|
+
describe 'life_insurance_needs_calculator test' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|
@@ -0,0 +1,107 @@
|
|
1
|
+
=begin
|
2
|
+
#Hydrogen Proton API
|
3
|
+
|
4
|
+
#Financial engineering module of Hydrogen Atom
|
5
|
+
|
6
|
+
OpenAPI spec version: 1.9.1
|
7
|
+
Contact: info@hydrogenplatform.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for ProtonApi::PersonalFinancialManagementApi
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'PersonalFinancialManagementApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@instance = ProtonApi::PersonalFinancialManagementApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of PersonalFinancialManagementApi' do
|
30
|
+
it 'should create an instance of PersonalFinancialManagementApi' do
|
31
|
+
expect(@instance).to be_instance_of(ProtonApi::PersonalFinancialManagementApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for budget_calculator
|
36
|
+
# Budget Calculator
|
37
|
+
# Analyze spending against a defined budget
|
38
|
+
# @param budget_calculator_request Request payload for Budget Calculator
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [Hash<String, Object>]
|
41
|
+
describe 'budget_calculator test' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
# unit tests for cash_flow_analysis
|
48
|
+
# Cash Flow Analysis
|
49
|
+
# Analyze income, expenses, and net income
|
50
|
+
# @param cash_flow_analysis_request Request payload for Cash Flow Analysis
|
51
|
+
# @param [Hash] opts the optional parameters
|
52
|
+
# @return [Hash<String, Object>]
|
53
|
+
describe 'cash_flow_analysis test' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
# unit tests for fee_analysis
|
60
|
+
# RFee Analysis
|
61
|
+
# Analyze fee data
|
62
|
+
# @param fee_analysis_request Request payload for Fee Analysis
|
63
|
+
# @param [Hash] opts the optional parameters
|
64
|
+
# @return [Hash<String, Object>]
|
65
|
+
describe 'fee_analysis test' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
# unit tests for financial_picture
|
72
|
+
# Financial Picture
|
73
|
+
# Assess assets, liabilities, and net worth
|
74
|
+
# @param financial_picture_request Request payload for Financial Picture
|
75
|
+
# @param [Hash] opts the optional parameters
|
76
|
+
# @return [Hash<String, Object>]
|
77
|
+
describe 'financial_picture test' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
# unit tests for recurring_transaction_analysis
|
84
|
+
# Recurring Transaction Analysis
|
85
|
+
# Analyze recurring transactions
|
86
|
+
# @param recurring_transaction_analysis_request Request payload for Recurring Transaction Analysis
|
87
|
+
# @param [Hash] opts the optional parameters
|
88
|
+
# @return [Hash<String, Object>]
|
89
|
+
describe 'recurring_transaction_analysis test' do
|
90
|
+
it 'should work' do
|
91
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
95
|
+
# unit tests for spending_analysis
|
96
|
+
# Spending Analysis
|
97
|
+
# Analyze spending transaction activity
|
98
|
+
# @param spending_analysis_request Request payload for Spending Analysis
|
99
|
+
# @param [Hash] opts the optional parameters
|
100
|
+
# @return [Hash<String, Object>]
|
101
|
+
describe 'spending_analysis test' do
|
102
|
+
it 'should work' do
|
103
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
107
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
=begin
|
2
|
+
#Hydrogen Proton API
|
3
|
+
|
4
|
+
#Financial engineering module of Hydrogen Atom
|
5
|
+
|
6
|
+
OpenAPI spec version: 1.9.1
|
7
|
+
Contact: info@hydrogenplatform.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for ProtonApi::PortfolioConstructionApi
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'PortfolioConstructionApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@instance = ProtonApi::PortfolioConstructionApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of PortfolioConstructionApi' do
|
30
|
+
it 'should create an instance of PortfolioConstructionApi' do
|
31
|
+
expect(@instance).to be_instance_of(ProtonApi::PortfolioConstructionApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for mvo
|
36
|
+
# MVO
|
37
|
+
# Run a mean-variance optimization for a group of potential investments
|
38
|
+
# @param mvo_request Request payload for MVO
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [Hash<String, Object>]
|
41
|
+
describe 'mvo test' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
=begin
|
2
|
+
#Hydrogen Proton API
|
3
|
+
|
4
|
+
#Financial engineering module of Hydrogen Atom
|
5
|
+
|
6
|
+
OpenAPI spec version: 1.9.1
|
7
|
+
Contact: info@hydrogenplatform.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for ProtonApi::PortfolioManagementApi
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'PortfolioManagementApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@instance = ProtonApi::PortfolioManagementApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of PortfolioManagementApi' do
|
30
|
+
it 'should create an instance of PortfolioManagementApi' do
|
31
|
+
expect(@instance).to be_instance_of(ProtonApi::PortfolioManagementApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for rebalancing_signal
|
36
|
+
# Rebalancing Signal
|
37
|
+
# Generate rebalancing signals for a group of investments
|
38
|
+
# @param rebalancing_signal_request Request payload for Rebalancing Signal
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [Hash<String, Object>]
|
41
|
+
describe 'rebalancing_signal test' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|
@@ -0,0 +1,71 @@
|
|
1
|
+
=begin
|
2
|
+
#Hydrogen Proton API
|
3
|
+
|
4
|
+
#Financial engineering module of Hydrogen Atom
|
5
|
+
|
6
|
+
OpenAPI spec version: 1.9.1
|
7
|
+
Contact: info@hydrogenplatform.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for ProtonApi::RiskScoringApi
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'RiskScoringApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@instance = ProtonApi::RiskScoringApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of RiskScoringApi' do
|
30
|
+
it 'should create an instance of RiskScoringApi' do
|
31
|
+
expect(@instance).to be_instance_of(ProtonApi::RiskScoringApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for dimensional_risk_score
|
36
|
+
# Dimensional Risk Score
|
37
|
+
# Calculate a dimensional risk score based on questionnaire responses
|
38
|
+
# @param dimensional_risk_score_request Request payload for Dimensional Risk Score
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [Hash<String, Object>]
|
41
|
+
describe 'dimensional_risk_score test' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
# unit tests for risk_allocation
|
48
|
+
# Risk Allocation
|
49
|
+
# Allocate based on a risk score
|
50
|
+
# @param risk_allocation_request Request payload for Risk Allocation
|
51
|
+
# @param [Hash] opts the optional parameters
|
52
|
+
# @return [Hash<String, Object>]
|
53
|
+
describe 'risk_allocation test' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
# unit tests for risk_score
|
60
|
+
# Risk Score
|
61
|
+
# Calculate a risk score based on questionnaire responses
|
62
|
+
# @param risk_score_request Request payload for Risk Score
|
63
|
+
# @param [Hash] opts the optional parameters
|
64
|
+
# @return [Hash<String, Object>]
|
65
|
+
describe 'risk_score test' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
end
|
@@ -0,0 +1,119 @@
|
|
1
|
+
=begin
|
2
|
+
#Hydrogen Proton API
|
3
|
+
|
4
|
+
#Financial engineering module of Hydrogen Atom
|
5
|
+
|
6
|
+
OpenAPI spec version: 1.9.1
|
7
|
+
Contact: info@hydrogenplatform.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.19
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for ProtonApi::SimulationsApi
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'SimulationsApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@instance = ProtonApi::SimulationsApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of SimulationsApi' do
|
30
|
+
it 'should create an instance of SimulationsApi' do
|
31
|
+
expect(@instance).to be_instance_of(ProtonApi::SimulationsApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for backtest
|
36
|
+
# Backtest
|
37
|
+
# Run a historical analysis for a group of investments
|
38
|
+
# @param backtest_request Request payload for Backtest
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [Hash<String, Object>]
|
41
|
+
describe 'backtest test' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
# unit tests for event_study
|
48
|
+
# Event Study
|
49
|
+
# Analyze a group of investments against key historical events
|
50
|
+
# @param event_study_request Request payload for Event Study
|
51
|
+
# @param [Hash] opts the optional parameters
|
52
|
+
# @return [Hash<String, Object>]
|
53
|
+
describe 'event_study test' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
# unit tests for monte_carlo
|
60
|
+
# Monte Carlo
|
61
|
+
# Simulate the future growth of a group of investments
|
62
|
+
# @param monte_carlo_request Request payload for Monte Carlo
|
63
|
+
# @param [Hash] opts the optional parameters
|
64
|
+
# @return [Hash<String, Object>]
|
65
|
+
describe 'monte_carlo test' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
# unit tests for portfolio_what_if
|
72
|
+
# Porfolio What-If
|
73
|
+
# Simulate the impact of adding, removing, reducing, or increasing various positions in a group of investments
|
74
|
+
# @param portfolio_what_if_request Request payload for Portfolio What-If
|
75
|
+
# @param [Hash] opts the optional parameters
|
76
|
+
# @return [Hash<String, Object>]
|
77
|
+
describe 'portfolio_what_if test' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
# unit tests for savings_calculator
|
84
|
+
# Savings Calculator
|
85
|
+
# Simulate the future growth of a simple savings account
|
86
|
+
# @param savings_calculator_request Request payload for Savings Calculator
|
87
|
+
# @param [Hash] opts the optional parameters
|
88
|
+
# @return [Hash<String, Object>]
|
89
|
+
describe 'savings_calculator test' do
|
90
|
+
it 'should work' do
|
91
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
95
|
+
# unit tests for scenario_analysis
|
96
|
+
# Scenario Analysis
|
97
|
+
# Analyze a group of investments against a series of external economic factors
|
98
|
+
# @param scneario_analysis_request Request payload for Scenario Analysis
|
99
|
+
# @param [Hash] opts the optional parameters
|
100
|
+
# @return [Hash<String, Object>]
|
101
|
+
describe 'scenario_analysis test' do
|
102
|
+
it 'should work' do
|
103
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
107
|
+
# unit tests for sensitivity_analysis
|
108
|
+
# Sensitivity Analysis
|
109
|
+
# Analyze a group of investments against an external economic factor
|
110
|
+
# @param sensitivity_analysis_request Request payload for Sensitivity Analysis
|
111
|
+
# @param [Hash] opts the optional parameters
|
112
|
+
# @return [Hash<String, Object>]
|
113
|
+
describe 'sensitivity_analysis test' do
|
114
|
+
it 'should work' do
|
115
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
119
|
+
end
|