.. _portfolio_backtest_example: Portfolio Backtest Example ========================== This example shows how to write and execute a :ref:`portfolio_backtest` **Python source code:** :download:`../../examples/portfolio_backtest.py` .. literalinclude:: ../../examples/portfolio_backtest.py .. image:: images/portfolio_backtest/portfolio_backtest.png :align: center