Code Monkey home page Code Monkey logo

the-vba-of-wall-street's Introduction

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. Your code should run on this file in less than 3-5 minutes.

  • 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 upload the following to Github:

    • 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.

the-vba-of-wall-street's People

Contributors

mona-arami avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.