Coder Social home page Coder Social logo

frds's Introduction

FRDS - Financial Research Data Services

LICENSE PyPIDownloads

frds is a Python framework that aims to provide the simplest way to compute a collection of major academic measures used in the finance literature, one-click with a Graphical User Interface (GUI).

GUI

Installation & Configuration

frds requires Python3.8 or higher. To install using pip:

$ pip install frds

After installation, a folder frds will be created under your user's home directory, which contains a data folder, a result folder and a default configuration file config.ini:

[Paths]
base_dir: ~/frds
data_dir: ${base_dir}/data
result_dir: ${base_dir}/result

[Login]
wrds_username: 
wrds_password: 

You need to enter your WRDS username and password under the login section.

Usage

To start estimating various measures, run frds as a module:

$ python -m frds.gui.run

Alternatively, run without GUI:

$ python -m frds.run

The output data will be saved as STATA .dta file in the result folder.

Example Output

Below is an example output for tangibility, defined as the Property, Plant and Equipment (Net) scaled by Assets (Total), estimated for all firms in the Compustat Fundamental Annual. The result dataset is saved in /result/Tangibility.dta.

result-tangibility

Supported Measures

Measure Description Datasets Used
tangibility Property, Plant and Equipment (Net) scaled by Assets (Total) wrds.comp.funda
roa Income Before Extraordinary Items scaled by Assets (Total) wrds.comp.funda
roe Income Before Extraordinary Items scaled by Common Equity (Total) wrds.comp.funda
book leverage (Long-term Debt + Debt in Current Liabilities) / (Long-term Debt + Debt in Current Liabilities + Common Equity) wrds.comp.funda
capital expenditure Capital Expenditures scaled by Assets (Total) wrds.comp.funda
market to book Market Value of Common Equity to Book Common Equity wrds.comp.funda
accounting restatement Number of various accounting restatements during the fiscal year wrds.comp.funda, wrds.audit.auditnonreli
executive ownership Executive stock ownership wrds.comp.funda, wrds.execcomp.anncomp

frds's People

Contributors

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