Variation of
https://www.quantconnect.com/forum/discussion/10719/simulation-of-withdrawal-plans/p1I adjusted it to fit my retirement plan:
1. Stopped working in 2008.
2. Goal is to maximize withdrawals, without running out of money. Growing equity is NOT the goal here.
Parameters:
withdrawal percentrage per trading day = 0.0003
leverage = 1.1
Withdrawal percentage per year = 0.0003 * 253 = 0.0759
Does this algo account for cost of margin?
Vladimir
Valery T,
1. Retirement accounts are cash accounts and do not allow any credit leverage.
2. You can contribute to pension accounts in the amount set by the IRS according to your age and income.
3. You need to enter real figures in dollars based on your age, income, life expectancy and
account balance as described here.
Valery T
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
To unlock posting to the community forums please complete at least 30% of Boot Camp.
You can continue your Boot Camp training progress from the terminal. We hope to see you in the community soon!