Find Jobs
Hire Freelancers

Build a VBA program that calculates efficient portfolios based onModern Portfolios Theory (MPT) by Markowitz

€30-250 EUR

Igangværende
Slået op 3 måneder siden

€30-250 EUR

Betales ved levering
Here's a breakdown of programming a Modern Portfolio Theory (MPT) Markowitz setup in Excel using VBA: Objective: Build a VBA program that calculates efficient portfolios based on user-defined inputs, adhering to MPT principles. Inputs: • Import historic prices from Yahoo Finance. I have a functional code that you can uce. • Expected returns: Leave a field in the main excel sheet that allows for the user to input the expected returns for each asset. • Risk-free rate: Leave a field for the user to input the risk-free rate of return. • Log returns: Calculate the log returns on the historical prices, taking into account the dividends. • covariance matrix: A matrix representing the covariance between each pair of assets. • Target return or risk level: User-defined target return or desired level of risk (e.g., standard deviation). Outputs: • Optimal portfolio weights: An array or range containing the optimal weights for each asset in the efficient portfolio. • Additional outputs like expected return, standard deviation, Sharpe ratio, and efficient frontier visualization. Steps: 1. Data Import: o Utilize functions like [login to view URL] to access historic data for prices and dividends o Validate and handle potential errors in data format or size. 2. Efficient Frontier Calculation: o Calculate covariance matrix using input expected returns and risk-free rate. o Implement the Markowitz optimization algorithm using libraries like Solver or custom optimization functions. o Solve the optimization problem to find the portfolio weights that minimize risk (standard deviation) for a given target return or maximize return for a given risk level. o Consider using constraint handling in Solver to enforce bounds on weights (e.g., non-negative, sum to 1). 3. Output & Visualization: o Display the calculated optimal portfolio weights in a designated range or format. o Calculate and display additional metrics like expected return, standard deviation, Sharpe ratio, and plot the efficient frontier using charting libraries like ChartObjects. 4. Error Handling: o Implement robust error handling mechanisms to address potential issues like invalid data, solver failures, or unexpected calculations. o Provide informative error messages to guide the user. Additional Considerations: • User Interface: Consider building a user-friendly interface with input fields, buttons, and clear output displays using VBA forms or custom dialog boxes. • Flexibility: Allow users to specify different objective functions (e.g., maximize Sharpe ratio) or incorporate transaction costs. • Data Management: Handle large datasets efficiently and provide options for loading data from external sources like text files or databases. Remember, this is a high-level overview, and the specific implementation details will depend on your preferences and chosen libraries.
Projekt-ID: 37740216

Om projektet

11 forslag
Projekt på afstand
Aktiv 3 måneder siden

Leder du efter muligheder for at tjene penge?

Fordele ved budafgivning på Freelancer

