Giter Site home page Giter Site logo

anitamezzetti / covid_impact_stocks_volatility Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 3.0 284.61 MB

Financial Big Data (FIN-525) final project: The Impact of COVID-19 on Returns and Volatility: a case study of the United States, China, Switzerland and Japan

Jupyter Notebook 99.90% Python 0.10%
big-data covid-19 covid switzerland china usa japan intraday-data stock-market covid-analysis

covid_impact_stocks_volatility's Introduction

The Impact of COVID-19 on Returns and Volatility: A Case Study of the United States, China, Switzerland and Japan

Class webpage: https://edu.epfl.ch/coursebook/fr/financial-big-data-FIN-525

Abstract: The year 2020 observed a huge shock that affected every industry on an unprece-dented scale. The financial market, taking part in and situated in the centre of almostall domains, has itself recorded diverse and extreme movements. The current studytook a closer look into these phenomena while analysing the impact of the pandemicon returns and volatility on four major financial markets - the US, China, Switzer-land, and Japan - which simultaneously belong to four countries that have beenseverely hit (based on the number of cases and deaths) by the virus. We specificallylooked into the relationship between the dynamic of the pandemic and that of thereturns, and subsequently of the volatility on each of the markets. Using the Grangercausality as the principal metric, we found some significant evidence to suggest thatCOVID-19 was the direct cause of the movements on the studied markets. Thisimplies the importance of the inclusion of COVID-19โ€™s cases and deaths (and anyCOVID-19โ€™s directly related policies) in price- and/or volatility-forecasting financialmodels.

Full report: https://github.com/anitamezzetti/covid_impact_stocks_volatility/blob/main/fbd_covid_project.pdf

Main files:

File Name Description
tickers.py Ticker lists of the stocks for each country
stock_analysis_functions.py Contains all the functions needed for the stock EDA and the portfolio construction
StockPriceEDA.ipynb Stocks analysis
PortfolioConstruction.ipynb Portfolio construction from stocks returns
granger_causality_functions.py Contains all the functions to compute the Granger causality test
GrangerCausalityCovid.ipynb G-causality between COVID-19 daily new cases in different countries
GrangerCausalityStocks.ipynb G-causality between stocks returns for each country
GrangerCausalityCovidPotfolios.ipynb G-causality between COVID-19 daily new cases amd portfolio returns
CovidDataRetrieval.ipynb Retrieval of COVID-19's data on cases from Johns Hopkins (using proxy API) and univariate analysis of the evolution of cases
IntradayDataRetrieval.ipynb Retrieval of Intraday data from Dukascopy
RealisedVariance.ipynb Calculation of RVs by country using intraday data saved previously

covid_impact_stocks_volatility's People

Contributors

anitamezzetti avatar baohien97 avatar

Stargazers

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