1
$\begingroup$

I'm looking to learn how to correctly simulate taxes on dividends and capital gains on simulated return series for U.S. Equities with dividend reinvestment. I understand I will have to keep track of the tax lots individually and model tax optimal sales.

Do any open source (python?) packages or pseudocode exist that track lots and simulate taxes on trades?

$\endgroup$

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.