繳費六年,固定利率
我自己也有買的一張保單
目前都已經繳費完畢
解約金以每年2.25%增加
是我最重要的緊急備用金
就依據建議書上寫的數字為準
首年度3%折扣(無轉帳折扣1%)
續年度4%折扣
其實以信用卡繳費,
折扣不只如此而已
但商品已停售
本文不為計算
如何最大化保單利益
以下是當時使用Excel
計算的6~10年IRR:
本篇也要改用Python計算新光增有利IRR
寫的逗點分隔檔同建議書的現金流:
程式碼如下:


VS code輸出結果:

寫入的csv檔:

跟先前使用Excel計算的IRR
除了8年IRR差了0.0001%
其他到小數點下4位都沒差別
新增第21行,可以算總報酬率:

VS code輸出結果:

csv檔:

22/11/4
新增解約金增加率:

輸出結果:

推薦hahow線上學習python: https://igrape.net/30afN








![Python: pandas.Series如何只保留str,去除重複值?#isinstance(x:Any, str) -> bool #.drop_duplicates() #Series.apply( function )逐元素應用function運算 #DataFrame.apply( function )逐Series應用function運算 .drop_duplicates() 跟.unique()有何差別? df.drop_duplicates() 等效於 df[~df.duplicated()] Python: pandas.Series如何只保留str,去除重複值?#isinstance(x:Any, str) -> bool #.drop_duplicates() #Series.apply( function )逐元素應用function運算 #DataFrame.apply( function )逐Series應用function運算 .drop_duplicates() 跟.unique()有何差別? df.drop_duplicates() 等效於 df[~df.duplicated()]](https://i2.wp.com/savingking.com.tw/wp-content/uploads/2024/11/20241123194900_0_5218de.png?quality=90&zoom=2&ssl=1&resize=350%2C233)
![Python TQC考題810 最大值與最小值之差,L=[eval(i) for i in s.split()] Python TQC考題810 最大值與最小值之差,L=[eval(i) for i in s.split()]](https://i2.wp.com/savingking.com.tw/wp-content/uploads/2022/05/20220507094526_36.png?quality=90&zoom=2&ssl=1&resize=350%2C233)
![Python 正規表達式教學:看懂 re.split()、\W|_ 與 flags=re.ASCII # \w代表 word character ~ [A-Za-z0-9_] Python 正規表達式教學:看懂 re.split()、\W|_ 與 flags=re.ASCII # \w代表 word character ~ [A-Za-z0-9_]](https://i0.wp.com/savingking.com.tw/wp-content/uploads/2026/04/20260430085117_0_0beced.png?quality=90&zoom=2&ssl=1&resize=350%2C233)

近期留言