Skip to content

shrawantee/VBA-Scripting---Stock-Market-Analysis

Repository files navigation

Unit 2 | Assignment - The VBA of Wall Street

Background

You are well on your way to becoming a programmer and Excel master! In this homework assignment you will use VBA scripting to analyze real stock market data. Depending on your comfort level with VBA, choose your assignment from Easy, Moderate, or Hard below.

Files

  • Test Data - Use this while developing your scripts.

  • Stock Data - Run your scripts on this data to generate the final homework report.

Stock market analyst

stock Market

Easy

  • Create a script that will loop through each year of stock data and grab the total amount of volume each stock had over the year.

  • You will also need to display the ticker symbol to coincide with the total volume.

  • Your result should look as follows (note: all solution images are for 2015 data).

easy_solution

Moderate

  • Create a script that will loop through all the stocks and take the following info.

    • Yearly change from what the stock opened the year at to what the closing price was.

    • The percent change from the what it opened the year at to what it closed.

    • The total Volume of the stock

    • Ticker symbol

  • You should also have conditional formatting that will highlight positive change in green and negative change in red.

  • The result should look as follows.

moderate_solution

Hard

  • Your solution will include everything from the moderate challenge.

  • Your solution will also be able to locate the stock with the "Greatest % increase", "Greatest % Decrease" and "Greatest total volume".

  • Solution will look as follows.

hard_solution

CHALLENGE

  • Make the appropriate adjustments to your script that will allow it to run on every worksheet just by running it once.

  • This can be applied to any of the difficulties.

Other Considerations

  • Use the sheet alphabetical_testing.xlsx while developing your code. This dataset is smaller and will allow you to test faster.

  • Make sure that the script acts the same on each sheet. The joy of VBA is to take the tediousness out of repetitive task and run over and over again with a click of the button.

Submission

  • To submit please save the following in the same folder to https://www.dropbox.com/.

    • A screen shot for each year of your results on the Multi Year Stock Data.

    • VBA Scripts as separate files.

  • After everything has been saved, create a sharable link and submit that to https://bootcampspot-v2.com/.


Copyright

Coding Boot Camp © 2018. All Rights Reserved.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published