Giter Club home page Giter Club logo

tidy_finance's Introduction

title author date output
Tidy Finance in R
Christoph Scheuch, wikifolio Financial Technologies AG, Department of Data Science & Business Intelligence
Stefan Voigt, University of Copenhagen, Department of Economics and Danish Finance Institute
Patrick Weiss, Vienna University of Economics & Business, Department of Finance, Accounting & Statistics
`r Sys.Date()`
html_document
knitr::opts_chunk$set(echo = TRUE)

Introduction to Tidy Finance

+------------------------+-----------+------------------------+------------------------------------------------------+---------------+ | Section | Data | Finance | Data Science | Main Dev | +========================+===========+========================+======================================================+===============+ | Visualizing Stock Data | tidyquant | Prices + returns | RStudio + tidyverse | Stefan | +------------------------+-----------+------------------------+------------------------------------------------------+---------------+ | Efficient Frontier | tidyquant | Vola + diversification | group_by + summarise | Stefan | +------------------------+-----------+------------------------+------------------------------------------------------+---------------+ | Outlook & Conventions | - | | Project management, importance of coding conventions | Christoph (?) | +------------------------+-----------+------------------------+------------------------------------------------------+---------------+

Accessing & Managing Financial Data

+------------------------------+---------------+---------------------------+------------------+-----------------------+ | Section | Data / Access | Finance | Data Science | Main Dev | +==============================+===============+===========================+==================+=======================+ | Downloading Fama-French Data | French | | frenchdata | Christoph | +------------------------------+---------------+---------------------------+------------------+-----------------------+ | Setting-Up a Database | - | - | RSQlite, dbplyr | Christoph | +------------------------------+---------------+---------------------------+------------------+-----------------------+ | Accessing WRDS | WRDS | | odbc, PostgreSQL | Christoph | +------------------------------+---------------+---------------------------+------------------+-----------------------+ | Preparing CRSP | WRDS | CRSP summary | | Christoph | +------------------------------+---------------+---------------------------+------------------+-----------------------+ | Merging CRSP & Compustat | WRDS | Fama-French matching | | Christoph | +------------------------------+---------------+---------------------------+------------------+-----------------------+ | Preparing Compustat | WRDS | Main compustat variables | | Christoph | +------------------------------+---------------+---------------------------+------------------+-----------------------+ | Preparing TRACE | WRDS | Cleaning bond data | tbd | Not for first version | +------------------------------+---------------+---------------------------+------------------+-----------------------+ | Preparing ESG data | ? | ESG efficient portfolios? | tbd | Not for first version | +------------------------------+---------------+---------------------------+------------------+-----------------------+

Tidy Asset Pricing

+--------------------------------+---------------------------+------------------------------+-----------------------------------------------------------+-----------------------+ | Section | Data | Finance | Data Science | Remarks / Main Dev | +================================+===========================+==============================+===========================================================+=======================+ | Beta | CRSP + French | Stock beta | Rolling window estimation; many models (nest); multidplyr | Christoph | +--------------------------------+---------------------------+------------------------------+-----------------------------------------------------------+-----------------------+ | Univariate Portfolio Sorts | CRSP + French | Newey-West SEs | Functions + curly curly + map | Patrick | | | | | | | | | | Different Sorting Approaches | | | | | | | | | | | | Number of Portfolios | | | +--------------------------------+---------------------------+------------------------------+-----------------------------------------------------------+-----------------------+ | Size | CRSP + French | | | Patrick | +--------------------------------+---------------------------+------------------------------+-----------------------------------------------------------+-----------------------+ | Bivariate Portfolio Sorts | CRSP + French + Compustat | | | Patrick | +--------------------------------+---------------------------+------------------------------+-----------------------------------------------------------+-----------------------+ | Value | CRSP + French + Compustat | | | Patrick | +--------------------------------+---------------------------+------------------------------+-----------------------------------------------------------+-----------------------+ | Fama-MacBeth Regressions | CRSP + French | | Functions + many models | Patrick | +--------------------------------+---------------------------+------------------------------+-----------------------------------------------------------+-----------------------+ | The Fama-French 3-Factor Model | CRSP + French + Compustat | | | Patrick | +--------------------------------+---------------------------+------------------------------+-----------------------------------------------------------+-----------------------+ | Conditional Betas | | | | Not for first version | +--------------------------------+---------------------------+------------------------------+-----------------------------------------------------------+-----------------------+ | Profitability | CRSP + French + Compustat | | | Not for first version | +--------------------------------+---------------------------+------------------------------+-----------------------------------------------------------+-----------------------+ | Investment | CRSP + French + Compustat | | | Not for first version | +--------------------------------+---------------------------+------------------------------+-----------------------------------------------------------+-----------------------+ | The Fama-French 5-Factor Model | CRSP + French + Compustat | | | Not for first version | +--------------------------------+---------------------------+------------------------------+-----------------------------------------------------------+-----------------------+ | Q-Factors | Q-Factos + French | | | Not for first version | +--------------------------------+---------------------------+------------------------------+-----------------------------------------------------------+-----------------------+