Fastsæt dit budget og din tidsramme
Bliv betalt for dit arbejde
Oprids dit forslag
Det er gratis at skrive sig op og byde på jobs
Tildel til:
Brug Avatar.
Hi Hope you are doing good, I can perfectly help you with that in quick turnaround. I am a professional Excel expert holding 7 years of experience in utilizing advance level tools, creating dynamic dashboards and Excel (including VBA and Macro) to perform Data Analysis, Data Visualization, Automation and complex calculations. I will be happy to discuss in detail how I am highly suitable for this project. Kind Regards Arun
€100 EUR på 1 dag
5,0 (41 anmeldelser)
5,6
5,6
11 freelancere byder i gennemsnit €109 EUR på dette job
Brug Avatar.
As a Data Consultant with extensive experience in Excel and VBA, I'm confident that I can deliver exactly what you need for your Modern Portfolio Theory (MPT) project. My expertise in building databases, automating processes, and performing data analysis aligns perfectly with the requirements of this project. Having analysed large datasets and created complex queries, I am highly proficient in leveraging VBA to manipulate data and achieve efficient solutions. To assure error-free robustness, I have a keen eye for detail and always adhere to high-quality standards. You can also expect a user-friendly interface with clear output displays and informative error messages tailored to your unique needs. Furthermore, my knack for optimizing performance will ensure swift calculations even with large datasets. I am familiar with various libraries including Solver and have optimized functions using them before. However, what separates me is my ability to think beyond the obvious:incorporating multi-objective functionalities or allowing input from external sources like text or databases. You can view some of my previous works related to Excel VBA.
€140 EUR på 2 dage
5,0 (52 anmeldelser)
6,2
6,2
Brug Avatar.
Hi, I am here for your Assistance in MS Excel and Google Sheet with 4 year professional experience and knowledge of advance excel which will give your spreadsheets an organized and professional data view. Includes: Spreadsheet Google Sheet MS Excel Dashboard Automation Graphs & Charts Formula & Tools Data Analysis Pivot Tables Macro & VBA Financial Budgeting Data Validation Web Scrapping Investment Calculators Conditional Formatting VLOOKUP and HLOOKUP Excel Data Entry
€220 EUR på 7 dage
5,0 (17 anmeldelser)
5,8
5,8
Brug Avatar.
With my extensive background in project management, strategic planning, and data analysis, I believe I'm the ideal candidate to build your VBA program for Modern Portfolio Theory. I've managed and successfully executed projects of various sizes, from small scale initiatives to large-scale product launches, end-to-end within timeline and budget. Combining my advanced Excel and VBA skills with my robust error handling abilities will ensure a reliable program that can validate and handle any errors efficiently, be it invalid data or unexpected calculations. Moreover, I have a deep understanding of the optimization problem-solving process - crucial for developing an efficient portfolio using Markowitz's methodology. I am highly experienced in utilizing Solver in Excel as well as creating custom optimization functions in VBA—skills we'll need to translate your theory into an actionable program. This project demands an eye for detail, analytical thinking, and strong project management skills - nuances which I not only understand but excel at—and this is why I'm confident I'm the best fit for your job! Let's discuss further how we can bring your vision to life.
€140 EUR på 7 dage
5,0 (4 anmeldelser)
4,3
4,3
Brug Avatar.
"""""""""""""""""""""""""""TOP EXCEL VBA EXPERT"""""""""""""""""""""""""""" Greetings! I clearly understand what is required of the project Build a VBA program. I am an EXCEL Advanced Level Expert. I have extensive experience in Excel, particularly in creating DASHBOARD, VLOOKUP, PIVOT FUNCTION, AUTOMATION, CODING and CUSTOM FORMATTING. I am also an expert of FINANCIAL CALCULATIONS and ANALYSIS. This is my field and I can complete this project with in 24 hours with added quality. Please Text me to discuss further. About me I am a Chartered Accountant with many years of experience from one of the worlds big four Accountancy and auditing firm """"""""EARNST & YOUNG FORD RHODES GLOBAL"""""""". I have also worked in PWC Audit Firm. I can handle this task very efficiently and you can expect 100% accuracy from me. I am Microsoft Excel, accounting, auditing, financial statements, Form Creation in Excel through VBA and in Google Sheet, QuickBooks, and Sage expert. It is my Sixth month here and I have 115+ 5 stars reviews here. I am not new to work. I know how to meet strict deadlines without compromising the quality of the work. I will also be available for any query after the job is done as I am building my clients. Note. The price is negotiable. I will be available for any query round the clock even if the project is completed. Regards, Spogmai Kakar"""
€45 EUR på 1 dag
5,0 (27 anmeldelser)
4,1
4,1
Brug Avatar.
Greetings, I'm eager to create a user-friendly Excel VBA program for your Modern Portfolio Theory (MPT) Markowitz setup. The code will import historic prices, calculate log returns, and derive a covariance matrix. The optimization algorithm, employing Solver or custom functions, will yield optimal portfolio weights based on user-defined target returns or risk levels. The output will showcase key metrics, including expected return, standard deviation, Sharpe ratio, and an efficient frontier visualization. Excited to deliver a concise and effective solution. Warm regards, Muhammad Atta Fareed
€30 EUR på 7 dage
4,8 (4 anmeldelser)
2,6
2,6
Brug Avatar.
I just read your requirements and feel I am perfect for the job. Because I have expertise in vba programming in addition to having specializations in excel. I also have intermediate financial knowledge which makes it easier for me to understand the markowitz methodology. Write me and you will not regret it, we are in contact.
€150 EUR på 3 dage
0,0 (0 anmeldelser)
0,0
0,0

Om klienten

Flag for DENMARK
Skanderborg, Denmark
4,9
19
Betalingsmetode verificeret
Medlem siden sep. 20, 2009

Klientverificering

Tak! Vi har sendt dig en e-mail med et link, så du kan modtage din kredit.
Noget gik galt, da vi forsøgte at sende din mail. Prøv venligst igen.
Registrerede brugere Oprettede jobs i alt
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Indlæser forhåndsvisning
Geolokalisering er tilladt.
Din session er udløbet, og du er blevet logget ud. Log venligst ind igen.