Skip to content

Composition of a VBA Script to be applied to a dataset of daily stocks traded in the years 2018-2020. Script loops through each instance of a stock by each trading day of each year to generate summary statistics for each Ticker (unique identifier of a stock).

Notifications You must be signed in to change notification settings

dczornyj/Stock-Trading-Summary-Statistics-Generator

Repository files navigation

Stock-Trading-Summary-Statistics-Generator

Original dataset (found in Resources folder) which composed VBA Script was applied to has not been fully uploaded due to file size complications

Screenshots

Screenshot (157)

Screenshot (158)

Screenshot (159)

Instructions

Create a script that loops through all the stocks for one year and outputs the following information:

  • The ticker symbol.

  • Yearly change from opening price at the beginning of a given year to the closing price at the end of that year.

  • The percent change from opening price at the beginning of a given year to the closing price at the end of that year.

  • The total stock volume of the stock.

Note: Make sure to use conditional formatting that will highlight positive change in green and negative change in red.

References

  • Dataset generated by Trilogy Education Services, LLC.

© 2022 Trilogy Education Services, a 2U, Inc. brand. All Rights Reserved.

About

Composition of a VBA Script to be applied to a dataset of daily stocks traded in the years 2018-2020. Script loops through each instance of a stock by each trading day of each year to generate summary statistics for each Ticker (unique identifier of a stock).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published