Coder Social home page Coder Social logo

knolog / crosssectiondemos Goto Github PK

View Code? Open in Web Editor NEW

This project forked from opensourceap/crosssectiondemos

0.0 1.0 0.0 33 KB

Example code of simple things one can do with our open-source asset pricing data

License: GNU General Public License v3.0

R 100.00%

crosssectiondemos's Introduction

CrossSectionDemos

Example code of simple things one can do with Open Source Asset Pricing data, created with our open source code.

Each file is an independent script that automatically downloads data from the internet. You just need the googledrive R package and a Google Drive account.

List of Scripts

Scripts are listed from lightest / fastest (top) to heaviest / slowest (bottom).

File Description
plot_anomaly.R Downloads selected long-short returns and plots along with sample and publication dates
openap_vs_frenchweb.R Downloads BM and BMdec portfolios and compares to Ken French's data
daily_covid_demo.R Downloads daily returns (all signals) and plots performance in March 2020
FF1993_style_implementation.R Downloads selected characteristic, constructs Fama-French 1993 style factor (building on 2x3 sort with Size), compares with Ken French's HML
dl_signal_add_crsp.R Creates the data you need for machine learning stuff. Downloads all downloadable predictor characteristics (1.5 gigs zipped), downloads CRSP signals from WRDS, merges, and saves to disk (5.6 gig csv).

Details

  • Assumes working directory is the same folder the file is in.
  • Creates folder temp/ in working directory and puts output and intermediate files there

crosssectiondemos's People

Contributors

chenandrewy avatar opensourceap avatar

Watchers

James Cloos 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.