實驗:固定報酬

參數

實際名中文名對應值
principal本金500000
monthly_deposit每月存款0
investment_rate初始投資報酬率0
total_year總年數10
compound_mode複利模式year_compound
investment_models利率模型simple_win_lose
investment_models_params利率輸入值(0.6, 20, -20, random_invest_rate=False)

單次實驗結果

YearInvestment RateTotal CapitalThis Year EarnThis Year LossTotal Principal
1.0-20.0400000.00.0100000.0500000.0
2.0-20.0320000.00.080000.0500000.0
3.0-20.0256000.00.064000.0500000.0
4.0-20.0204800.00.051200.0500000.0
5.020.0245760.040960.00.0500000.0
6.0-20.0196608.00.049152.0500000.0
7.020.0235929.039321.00.0500000.0
8.020.0283115.047185.00.0500000.0
9.020.0339738.056623.00.0500000.0
10.020.0407686.067947.00.0500000.0
        本金: 500000, 
        總資本: 407686.3, 
        總收益: 252038.3, 
        總損失: 344352.0, 
        總存入金額: 0
        
        投資總收益比: -18.46%,
        平均年報酬率: 0.00%
        

實驗10000次結果

實驗二:隨機報酬

參數

實際名中文名對應值
principal本金500000
monthly_deposit每月存款0
investment_rate初始投資報酬率0
total_year總年數10
compound_mode複利模式year_compound
investment_models利率模型simple_win_lose
investment_models_params利率輸入值(0.6, 20, -20, random_invest_rate=True)

單次實驗結果

YearInvestment RateTotal CapitalThis Year EarnThis Year LossTotal Principal
1.08.0540000.040000.00.0500000.0
2.0-9.0491400.00.048600.0500000.0
3.013.0555282.063882.00.0500000.0
4.011.0616363.061081.00.0500000.0
5.0-19.0499254.00.0117108.0500000.0
6.0-11.0444336.00.054917.0500000.0
7.0-8.0408789.00.035546.0500000.0
8.016.0474195.065406.00.0500000.0
9.0-9.0431517.00.042677.0500000.0
10.0-16.0362475.00.069042.0500000.0
        本金: 500000, 
        總資本: 362475.0, 
        總收益: 230369.3, 
        總損失: 367894.3, 
        總存入金額: 0
        
        投資總收益比: -27.50%,
        平均年報酬率: -2.40%
        

10000次實驗統計結果