Code Monkey home page Code Monkey logo

analysing_stocks's Introduction

Data_Explorer

This project is part of Data Science Course

Problem Statement

Traveling the world on a mission to discover new data

  1. Set up a data science project structure in a new git repository in your GitHub account
  2. Install Jupyter notebook prerequisites (Anaconda, Python, etc.)
  3. Select an industry
  4. Select two to three public data sets from that industry
  5. Load the data sets into panda data frames following the 10 minutes to pandas guide
  6. Formulate one or two ideas on how the data sets could be combined to establish additional value using exploratory data analysis
  7. Transform the data sets into a single data set while following data preparation processes to clean and transform features (use pandas documentation for help)
  8. Document your process and results
  9. Commit your notebook, source code, visualizations and other supporting files to the git repository in GitHub

What it does?

  • Compares Bank of America Corp's stock and Wells Fargo & Co's stock in terms of day to day Closing price and Volume from 3/1/1973 to 4/1/2020.
  • We combined data sets of both stocks.
  • Analyzed resultant data.

Dataset used

Data Structure of BOA.csv and WFC.csv:
  1. Date - specifies trading date
  2. Open - opening price
  3. High - maximum price during the day
  4. Low - minimum price during the day
  5. Close - close price adjusted for splits
  6. Adj Close - adjusted close price adjusted for both dividends and splits.
  7. Volume - the number of shares that changed hands during a given day

Data Transformation

  • Retrieved data from csv files
  • Both stock data sets are loaded in to data frames.
  • Changed column names and outer-merged them on Date attribute.

Analysis

  • After combining both data sets, we generate result_data.csv
  • we then visualise the change in closing price and volume of trades. -
  • The all-time high Bank Of America stock closing price was 54.90 on November 20, 2006.
  • The all-time high Wells Fargo stock closing price was 65.93 on January 26, 2018.
  • We can clearly see price drop for both stocks during the 2007-2008 Global Financial Crisis and then they have recovered but again during 2020 stock market crash, both had a huge dip. -
  • Stock volume is a measure of the number of stock shares that have been exchanged or traded within a specific period of time(usually daily). It's essentially how much buying and selling was going on within that period of time.
  • When trading volume is higher, you'll have an easier time buying and selling large or small quantities of stock, because other traders are in the market, waiting to fulfill the other side of your trade.
  • After the 2007-2008 Global Financial Crisis, consistently volume of Bank of America's stock was very high compared to that of Wells Fargo's but, we can see that Bank of America's stock closing price didn't improve as much as Wells Fargos stock did.

Project Structure:

Readme.md

  • Project description

Data

  • Contains raw data and also processed data(final data)

Notebooks

  • Jupyter Notebook for Exploratory data analysis and Visualization.

Reports

  • Visualizations in png format images
  • Plot- Closing Prices Comparision
  • Plot- Volume Comparision

Requirements.txt

  • Info about Tools, frameworks and libraries required to reproduce the work flow

analysing_stocks's People

Contributors

sflazarus avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

luiskelvin654

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.