IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2008.04985.html
   My bibliography  Save this paper

Tax-Aware Portfolio Construction via Convex Optimization

Author

Listed:
  • Nicholas Moehle
  • Mykel J. Kochenderfer
  • Stephen Boyd
  • Andrew Ang

Abstract

We describe an optimization-based tax-aware portfolio construction method that adds tax liability to standard Markowitz-based portfolio construction. Our method produces a trade list that specifies the number of shares to buy of each asset and the number of shares to sell from each tax lot held. To avoid wash sales (in which some realized capital losses are disallowed), we assume that we trade monthly, and cannot simultaneously buy and sell the same asset. The tax-aware portfolio construction problem is not convex, but it becomes convex when we specify, for each asset, whether we buy or sell it. It can be solved using standard mixed-integer convex optimization methods at the cost of very long solve times for some problem instances. We present a custom convex relaxation of the problem that borrows curvature from the risk model. This relaxation can provide a good approximation of the true tax liability, while greatly enhancing computational tractability. This method requires the solution of only two convex optimization problems: the first determines whether we buy or sell each asset, and the second generates the final trade list. In our numerical experiments, our method almost always solves the nonconvex problem to optimality, and when it does not, it produces a trade list very close to optimal. Backtests show that the performance of our method is indistinguishable from that obtained using a globally optimal solution, but with significantly reduced computational effort.

