Giter Club home page Giter Club logo

asset-pricing-with-liquidity-risk's Introduction

Asset-Pricing-with-Liquidity-Risk

Description

This project focuses on analyzing financial data to calculate and visualize illiquidity measures, volatility, and returns over time for different PERMNOs (unique identifiers for stocks). It involves data collection, preprocessing, analysis, and visualization using pandas, NumPy, matplotlib, and statsmodels.

Features

  • Data Collection Summary from CRSP.
  • Calculation of Illiquidity Measures.
  • Visualization of Volatility and Returns.
  • Analysis of Market and Illiquidity Portfolios.
  • Innovations in Illiquidity and Liquidity Risk Assessment.

Getting Started

Dependencies

  • Python 3.x
  • pandas
  • numpy
  • matplotlib
  • statsmodels

Installing

  1. Ensure Python 3.x is installed on your system.
  2. Clone this repository to your local machine.
  3. Install the required Python packages:

Usage

After installing the required dependencies and setting up your dataset, you can run the script to perform the analysis. The script will output:

  • A summary of the collected data.

  • Visualizations for volatility and returns per PERMNO.

  • Calculations of dollar volume and daily illiquidity measures.

  • Analysis and visualization of illiquidity-weighted portfolios and market and illiquidity portfolios.

  • Predictions and residuals for value-weighted returns and illiquidity measures using manual AR(2) predictions.

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.