MARKOWITZ PORTFOLIO OPTIMIZATION USING MONTE CARLO SIMULATION
Originally published: 06/09/2023 10:21
Publication number: ELQ-18644-1
View all versions & Certificate
certified

MARKOWITZ PORTFOLIO OPTIMIZATION USING MONTE CARLO SIMULATION

A stochastic simulation is performed based on the Monte Carlo method to obtain an optimal portfolio after evaluating thousands of possible combinations.

Description
This spreadsheet has a built in dialogue that allows the user to choose up to 30 stocks, bonds or ETFs or a combination of these. The simulation is a Monte Carlo program that is iterated 500 000 times to attach weights to the selected financial tickers.  In one instance it attempts to provide an optimized portfolio based on Sharpe's ratio, and in another instance, it provides an optimized simulation based on minimized volatility. The application is an integrated environment using the Python programming language and several dependencies together with a front-end built using Lazarus Free Pascal plus VBA.  The Python program is divided into two sections.  The first part uses YFinance, a package for Python to download the required items.  The second part of the program uses the information from these items to do a Monte Carlo simulation that strives to provide a more or less optimized portfolio.  Several stock tickers are provided in the spreadsheet for the user to use to test the software.  An entire spreadsheet is also provided with about 6000 tickers for a diverse range of businesses traded on the New York stock exchange. This can assist in building a diversified portfolio. Users can contact me at any time if there are additional questions, problems or suggestions to integrate the software better, or to improve.

This Best Practice includes
1 Excel Spreadsheet file, two pdf files, two text files, two CSV files and one executable file

Acquire consulting license for $15.00

Add to cart

Add to bookmarks

Discuss

Further information

This best practice allows the user to automate the optimization of stocks, bonds, ETFs or a combination of these. The program is completely autonomous and interacts with the spreadsheet by means of CSV files or direct copying and pasting. It is intended to be a tool to be used as part of a decision-making process. It is best used with existing tools such as optimization models purely derived from a spreadsheet or as a tool of instruction in the art of simulation.

This best practice should not be used as a final means to obtain an optimized portfolio but should rather be seen as a tool that supports existing strategies or as a tool of instruction.

This tool should not be used for major decisions on investment. It is merely constructed to provide some insight into possible optimum portfolios. As such it should be compared to past strategies. It should not be used alone for decision-making processes but in conjunction with other methods.


0.0 / 5 (0 votes)

please wait...