Suggested Citation

  • Nicholas Moehle & Mykel J. Kochenderfer & Stephen Boyd & Andrew Ang, 2020. "Tax-Aware Portfolio Construction via Convex Optimization," Papers 2008.04985, arXiv.org, revised Feb 2021.
  • Handle: RePEc:arx:papers:2008.04985
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/2008.04985
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Madeleine Udell & Stephen Boyd, 2016. "Bounding duality gap for separable problems with linear constraints," Computational Optimization and Applications, Springer, vol. 64(2), pages 355-378, June.
    2. William F. Sharpe, 1963. "A Simplified Model for Portfolio Analysis," Management Science, INFORMS, vol. 9(2), pages 277-293, January.
    3. repec:bla:jfinan:v:59:y:2004:i:3:p:999-1037 is not listed on IDEAS
    4. Dammon, Robert M & Spatt, Chester S, 1996. "The Optimal Trading and Pricing of Securities with Asymmetric Capital Gains Taxes and Transaction Costs," The Review of Financial Studies, Society for Financial Studies, vol. 9(3), pages 921-952.
    5. Dimitris Bertsimas & Christopher Darnell & Robert Soucy, 1999. "Portfolio Construction Through Mixed-Integer Programming at Grantham, Mayo, Van Otterloo and Company," Interfaces, INFORMS, vol. 29(1), pages 49-66, February.
    6. Dammon, Robert M & Spatt, Chester S & Zhang, Harold H, 2001. "Optimal Consumption and Investment with Capital Gains Taxes," The Review of Financial Studies, Society for Financial Studies, vol. 14(3), pages 583-616.
    7. Brendan O’Donoghue & Eric Chu & Neal Parikh & Stephen Boyd, 2016. "Conic Optimization via Operator Splitting and Homogeneous Self-Dual Embedding," Journal of Optimization Theory and Applications, Springer, vol. 169(3), pages 1042-1068, June.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Nicholas Moehle & Jack Gindi & Stephen Boyd & Mykel Kochenderfer, 2021. "Portfolio Construction as Linearly Constrained Separable Optimization," Papers 2103.05455, arXiv.org, revised Jul 2022.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Nicholas Moehle & Mykel J. Kochenderfer & Stephen Boyd & Andrew Ang, 2021. "Tax-Aware Portfolio Construction via Convex Optimization," Journal of Optimization Theory and Applications, Springer, vol. 189(2), pages 364-383, May.
    2. Paul Ehling & Michael Gallmeyer & Sanjay Srivastava & Stathis Tompaidis & Chunyu Yang, 2018. "Portfolio Tax Trading with Carryover Losses," Management Science, INFORMS, vol. 64(9), pages 4156-4176, September.
    3. Norman Schuerhoff, 2004. "Capital Gains Taxes, Irreversible Investment, and Capital Structure," 2004 Meeting Papers 688, Society for Economic Dynamics.
    4. Yaoting Lei & Ya Li & Jing Xu, 2020. "Two Birds, One Stone: Joint Timing of Returns and Capital Gains Taxes," Management Science, INFORMS, vol. 66(2), pages 823-843, February.
    5. JOhnny Kang & Tapio Pekkala & Christopher Polk & Ruy Ribeiro, 2011. "Stock prices under pressure; How tax and interest rates drive returns at the turn of the tax year," FMG Discussion Papers dp671, Financial Markets Group.
    6. Stephen Boyd & Kasper Johansson & Ronald Kahn & Philipp Schiele & Thomas Schmelzer, 2024. "Markowitz Portfolio Construction at Seventy," Papers 2401.05080, arXiv.org.
    7. Fischer, Marcel & Gallmeyer, Michael F., 2016. "Heuristic portfolio trading rules with capital gain taxes," Journal of Financial Economics, Elsevier, vol. 119(3), pages 611-625.
    8. Poterba, James M., 2002. "Taxation, risk-taking, and household portfolio behavior," Handbook of Public Economics, in: A. J. Auerbach & M. Feldstein (ed.), Handbook of Public Economics, edition 1, volume 3, chapter 17, pages 1109-1171, Elsevier.
    9. Astrup Jensen, Bjarne & Marekwica, Marcel, 2011. "Optimal portfolio choice with wash sale constraints," Journal of Economic Dynamics and Control, Elsevier, vol. 35(11), pages 1916-1937.
    10. John B. Guerard, Jr. & Robert A. Gillam & Harry Markowitz & Ganlin Xu & Shijie Deng & Ziwei (Elaine) Wang, 2018. "Data Mining Corrections Testing in Chinese Stocks," Interfaces, INFORMS, vol. 48(2), pages 108-120, April.
    11. Hanlon, Michelle & Heitzman, Shane, 2010. "A review of tax research," Journal of Accounting and Economics, Elsevier, vol. 50(2-3), pages 127-178, December.
    12. McKeever, Daniel & Rydqvist, Kristian, 2022. "Tax-loss harvesting under uncertainty," Journal of Banking & Finance, Elsevier, vol. 140(C).
    13. Marekwica, Marcel, 2012. "Optimal tax-timing and asset allocation when tax rebates on capital losses are limited," Journal of Banking & Finance, Elsevier, vol. 36(7), pages 2048-2063.
    14. Hannart, Alexis & Naveau, Philippe, 2014. "Estimating high dimensional covariance matrices: A new look at the Gaussian conjugate framework," Journal of Multivariate Analysis, Elsevier, vol. 131(C), pages 149-162.
    15. Heidari , Hassan & Refah-Kahriz, Arash & Hashemi Berenjabadi, Nayyer, 2018. "Dynamic Relationship between Macroeconomic Variables and Stock Return Volatility in Tehran Stock Exchange: Multivariate MS ARMA GARCH Approach," Quarterly Journal of Applied Theories of Economics, Faculty of Economics, Management and Business, University of Tabriz, vol. 5(2), pages 223-250, August.
    16. Hanke, Michael & Stöckl, Sebastian & Weissensteiner, Alex, 2020. "Political event portfolios," Journal of Banking & Finance, Elsevier, vol. 118(C).
    17. Klein, Peter, 2004. "The capital gain lock-in effect and perfect substitutes," Journal of Public Economics, Elsevier, vol. 88(12), pages 2765-2783, December.
    18. Wanpracha Art Chaovalitwongse, 2008. "Novel quadratic programming approach for time series clustering with biomedical application," Journal of Combinatorial Optimization, Springer, vol. 15(3), pages 225-241, April.
    19. D'Arcangelis, Anna Maria & Rotundo, Giulia, 2021. "Herding in mutual funds: A complex network approach," Journal of Business Research, Elsevier, vol. 129(C), pages 679-686.
    20. Clemens Sialm, 2009. "Tax Changes and Asset Pricing," American Economic Review, American Economic Association, vol. 99(4), pages 1356-1383, September.

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:arx:papers:2008.04985. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: arXiv administrators (email available below). General contact details of provider: http://arxiv.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.