proton_api 1.8.0
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 +246 -0
- data/Rakefile +8 -0
- data/docs/AccumulationGoalDepositConfig.md +14 -0
- data/docs/AnnuitiesApi.md +344 -0
- data/docs/AnnuityCalculatorAccumulationHorizonRequest.md +19 -0
- data/docs/AnnuityCalculatorAnnuityAmountRequest.md +19 -0
- data/docs/AnnuityCalculatorDecumulationHorizonRequest.md +19 -0
- data/docs/AnnuityCalculatorDepositAmountRequest.md +19 -0
- data/docs/AnnuityCalculatorInitialBalanceRequest.md +19 -0
- data/docs/AnnuityDepositSchedule.md +10 -0
- data/docs/BacktestRequest.md +17 -0
- data/docs/BeneficiaryBequestConfig.md +10 -0
- data/docs/BudgetAggregationAccount.md +8 -0
- data/docs/BudgetCalculatorRequest.md +16 -0
- data/docs/BudgetComponent.md +10 -0
- data/docs/BudgetDetails.md +17 -0
- data/docs/BusinessFinancialHealthCheckRequest.md +22 -0
- data/docs/BusinessFinancialManagementApi.md +288 -0
- data/docs/BusinessInvoiceAnalysisRequest.md +20 -0
- data/docs/CalculatorDepositSchedule.md +9 -0
- data/docs/CalculatorDepositSchedule1.md +10 -0
- data/docs/CardLimitCheckRequest.md +9 -0
- data/docs/CardTransactionAuthorizationRequest.md +19 -0
- data/docs/CardsApi.md +120 -0
- data/docs/CashAnalysisRequest.md +17 -0
- data/docs/CashFlowAnalysisRequest.md +20 -0
- data/docs/ChildrenEducationConfig.md +9 -0
- data/docs/CustomerAnalysisRequest.md +17 -0
- data/docs/DecumulationGoalDepositConfig.md +14 -0
- data/docs/DimensionalRiskScoreRequest.md +16 -0
- data/docs/DiversificationScoreRequest.md +19 -0
- data/docs/EducationCalculatorAnnualCostRequest.md +18 -0
- data/docs/EducationCalculatorDepositAmountRequest.md +19 -0
- data/docs/EducationCalculatorPercentCoveredRequest.md +18 -0
- data/docs/EducationConfig.md +10 -0
- data/docs/EmergencyFundCalculatorRequest.md +24 -0
- data/docs/EventStudyRequest.md +18 -0
- data/docs/FeeAnalysisRequest.md +13 -0
- data/docs/FinancialHealthApi.md +232 -0
- data/docs/FinancialHealthCheckRequest.md +17 -0
- data/docs/FinancialPictureRequest.md +16 -0
- data/docs/FinancialPlanningApi.md +680 -0
- data/docs/FinancialStatementAnalysisRequest.md +22 -0
- data/docs/GoalAccumulationAllocationRequest.md +33 -0
- data/docs/GoalAccumulationRecommendationRequest.md +28 -0
- data/docs/GoalAccumulationStatusRequest.md +28 -0
- data/docs/GoalConfig.md +9 -0
- data/docs/GoalDecumulationAllocationRequest.md +34 -0
- data/docs/GoalDecumulationRecommendationRequest.md +29 -0
- data/docs/GoalDecumulationStatusRequest.md +29 -0
- data/docs/GoalWithdrawalConfig.md +14 -0
- data/docs/GoalsApi.md +344 -0
- data/docs/GuaranteedRateBenefit.md +11 -0
- data/docs/IncomeConfig.md +10 -0
- data/docs/LifeInsuranceApi.md +64 -0
- data/docs/LifeInsuranceNeedsCalculatorRequest.md +22 -0
- data/docs/MonteCarloRequest.md +29 -0
- data/docs/MortgageCalculatorDownPaymentRequest.md +11 -0
- data/docs/MortgageCalculatorHomePriceRequest.md +11 -0
- data/docs/MortgageCalculatorPeriodicPaymentRequest.md +11 -0
- data/docs/MvoRequest.md +18 -0
- data/docs/OptConfig.md +14 -0
- data/docs/OptConfig1.md +12 -0
- data/docs/Periods.md +9 -0
- data/docs/PersonalFinancialManagementApi.md +288 -0
- data/docs/PortfolioConstructionApi.md +64 -0
- data/docs/PortfolioManagementApi.md +64 -0
- data/docs/PortfolioOptimizationScoreRequest.md +21 -0
- data/docs/PortfolioWhatIfRequest.md +21 -0
- data/docs/PurchaseCalculatorAmountRequest.md +16 -0
- data/docs/PurchaseCalculatorDepositAmountRequest.md +17 -0
- data/docs/PurchaseCalculatorHorizonRequest.md +15 -0
- data/docs/RatioTargets.md +13 -0
- data/docs/RatioTargets1.md +13 -0
- data/docs/RebalancingSignalRequest.md +13 -0
- data/docs/RecommendationConfig.md +15 -0
- data/docs/RecommendationConfig1.md +14 -0
- data/docs/RecurringTransactionAnalysisRequest.md +19 -0
- data/docs/RetirementCalculatorDepositAmountRequest.md +20 -0
- data/docs/RetirementCalculatorExpensesRequest.md +19 -0
- data/docs/RetirementCalculatorPercentCoveredRequest.md +19 -0
- data/docs/RiskAllocationRequest.md +14 -0
- data/docs/RiskScoreRequest.md +13 -0
- data/docs/RiskScoringApi.md +176 -0
- data/docs/SavingsCalculatorRequest.md +17 -0
- data/docs/SavingsDepositSchedule.md +11 -0
- data/docs/ScenarioAnalysisRequest.md +22 -0
- data/docs/SensitivityAnalysisRequest.md +22 -0
- data/docs/SensitivityFactor.md +11 -0
- data/docs/Settings.md +13 -0
- data/docs/SimulationsApi.md +400 -0
- data/docs/VariableAnnuityRequest.md +34 -0
- data/docs/WConfig.md +12 -0
- data/docs/WConfig1.md +12 -0
- data/git_push.sh +55 -0
- data/lib/proton_api.rb +132 -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 +131 -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 +293 -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_client.rb +391 -0
- data/lib/proton_api/api_error.rb +38 -0
- data/lib/proton_api/auth_configuration.rb +177 -0
- data/lib/proton_api/configuration.rb +209 -0
- data/lib/proton_api/models/accumulation_goal_deposit_config.rb +338 -0
- data/lib/proton_api/models/annuity_calculator_accumulation_horizon_request.rb +462 -0
- data/lib/proton_api/models/annuity_calculator_annuity_amount_request.rb +464 -0
- data/lib/proton_api/models/annuity_calculator_decumulation_horizon_request.rb +462 -0
- data/lib/proton_api/models/annuity_calculator_deposit_amount_request.rb +471 -0
- data/lib/proton_api/models/annuity_calculator_initial_balance_request.rb +471 -0
- data/lib/proton_api/models/annuity_deposit_schedule.rb +257 -0
- data/lib/proton_api/models/backtest_request.rb +298 -0
- data/lib/proton_api/models/beneficiary_bequest_config.rb +260 -0
- data/lib/proton_api/models/budget_aggregation_account.rb +189 -0
- data/lib/proton_api/models/budget_calculator_request.rb +315 -0
- data/lib/proton_api/models/budget_component.rb +231 -0
- data/lib/proton_api/models/budget_details.rb +340 -0
- data/lib/proton_api/models/business_financial_health_check_request.rb +478 -0
- data/lib/proton_api/models/business_invoice_analysis_request.rb +355 -0
- data/lib/proton_api/models/calculator_deposit_schedule.rb +231 -0
- data/lib/proton_api/models/calculator_deposit_schedule1.rb +257 -0
- data/lib/proton_api/models/card_limit_check_request.rb +203 -0
- data/lib/proton_api/models/card_transaction_authorization_request.rb +359 -0
- data/lib/proton_api/models/cash_analysis_request.rb +321 -0
- data/lib/proton_api/models/cash_flow_analysis_request.rb +338 -0
- data/lib/proton_api/models/children_education_config.rb +224 -0
- data/lib/proton_api/models/customer_analysis_request.rb +286 -0
- data/lib/proton_api/models/decumulation_goal_deposit_config.rb +338 -0
- data/lib/proton_api/models/dimensional_risk_score_request.rb +285 -0
- data/lib/proton_api/models/diversification_score_request.rb +327 -0
- data/lib/proton_api/models/education_calculator_annual_cost_request.rb +453 -0
- data/lib/proton_api/models/education_calculator_deposit_amount_request.rb +486 -0
- data/lib/proton_api/models/education_calculator_percent_covered_request.rb +451 -0
- data/lib/proton_api/models/education_config.rb +274 -0
- data/lib/proton_api/models/emergency_fund_calculator_request.rb +564 -0
- data/lib/proton_api/models/event_study_request.rb +320 -0
- data/lib/proton_api/models/fee_analysis_request.rb +231 -0
- data/lib/proton_api/models/financial_health_check_request.rb +387 -0
- data/lib/proton_api/models/financial_picture_request.rb +269 -0
- data/lib/proton_api/models/financial_statement_analysis_request.rb +455 -0
- data/lib/proton_api/models/goal_accumulation_allocation_request.rb +732 -0
- data/lib/proton_api/models/goal_accumulation_recommendation_request.rb +625 -0
- data/lib/proton_api/models/goal_accumulation_status_request.rb +625 -0
- data/lib/proton_api/models/goal_config.rb +225 -0
- data/lib/proton_api/models/goal_decumulation_allocation_request.rb +767 -0
- data/lib/proton_api/models/goal_decumulation_recommendation_request.rb +660 -0
- data/lib/proton_api/models/goal_decumulation_status_request.rb +660 -0
- data/lib/proton_api/models/goal_withdrawal_config.rb +338 -0
- data/lib/proton_api/models/guaranteed_rate_benefit.rb +275 -0
- data/lib/proton_api/models/income_config.rb +269 -0
- data/lib/proton_api/models/life_insurance_needs_calculator_request.rb +518 -0
- data/lib/proton_api/models/monte_carlo_request.rb +507 -0
- data/lib/proton_api/models/mortgage_calculator_down_payment_request.rb +302 -0
- data/lib/proton_api/models/mortgage_calculator_home_price_request.rb +302 -0
- data/lib/proton_api/models/mortgage_calculator_periodic_payment_request.rb +302 -0
- data/lib/proton_api/models/mvo_request.rb +369 -0
- data/lib/proton_api/models/opt_config.rb +303 -0
- data/lib/proton_api/models/opt_config1.rb +263 -0
- data/lib/proton_api/models/periods.rb +223 -0
- data/lib/proton_api/models/portfolio_optimization_score_request.rb +359 -0
- data/lib/proton_api/models/portfolio_what_if_request.rb +354 -0
- data/lib/proton_api/models/purchase_calculator_amount_request.rb +404 -0
- data/lib/proton_api/models/purchase_calculator_deposit_amount_request.rb +437 -0
- data/lib/proton_api/models/purchase_calculator_horizon_request.rb +359 -0
- data/lib/proton_api/models/ratio_targets.rb +331 -0
- data/lib/proton_api/models/ratio_targets1.rb +331 -0
- data/lib/proton_api/models/rebalancing_signal_request.rb +241 -0
- data/lib/proton_api/models/recommendation_config.rb +360 -0
- data/lib/proton_api/models/recommendation_config1.rb +349 -0
- data/lib/proton_api/models/recurring_transaction_analysis_request.rb +370 -0
- data/lib/proton_api/models/retirement_calculator_deposit_amount_request.rb +512 -0
- data/lib/proton_api/models/retirement_calculator_expenses_request.rb +479 -0
- data/lib/proton_api/models/retirement_calculator_percent_covered_request.rb +477 -0
- data/lib/proton_api/models/risk_allocation_request.rb +319 -0
- data/lib/proton_api/models/risk_score_request.rb +242 -0
- data/lib/proton_api/models/savings_calculator_request.rb +398 -0
- data/lib/proton_api/models/savings_deposit_schedule.rb +279 -0
- data/lib/proton_api/models/scenario_analysis_request.rb +404 -0
- data/lib/proton_api/models/sensitivity_analysis_request.rb +402 -0
- data/lib/proton_api/models/sensitivity_factor.rb +281 -0
- data/lib/proton_api/models/settings.rb +290 -0
- data/lib/proton_api/models/variable_annuity_request.rb +703 -0
- data/lib/proton_api/models/w_config.rb +385 -0
- data/lib/proton_api/models/w_config1.rb +350 -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 +59 -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 +95 -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_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/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 +93 -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 +137 -0
- data/spec/models/business_invoice_analysis_request_spec.rb +117 -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_limit_check_request_spec.rb +47 -0
- data/spec/models/card_transaction_authorization_request_spec.rb +115 -0
- data/spec/models/cash_analysis_request_spec.rb +103 -0
- data/spec/models/cash_flow_analysis_request_spec.rb +117 -0
- data/spec/models/children_education_config_spec.rb +47 -0
- data/spec/models/customer_analysis_request_spec.rb +95 -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 +71 -0
- data/spec/models/financial_health_check_request_spec.rb +95 -0
- data/spec/models/financial_picture_request_spec.rb +89 -0
- data/spec/models/financial_statement_analysis_request_spec.rb +149 -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/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/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 +111 -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/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 +628 -0
@@ -0,0 +1,22 @@
|
|
1
|
+
# ProtonApi::FinancialStatementAnalysisRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**period_length** | **String** | | [optional] [default to 'quarterly']
|
7
|
+
**period_month** | **Integer** | | [optional]
|
8
|
+
**end_date** | **Date** | | [optional]
|
9
|
+
**client_id** | **String** | | [optional]
|
10
|
+
**accounting_method** | **String** | |
|
11
|
+
**period_year** | **Integer** | | [optional]
|
12
|
+
**currency_conversion** | **String** | | [optional]
|
13
|
+
**history_frequency_interval** | **String** | | [optional] [default to 'month']
|
14
|
+
**start_date** | **Date** | | [optional]
|
15
|
+
**period_type** | **String** | | [optional]
|
16
|
+
**currency_code** | **String** | | [optional]
|
17
|
+
**show_history** | **BOOLEAN** | | [optional] [default to false]
|
18
|
+
**stat_names** | **Array<String>** | | [optional]
|
19
|
+
**period_quarter** | **Integer** | | [optional]
|
20
|
+
**statement_type** | **String** | | [optional] [default to 'all']
|
21
|
+
|
22
|
+
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# ProtonApi::GoalAccumulationAllocationRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**thresh_type** | **String** | | [optional] [default to 'perc']
|
7
|
+
**goal_id** | **String** | | [optional]
|
8
|
+
**client_id** | **String** | | [optional]
|
9
|
+
**conf_tgt** | **Float** | | [optional] [default to 0.9]
|
10
|
+
**risk_score** | **Float** | | [optional]
|
11
|
+
**remove_outliers** | **BOOLEAN** | | [optional] [default to true]
|
12
|
+
**allocation_priority** | **String** | |
|
13
|
+
**market_data_source** | **String** | | [optional] [default to 'nucleus']
|
14
|
+
**compounding_rate** | **Float** | | [optional] [default to 0.0]
|
15
|
+
**adjust_for_compounding** | **BOOLEAN** | | [optional] [default to false]
|
16
|
+
**opt_config** | [**OptConfig**](OptConfig.md) | | [optional]
|
17
|
+
**deposit_config** | [**Array<AccumulationGoalDepositConfig>**](AccumulationGoalDepositConfig.md) | | [optional]
|
18
|
+
**use_proxy_data** | **BOOLEAN** | | [optional] [default to false]
|
19
|
+
**thresh** | **Float** | | [optional]
|
20
|
+
**horizon_frequency** | **String** | | [optional] [default to 'year']
|
21
|
+
**recommendation_config** | [**RecommendationConfig**](RecommendationConfig.md) | | [optional]
|
22
|
+
**create_log** | **BOOLEAN** | | [optional] [default to false]
|
23
|
+
**withdrawal_tax** | **Float** | | [optional] [default to 0.0]
|
24
|
+
**goal_config** | [**GoalConfig**](GoalConfig.md) | | [optional]
|
25
|
+
**trading_days_per_year** | **Integer** | | [optional] [default to 252]
|
26
|
+
**allocations** | **Array<String>** | | [optional]
|
27
|
+
**n** | **Integer** | | [optional] [default to 1000]
|
28
|
+
**horizon** | **Integer** | | [optional]
|
29
|
+
**recommend_type** | **String** | | [optional] [default to 'horizon']
|
30
|
+
**curr_inv** | **Float** | | [optional]
|
31
|
+
**allocation_method** | **String** | |
|
32
|
+
|
33
|
+
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# ProtonApi::GoalAccumulationRecommendationRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**thresh_type** | **String** | | [optional] [default to 'perc']
|
7
|
+
**goal_id** | **String** | | [optional]
|
8
|
+
**client_id** | **String** | | [optional]
|
9
|
+
**conf_tgt** | **Float** | | [optional] [default to 0.9]
|
10
|
+
**remove_outliers** | **BOOLEAN** | | [optional] [default to true]
|
11
|
+
**p_ret** | **Array<Float>** | |
|
12
|
+
**compounding_rate** | **Float** | | [optional] [default to 0.0]
|
13
|
+
**adjust_for_compounding** | **BOOLEAN** | | [optional] [default to false]
|
14
|
+
**deposit_config** | [**Array<AccumulationGoalDepositConfig>**](AccumulationGoalDepositConfig.md) | | [optional]
|
15
|
+
**thresh** | **Float** | | [optional]
|
16
|
+
**horizon_frequency** | **String** | | [optional] [default to 'year']
|
17
|
+
**recommendation_config** | [**RecommendationConfig1**](RecommendationConfig1.md) | | [optional]
|
18
|
+
**create_log** | **BOOLEAN** | | [optional] [default to false]
|
19
|
+
**withdrawal_tax** | **Float** | | [optional] [default to 0.0]
|
20
|
+
**goal_config** | [**GoalConfig**](GoalConfig.md) | | [optional]
|
21
|
+
**trading_days_per_year** | **Integer** | | [optional] [default to 252]
|
22
|
+
**n** | **Integer** | | [optional] [default to 1000]
|
23
|
+
**p_risk** | **Array<Float>** | |
|
24
|
+
**horizon** | **Integer** | | [optional]
|
25
|
+
**recommend_type** | **String** | | [optional] [default to 'horizon']
|
26
|
+
**curr_inv** | **Float** | | [optional]
|
27
|
+
|
28
|
+
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# ProtonApi::GoalAccumulationStatusRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**thresh_type** | **String** | | [optional] [default to 'perc']
|
7
|
+
**goal_id** | **String** | | [optional]
|
8
|
+
**client_id** | **String** | | [optional]
|
9
|
+
**conf_tgt** | **Float** | | [optional] [default to 0.9]
|
10
|
+
**remove_outliers** | **BOOLEAN** | | [optional] [default to true]
|
11
|
+
**p_ret** | **Array<Float>** | |
|
12
|
+
**compounding_rate** | **Float** | | [optional] [default to 0.0]
|
13
|
+
**adjust_for_compounding** | **BOOLEAN** | | [optional] [default to false]
|
14
|
+
**deposit_config** | [**Array<AccumulationGoalDepositConfig>**](AccumulationGoalDepositConfig.md) | | [optional]
|
15
|
+
**thresh** | **Float** | | [optional]
|
16
|
+
**horizon_frequency** | **String** | | [optional] [default to 'year']
|
17
|
+
**recommendation_config** | [**RecommendationConfig**](RecommendationConfig.md) | | [optional]
|
18
|
+
**create_log** | **BOOLEAN** | | [optional] [default to false]
|
19
|
+
**withdrawal_tax** | **Float** | | [optional] [default to 0.0]
|
20
|
+
**goal_config** | [**GoalConfig**](GoalConfig.md) | | [optional]
|
21
|
+
**trading_days_per_year** | **Integer** | | [optional] [default to 252]
|
22
|
+
**n** | **Integer** | | [optional] [default to 1000]
|
23
|
+
**p_risk** | **Array<Float>** | |
|
24
|
+
**horizon** | **Integer** | | [optional]
|
25
|
+
**recommend_type** | **String** | | [optional] [default to 'horizon']
|
26
|
+
**curr_inv** | **Float** | | [optional]
|
27
|
+
|
28
|
+
|
data/docs/GoalConfig.md
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
# ProtonApi::GoalDecumulationAllocationRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**thresh_type** | **String** | | [optional] [default to 'perc']
|
7
|
+
**goal_id** | **String** | | [optional]
|
8
|
+
**client_id** | **String** | | [optional]
|
9
|
+
**conf_tgt** | **Float** | | [optional] [default to 0.9]
|
10
|
+
**risk_score** | **Float** | | [optional]
|
11
|
+
**remove_outliers** | **BOOLEAN** | | [optional] [default to true]
|
12
|
+
**allocation_priority** | **String** | |
|
13
|
+
**a_horizon** | **Integer** | | [optional]
|
14
|
+
**withdrawal_config** | [**Array<GoalWithdrawalConfig>**](GoalWithdrawalConfig.md) | | [optional]
|
15
|
+
**market_data_source** | **String** | | [optional] [default to 'nucleus']
|
16
|
+
**compounding_rate** | **Float** | | [optional] [default to 0.0]
|
17
|
+
**adjust_for_compounding** | **BOOLEAN** | | [optional] [default to false]
|
18
|
+
**opt_config** | [**OptConfig**](OptConfig.md) | | [optional]
|
19
|
+
**deposit_config** | [**Array<DecumulationGoalDepositConfig>**](DecumulationGoalDepositConfig.md) | | [optional]
|
20
|
+
**use_proxy_data** | **BOOLEAN** | | [optional] [default to false]
|
21
|
+
**thresh** | **Float** | | [optional]
|
22
|
+
**horizon_frequency** | **String** | | [optional] [default to 'year']
|
23
|
+
**recommendation_config** | [**RecommendationConfig**](RecommendationConfig.md) | | [optional]
|
24
|
+
**create_log** | **BOOLEAN** | | [optional] [default to false]
|
25
|
+
**withdrawal_tax** | **Float** | | [optional] [default to 0.0]
|
26
|
+
**trading_days_per_year** | **Integer** | | [optional] [default to 252]
|
27
|
+
**allocations** | **Array<String>** | | [optional]
|
28
|
+
**n** | **Integer** | | [optional] [default to 1000]
|
29
|
+
**d_horizon** | **Integer** | | [optional]
|
30
|
+
**curr_inv** | **Float** | | [optional]
|
31
|
+
**recommend_type** | **String** | | [optional] [default to 'horizon']
|
32
|
+
**allocation_method** | **String** | |
|
33
|
+
|
34
|
+
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# ProtonApi::GoalDecumulationRecommendationRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**thresh_type** | **String** | | [optional] [default to 'perc']
|
7
|
+
**goal_id** | **String** | | [optional]
|
8
|
+
**client_id** | **String** | | [optional]
|
9
|
+
**conf_tgt** | **Float** | | [optional] [default to 0.9]
|
10
|
+
**remove_outliers** | **BOOLEAN** | | [optional] [default to true]
|
11
|
+
**a_horizon** | **Integer** | | [optional]
|
12
|
+
**withdrawal_config** | [**Array<GoalWithdrawalConfig>**](GoalWithdrawalConfig.md) | | [optional]
|
13
|
+
**p_ret** | **Array<Float>** | |
|
14
|
+
**compounding_rate** | **Float** | | [optional] [default to 0.0]
|
15
|
+
**adjust_for_compounding** | **BOOLEAN** | | [optional] [default to false]
|
16
|
+
**deposit_config** | [**Array<DecumulationGoalDepositConfig>**](DecumulationGoalDepositConfig.md) | | [optional]
|
17
|
+
**thresh** | **Float** | | [optional]
|
18
|
+
**horizon_frequency** | **String** | | [optional] [default to 'year']
|
19
|
+
**recommendation_config** | [**RecommendationConfig1**](RecommendationConfig1.md) | | [optional]
|
20
|
+
**create_log** | **BOOLEAN** | | [optional] [default to false]
|
21
|
+
**withdrawal_tax** | **Float** | | [optional] [default to 0.0]
|
22
|
+
**trading_days_per_year** | **Integer** | | [optional] [default to 252]
|
23
|
+
**n** | **Integer** | | [optional] [default to 1000]
|
24
|
+
**d_horizon** | **Integer** | | [optional]
|
25
|
+
**p_risk** | **Array<Float>** | |
|
26
|
+
**curr_inv** | **Float** | | [optional]
|
27
|
+
**recommend_type** | **String** | | [optional] [default to 'horizon']
|
28
|
+
|
29
|
+
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# ProtonApi::GoalDecumulationStatusRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**thresh_type** | **String** | | [optional] [default to 'perc']
|
7
|
+
**goal_id** | **String** | | [optional]
|
8
|
+
**client_id** | **String** | | [optional]
|
9
|
+
**conf_tgt** | **Float** | | [optional] [default to 0.9]
|
10
|
+
**remove_outliers** | **BOOLEAN** | | [optional] [default to true]
|
11
|
+
**a_horizon** | **Integer** | | [optional]
|
12
|
+
**withdrawal_config** | [**Array<GoalWithdrawalConfig>**](GoalWithdrawalConfig.md) | | [optional]
|
13
|
+
**p_ret** | **Array<Float>** | |
|
14
|
+
**compounding_rate** | **Float** | | [optional] [default to 0.0]
|
15
|
+
**adjust_for_compounding** | **BOOLEAN** | | [optional] [default to false]
|
16
|
+
**deposit_config** | [**Array<DecumulationGoalDepositConfig>**](DecumulationGoalDepositConfig.md) | | [optional]
|
17
|
+
**thresh** | **Float** | | [optional]
|
18
|
+
**horizon_frequency** | **String** | | [optional] [default to 'year']
|
19
|
+
**recommendation_config** | [**RecommendationConfig**](RecommendationConfig.md) | | [optional]
|
20
|
+
**create_log** | **BOOLEAN** | | [optional] [default to false]
|
21
|
+
**withdrawal_tax** | **Float** | | [optional] [default to 0.0]
|
22
|
+
**trading_days_per_year** | **Integer** | | [optional] [default to 252]
|
23
|
+
**n** | **Integer** | | [optional] [default to 1000]
|
24
|
+
**d_horizon** | **Integer** | | [optional]
|
25
|
+
**p_risk** | **Array<Float>** | |
|
26
|
+
**curr_inv** | **Float** | | [optional]
|
27
|
+
**recommend_type** | **String** | | [optional] [default to 'horizon']
|
28
|
+
|
29
|
+
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# ProtonApi::GoalWithdrawalConfig
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**with_start_reference** | **String** | | [optional] [default to 'a_end']
|
7
|
+
**with_amount** | **Float** | | [optional]
|
8
|
+
**with_inflation** | **Float** | | [optional] [default to 0.0]
|
9
|
+
**with_start_period** | **Integer** | | [optional] [default to 0]
|
10
|
+
**with_end_period** | **Integer** | | [optional] [default to 0]
|
11
|
+
**with_end_reference** | **String** | | [optional] [default to 'd_end']
|
12
|
+
**with_frequency** | **String** | | [optional] [default to 'year']
|
13
|
+
|
14
|
+
|
data/docs/GoalsApi.md
ADDED
@@ -0,0 +1,344 @@
|
|
1
|
+
# ProtonApi::GoalsApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://sandbox.hydrogenplatform.com/proton/v1*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**goal_accumulation_allocation**](GoalsApi.md#goal_accumulation_allocation) | **POST** /goal_accumulation/allocation | Goal Accumulation Allocation
|
8
|
+
[**goal_accumulation_recommendation**](GoalsApi.md#goal_accumulation_recommendation) | **POST** /goal_accumulation/recommendation | Goal Accumulation Recommendation
|
9
|
+
[**goal_accumulation_status**](GoalsApi.md#goal_accumulation_status) | **POST** /goal_accumulation/status | Goal Accumulation Status
|
10
|
+
[**goal_decumulation_allocation**](GoalsApi.md#goal_decumulation_allocation) | **POST** /goal_decumulation/allocation | Goal Decumulation Allocation
|
11
|
+
[**goal_decumulation_recommendation**](GoalsApi.md#goal_decumulation_recommendation) | **POST** /goal_decumulation/recommendation | Goal Decumulation Recommendation
|
12
|
+
[**goal_decumulation_status**](GoalsApi.md#goal_decumulation_status) | **POST** /goal_decumulation/status | Goal Decumulation Status
|
13
|
+
|
14
|
+
|
15
|
+
# **goal_accumulation_allocation**
|
16
|
+
> Hash<String, Object> goal_accumulation_allocation(goal_accumulation_allocation_request)
|
17
|
+
|
18
|
+
Goal Accumulation Allocation
|
19
|
+
|
20
|
+
Allocate based on an accumulation goal
|
21
|
+
|
22
|
+
### Example
|
23
|
+
```ruby
|
24
|
+
# load the gem
|
25
|
+
require 'proton_api'
|
26
|
+
# setup authorization
|
27
|
+
ProtonApi.configure do |config|
|
28
|
+
# Creating a token for grant_type=client_credentials
|
29
|
+
config.create_client_credential("CLIENT_ID", "CLIENT_SECRET");
|
30
|
+
# Creating a token for grant_type=password
|
31
|
+
config.create_password_credential("CLIENT_ID", "CLIENT_SECRET", "USERNAME", "PASSWORD");
|
32
|
+
# Creating a token using client token
|
33
|
+
config.create_client_token_credential("CLIENT_ID", "CLIENT_SECRET", "CLIENT_TOKEN");
|
34
|
+
end
|
35
|
+
api_instance = ProtonApi::GoalsApi.new
|
36
|
+
|
37
|
+
goal_accumulation_allocation_request = ProtonApi::GoalAccumulationAllocationRequest.new # GoalAccumulationAllocationRequest | Request payload for Goal Accumulation Allocation
|
38
|
+
|
39
|
+
|
40
|
+
begin
|
41
|
+
#Goal Accumulation Allocation
|
42
|
+
result = api_instance.goal_accumulation_allocation(goal_accumulation_allocation_request)
|
43
|
+
p result
|
44
|
+
rescue ProtonApi::ApiError => e
|
45
|
+
puts "Exception when calling GoalsApi->goal_accumulation_allocation: #{e}"
|
46
|
+
end
|
47
|
+
```
|
48
|
+
|
49
|
+
### Parameters
|
50
|
+
|
51
|
+
Name | Type | Description | Notes
|
52
|
+
------------- | ------------- | ------------- | -------------
|
53
|
+
**goal_accumulation_allocation_request** | [**GoalAccumulationAllocationRequest**](GoalAccumulationAllocationRequest.md)| Request payload for Goal Accumulation Allocation |
|
54
|
+
|
55
|
+
### Return type
|
56
|
+
|
57
|
+
**Hash<String, Object>**
|
58
|
+
|
59
|
+
### Authorization
|
60
|
+
|
61
|
+
[oauth2](../README.md#oauth2)
|
62
|
+
|
63
|
+
### HTTP request headers
|
64
|
+
|
65
|
+
- **Content-Type**: application/json
|
66
|
+
- **Accept**: application/json
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
# **goal_accumulation_recommendation**
|
71
|
+
> Hash<String, Object> goal_accumulation_recommendation(goal_accumulation_recommendation_request)
|
72
|
+
|
73
|
+
Goal Accumulation Recommendation
|
74
|
+
|
75
|
+
Generate recommendations to achieve an accumulation goal
|
76
|
+
|
77
|
+
### Example
|
78
|
+
```ruby
|
79
|
+
# load the gem
|
80
|
+
require 'proton_api'
|
81
|
+
# setup authorization
|
82
|
+
ProtonApi.configure do |config|
|
83
|
+
# Creating a token for grant_type=client_credentials
|
84
|
+
config.create_client_credential("CLIENT_ID", "CLIENT_SECRET");
|
85
|
+
# Creating a token for grant_type=password
|
86
|
+
config.create_password_credential("CLIENT_ID", "CLIENT_SECRET", "USERNAME", "PASSWORD");
|
87
|
+
# Creating a token using client token
|
88
|
+
config.create_client_token_credential("CLIENT_ID", "CLIENT_SECRET", "CLIENT_TOKEN");
|
89
|
+
end
|
90
|
+
api_instance = ProtonApi::GoalsApi.new
|
91
|
+
|
92
|
+
goal_accumulation_recommendation_request = ProtonApi::GoalAccumulationRecommendationRequest.new # GoalAccumulationRecommendationRequest | Request payload for Goal Accumulation Recommendation
|
93
|
+
|
94
|
+
|
95
|
+
begin
|
96
|
+
#Goal Accumulation Recommendation
|
97
|
+
result = api_instance.goal_accumulation_recommendation(goal_accumulation_recommendation_request)
|
98
|
+
p result
|
99
|
+
rescue ProtonApi::ApiError => e
|
100
|
+
puts "Exception when calling GoalsApi->goal_accumulation_recommendation: #{e}"
|
101
|
+
end
|
102
|
+
```
|
103
|
+
|
104
|
+
### Parameters
|
105
|
+
|
106
|
+
Name | Type | Description | Notes
|
107
|
+
------------- | ------------- | ------------- | -------------
|
108
|
+
**goal_accumulation_recommendation_request** | [**GoalAccumulationRecommendationRequest**](GoalAccumulationRecommendationRequest.md)| Request payload for Goal Accumulation Recommendation |
|
109
|
+
|
110
|
+
### Return type
|
111
|
+
|
112
|
+
**Hash<String, Object>**
|
113
|
+
|
114
|
+
### Authorization
|
115
|
+
|
116
|
+
[oauth2](../README.md#oauth2)
|
117
|
+
|
118
|
+
### HTTP request headers
|
119
|
+
|
120
|
+
- **Content-Type**: application/json
|
121
|
+
- **Accept**: application/json
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
# **goal_accumulation_status**
|
126
|
+
> Hash<String, Object> goal_accumulation_status(goal_accumulation_status_request)
|
127
|
+
|
128
|
+
Goal Accumulation Status
|
129
|
+
|
130
|
+
Track the status of an accumulation goal
|
131
|
+
|
132
|
+
### Example
|
133
|
+
```ruby
|
134
|
+
# load the gem
|
135
|
+
require 'proton_api'
|
136
|
+
# setup authorization
|
137
|
+
ProtonApi.configure do |config|
|
138
|
+
# Creating a token for grant_type=client_credentials
|
139
|
+
config.create_client_credential("CLIENT_ID", "CLIENT_SECRET");
|
140
|
+
# Creating a token for grant_type=password
|
141
|
+
config.create_password_credential("CLIENT_ID", "CLIENT_SECRET", "USERNAME", "PASSWORD");
|
142
|
+
# Creating a token using client token
|
143
|
+
config.create_client_token_credential("CLIENT_ID", "CLIENT_SECRET", "CLIENT_TOKEN");
|
144
|
+
end
|
145
|
+
api_instance = ProtonApi::GoalsApi.new
|
146
|
+
|
147
|
+
goal_accumulation_status_request = ProtonApi::GoalAccumulationStatusRequest.new # GoalAccumulationStatusRequest | Request payload for Goal Accumulation Status
|
148
|
+
|
149
|
+
|
150
|
+
begin
|
151
|
+
#Goal Accumulation Status
|
152
|
+
result = api_instance.goal_accumulation_status(goal_accumulation_status_request)
|
153
|
+
p result
|
154
|
+
rescue ProtonApi::ApiError => e
|
155
|
+
puts "Exception when calling GoalsApi->goal_accumulation_status: #{e}"
|
156
|
+
end
|
157
|
+
```
|
158
|
+
|
159
|
+
### Parameters
|
160
|
+
|
161
|
+
Name | Type | Description | Notes
|
162
|
+
------------- | ------------- | ------------- | -------------
|
163
|
+
**goal_accumulation_status_request** | [**GoalAccumulationStatusRequest**](GoalAccumulationStatusRequest.md)| Request payload for Goal Accumulation Status |
|
164
|
+
|
165
|
+
### Return type
|
166
|
+
|
167
|
+
**Hash<String, Object>**
|
168
|
+
|
169
|
+
### Authorization
|
170
|
+
|
171
|
+
[oauth2](../README.md#oauth2)
|
172
|
+
|
173
|
+
### HTTP request headers
|
174
|
+
|
175
|
+
- **Content-Type**: application/json
|
176
|
+
- **Accept**: application/json
|
177
|
+
|
178
|
+
|
179
|
+
|
180
|
+
# **goal_decumulation_allocation**
|
181
|
+
> Hash<String, Object> goal_decumulation_allocation(goal_decumulation_allocation_request)
|
182
|
+
|
183
|
+
Goal Decumulation Allocation
|
184
|
+
|
185
|
+
Allocate based on a decumulation goal
|
186
|
+
|
187
|
+
### Example
|
188
|
+
```ruby
|
189
|
+
# load the gem
|
190
|
+
require 'proton_api'
|
191
|
+
# setup authorization
|
192
|
+
ProtonApi.configure do |config|
|
193
|
+
# Creating a token for grant_type=client_credentials
|
194
|
+
config.create_client_credential("CLIENT_ID", "CLIENT_SECRET");
|
195
|
+
# Creating a token for grant_type=password
|
196
|
+
config.create_password_credential("CLIENT_ID", "CLIENT_SECRET", "USERNAME", "PASSWORD");
|
197
|
+
# Creating a token using client token
|
198
|
+
config.create_client_token_credential("CLIENT_ID", "CLIENT_SECRET", "CLIENT_TOKEN");
|
199
|
+
end
|
200
|
+
api_instance = ProtonApi::GoalsApi.new
|
201
|
+
|
202
|
+
goal_decumulation_allocation_request = ProtonApi::GoalDecumulationAllocationRequest.new # GoalDecumulationAllocationRequest | Request payload for Goal Decumulation Allocation
|
203
|
+
|
204
|
+
|
205
|
+
begin
|
206
|
+
#Goal Decumulation Allocation
|
207
|
+
result = api_instance.goal_decumulation_allocation(goal_decumulation_allocation_request)
|
208
|
+
p result
|
209
|
+
rescue ProtonApi::ApiError => e
|
210
|
+
puts "Exception when calling GoalsApi->goal_decumulation_allocation: #{e}"
|
211
|
+
end
|
212
|
+
```
|
213
|
+
|
214
|
+
### Parameters
|
215
|
+
|
216
|
+
Name | Type | Description | Notes
|
217
|
+
------------- | ------------- | ------------- | -------------
|
218
|
+
**goal_decumulation_allocation_request** | [**GoalDecumulationAllocationRequest**](GoalDecumulationAllocationRequest.md)| Request payload for Goal Decumulation Allocation |
|
219
|
+
|
220
|
+
### Return type
|
221
|
+
|
222
|
+
**Hash<String, Object>**
|
223
|
+
|
224
|
+
### Authorization
|
225
|
+
|
226
|
+
[oauth2](../README.md#oauth2)
|
227
|
+
|
228
|
+
### HTTP request headers
|
229
|
+
|
230
|
+
- **Content-Type**: application/json
|
231
|
+
- **Accept**: application/json
|
232
|
+
|
233
|
+
|
234
|
+
|
235
|
+
# **goal_decumulation_recommendation**
|
236
|
+
> Hash<String, Object> goal_decumulation_recommendation(goal_decumulation_recommendation_request)
|
237
|
+
|
238
|
+
Goal Decumulation Recommendation
|
239
|
+
|
240
|
+
Generate recommendations to achieve a decumulation goal
|
241
|
+
|
242
|
+
### Example
|
243
|
+
```ruby
|
244
|
+
# load the gem
|
245
|
+
require 'proton_api'
|
246
|
+
# setup authorization
|
247
|
+
ProtonApi.configure do |config|
|
248
|
+
# Creating a token for grant_type=client_credentials
|
249
|
+
config.create_client_credential("CLIENT_ID", "CLIENT_SECRET");
|
250
|
+
# Creating a token for grant_type=password
|
251
|
+
config.create_password_credential("CLIENT_ID", "CLIENT_SECRET", "USERNAME", "PASSWORD");
|
252
|
+
# Creating a token using client token
|
253
|
+
config.create_client_token_credential("CLIENT_ID", "CLIENT_SECRET", "CLIENT_TOKEN");
|
254
|
+
end
|
255
|
+
api_instance = ProtonApi::GoalsApi.new
|
256
|
+
|
257
|
+
goal_decumulation_recommendation_request = ProtonApi::GoalDecumulationRecommendationRequest.new # GoalDecumulationRecommendationRequest | Request payload for Goal Decumulation Recommendation
|
258
|
+
|
259
|
+
|
260
|
+
begin
|
261
|
+
#Goal Decumulation Recommendation
|
262
|
+
result = api_instance.goal_decumulation_recommendation(goal_decumulation_recommendation_request)
|
263
|
+
p result
|
264
|
+
rescue ProtonApi::ApiError => e
|
265
|
+
puts "Exception when calling GoalsApi->goal_decumulation_recommendation: #{e}"
|
266
|
+
end
|
267
|
+
```
|
268
|
+
|
269
|
+
### Parameters
|
270
|
+
|
271
|
+
Name | Type | Description | Notes
|
272
|
+
------------- | ------------- | ------------- | -------------
|
273
|
+
**goal_decumulation_recommendation_request** | [**GoalDecumulationRecommendationRequest**](GoalDecumulationRecommendationRequest.md)| Request payload for Goal Decumulation Recommendation |
|
274
|
+
|
275
|
+
### Return type
|
276
|
+
|
277
|
+
**Hash<String, Object>**
|
278
|
+
|
279
|
+
### Authorization
|
280
|
+
|
281
|
+
[oauth2](../README.md#oauth2)
|
282
|
+
|
283
|
+
### HTTP request headers
|
284
|
+
|
285
|
+
- **Content-Type**: application/json
|
286
|
+
- **Accept**: application/json
|
287
|
+
|
288
|
+
|
289
|
+
|
290
|
+
# **goal_decumulation_status**
|
291
|
+
> Hash<String, Object> goal_decumulation_status(goal_decumulation_status_request)
|
292
|
+
|
293
|
+
Goal Decumulation Status
|
294
|
+
|
295
|
+
Track the status of a decumulation goal
|
296
|
+
|
297
|
+
### Example
|
298
|
+
```ruby
|
299
|
+
# load the gem
|
300
|
+
require 'proton_api'
|
301
|
+
# setup authorization
|
302
|
+
ProtonApi.configure do |config|
|
303
|
+
# Creating a token for grant_type=client_credentials
|
304
|
+
config.create_client_credential("CLIENT_ID", "CLIENT_SECRET");
|
305
|
+
# Creating a token for grant_type=password
|
306
|
+
config.create_password_credential("CLIENT_ID", "CLIENT_SECRET", "USERNAME", "PASSWORD");
|
307
|
+
# Creating a token using client token
|
308
|
+
config.create_client_token_credential("CLIENT_ID", "CLIENT_SECRET", "CLIENT_TOKEN");
|
309
|
+
end
|
310
|
+
api_instance = ProtonApi::GoalsApi.new
|
311
|
+
|
312
|
+
goal_decumulation_status_request = ProtonApi::GoalDecumulationStatusRequest.new # GoalDecumulationStatusRequest | Request payload for Goal Decumulation Status
|
313
|
+
|
314
|
+
|
315
|
+
begin
|
316
|
+
#Goal Decumulation Status
|
317
|
+
result = api_instance.goal_decumulation_status(goal_decumulation_status_request)
|
318
|
+
p result
|
319
|
+
rescue ProtonApi::ApiError => e
|
320
|
+
puts "Exception when calling GoalsApi->goal_decumulation_status: #{e}"
|
321
|
+
end
|
322
|
+
```
|
323
|
+
|
324
|
+
### Parameters
|
325
|
+
|
326
|
+
Name | Type | Description | Notes
|
327
|
+
------------- | ------------- | ------------- | -------------
|
328
|
+
**goal_decumulation_status_request** | [**GoalDecumulationStatusRequest**](GoalDecumulationStatusRequest.md)| Request payload for Goal Decumulation Status |
|
329
|
+
|
330
|
+
### Return type
|
331
|
+
|
332
|
+
**Hash<String, Object>**
|
333
|
+
|
334
|
+
### Authorization
|
335
|
+
|
336
|
+
[oauth2](../README.md#oauth2)
|
337
|
+
|
338
|
+
### HTTP request headers
|
339
|
+
|
340
|
+
- **Content-Type**: application/json
|
341
|
+
- **Accept**: application/json
|
342
|
+
|
343
|
+
|
344
|
+
|