Skip to main content

Financial Research Data Services

Project description

FRDS

LICENSE

General purpose financial research data services.

Install

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

pip install frds

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

Configuration

The default config.ini is:

[Author]
name: Mingze Gao
email: mingze.gao@sydney.edu.au
institution: University of Sydney

[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.run

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

Example

The default measure is 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

Structure

Module Description
frds.data provides data access to various data vendors.
frds.ra the hard-working RA that does all the computation.
frds.measures the collection of measures to estimate.

Measures

Measure Description Datasets Used
tangibility Property, Plant and Equipment (Net) scaled by Assets (Total) wrds.funda
roa Income Before Extraordinary Items scaled by Assets (Total) wrds.funda
roe Income Before Extraordinary Items scaled by Common Equity (Total) wrds.funda
book leverage (Long-term Debt + Debt in Current Liabilities) / (Long-term Debt + Debt in Current Liabilities + Common Equity) wrds.funda

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

frds-0.1.6.tar.gz (13.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page