Tidy Modeling & Machine Learning

+-------------------------------------+-------------------------------------+------------------------------------+--------------+-----------------------+ | Section | Data | Finance | Data Science | Remarks / Main Dev | +=====================================+=====================================+====================================+==============+=======================+ | Firm Characteristics vs. Factors | https://dachxiu.chicagobooth.edu/ | Difference to factor models | tidymodels | Not for first version | +-------------------------------------+-------------------------------------+------------------------------------+--------------+-----------------------+ | Shrinkage Estimation | http://www.hec.unil.ch/agoyal/ | Factor selection | tidymodels | Stefan | | | | | | | | | | | glmnet | | +-------------------------------------+-------------------------------------+------------------------------------+--------------+-----------------------+ | Regression Trees and Random Forests | FF Industry | Factor selection | tidymodels | Stefan | | | | | | | | | Goyal-Welch | | | | +-------------------------------------+-------------------------------------+------------------------------------+--------------+-----------------------+ | Neural Networks | Simulations | Option Pricing | keras | Stefan | +-------------------------------------+-------------------------------------+------------------------------------+--------------+-----------------------+ | Alpha Estimation | Simulations | Market timing vs stock selectivity | Manual GMM | Christoph | +-------------------------------------+-------------------------------------+------------------------------------+--------------+-----------------------+ | Text Sentiment | | | | Christoph | +-------------------------------------+-------------------------------------+------------------------------------+--------------+-----------------------+

Tidy Portfolio Optimization

+---------------------------+------------+-------------------------------------------------+-------------------------------------+----------------------+ | Section | Data | Finance | Data Science | Remarks / Main Dev | +===========================+============+=================================================+=====================================+======================+ | Modern Portfolio Theory | CRSP | Intro to Markowitz | Numerical optimization | Stefan | +---------------------------+------------+-------------------------------------------------+-------------------------------------+----------------------+ | | | Parametric Portfolio Choice: Brandt-Santa Clara | More optimization? | Stefan | +---------------------------+------------+-------------------------------------------------+-------------------------------------+----------------------+ | Covariance Estimation | CRSP | - ARCH / GARCH | rmgarch | Not in first edition | | | | | | | | | | - Ledoit-Wolf Shrinkage | rugarch | | | | | | | | | | | - Multivariate Dynamic Volatility | fable (?) / garchmodels(?) | | +---------------------------+------------+-------------------------------------------------+-------------------------------------+----------------------+ | Transaction Costs | CRSP | | | Stefan | +---------------------------+------------+-------------------------------------------------+-------------------------------------+----------------------+ | Merton's Porfolio Problem | - | Intro to continuous time finance | Intro to reinforcement / Q-learning | Too hard with only R | +---------------------------+------------+-------------------------------------------------+-------------------------------------+----------------------+

tidy_finance's People

Contributors

christophscheuch avatar matixr avatar patrick-weiss avatar voigtstefan 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.