edtechre / pybroker

Algorithmic Trading in Python with Machine Learning
https://www.pybroker.com
Other
2.06k stars 256 forks source link

Add regular defined contribution to portfolio #104

Closed Djangu-algo closed 7 months ago

Djangu-algo commented 7 months ago

Feature request please: If possible, a portfolio could have a regular cash contribution amount, or an amount from a list / dataframe, so that it can mimic a retirement plan. Conversely, a withdrawal amount could also be entered as a negative amount.

edtechre commented 7 months ago

Hi @Djangu-algo,

I'm not sure how this would work. What would the amount be from the list or data frame, and how would these be updated? You can configure your own cash amount to use for your strategy.