GithubHelp home page GithubHelp logo

financial-markets-analysis's Introduction

Financial Stock Market Analysis

This repository contains code and documentation for analyzing financial stock market data using various statistical and machine learning techniques. The analysis was performed on a dataset spanning five years (2016-2021) and covering 30 different stocks.

Dataset Description

The financial market dataset comprises a comprehensive collection of daily trading information for multiple stocks over a specified time period. Each row in the dataset represents a single trading day for a particular stock, with various attributes captured for analysis and modeling.

Key Attributes:

  1. Date: The date of the trading session.
  2. Symbol: The unique identifier for the stock.
  3. Series: The category or type of security (e.g., equity).
  4. Previous Close: The closing price of the stock from the previous trading day.
  5. Open: The opening price of the stock at the beginning of the trading session.
  6. High: The highest price observed during the trading session.
  7. Low: The lowest price observed during the trading session.
  8. Last: The last traded price of the stock during the trading session.
  9. Close: The closing price of the stock at the end of the trading session.
  10. VWAP (Volume Weighted Average Price): The average price of a stock weighted by trading volume over a specified time period.
  11. Volume: The total number of shares traded during the trading session.
  12. Turnover: The total value of all trades executed during the trading session.
  13. Trades: The total number of trades executed during the trading session.
  14. Deliverable Volume: The volume of shares that were delivered (settled) during the trading session.
  15. % Deliverable: The percentage of deliverable volume relative to total volume traded during the session.

Experiments

  1. Descriptive, Prescriptive, and Predictive Statistics: Analyzed the dataset to understand its characteristics and make predictions about future stock prices.
  2. Linear Regression: Applied linear regression to model the relationship between independent variables and stock prices.
  3. Logistic Regression: Used logistic regression to perform classification tasks on the stock market dataset.
  4. Data Visualization: Created visualizations to explore patterns and trends in the stock market data.
  5. Correlation Analysis: Calculated the correlation matrix and plotted correlation plots to understand relationships among different variables in the dataset.
  6. Matrix Decomposition: Performed Singular Value Decomposition (SVD) or other matrix decomposition techniques to analyze the structure of the dataset.
  7. Hypothesis Testing: Conducted hypothesis testing to make inferences about population parameters based on sample data.
  8. ANOVA Testing: Applied analysis of variance (ANOVA) testing to compare means across multiple groups in the dataset.
  9. Classification: Installed relevant packages for classification and evaluated the performance of classifiers using techniques like Particle Swarm Optimization for Support Vector Machine.
  10. Optimization Algorithm Research: Prepared a research paper discussing the application of optimization algorithms to stock market analysis.

Files

  • Financial_Stock_Market_Analysis.ipynb: Jupyter notebook containing code for all experiments.
  • Dataset for the Stock Market
  • research_paper.pdf: Research paper discussing optimization algorithms for stock market analysis.

Requirements

  • Python 3.x
  • Jupyter Notebook
  • pandas
  • scikit-learn
  • matplotlib
  • seaborn
  • scipy

Usage

  1. Clone the repository:

    git clone https://github.com/your-username/financial-stock-market-analysis.git
    
  2. Navigate to the project directory

    cd financial-stock-market-analysis
    

financial-markets-analysis's People

Contributors

hima-v avatar

Watchers

 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.