Skip to main content

A Fama/French Finance Factor Regression Analysis Toolkit.

Project description

F4RATK

Version: PyPi Python Version: PyPi License: AGPL Build Status: Azure Coverage: Azure Downloads: PyPi

A Fama/French Finance Factor Regression Analysis Toolkit.

Here be dragons

This project is experimental: it does not provide any guarantees and its results are not rigorously tested. It should not be used by itself as a basis for decision‐making.

If you would like to join, please see CONTRIBUTING for guidelines.

Features

The following lists some main use cases, this software can assist you.

  • Analyze stock quotes of a ticker symbol.
  • Analyze arbitrary performance data from file.
  • Display historic factor returns.
  • Estimate excess returns based on regression results.

Quickstart

Installation

Obtain the latest released version of F4RATK using pip:

pip install f4ratk

Usage

Run the program to see an interactive help. Note that each listed command also provides an individual help.

f4ratk --help

Usage: f4ratk [OPTIONS] COMMAND [ARGS]...

Options:
  -v, --verbose  Increase output verbosity.
  --about        Display program information and exit.
  --help         Show this message and exit.

Commands:
  convert    Convert files to the 'file' command format.
  file       Analyze a CSV file.
  history    Display historic factor returns.
  portfolio  Analyze a portfolio file.
  ticker     Analyze a ticker symbol.

Adjust the program arguments according to your problem. Then run your regression analysis similar to the following.

Examples

f4ratk ticker USSC.L US USD
f4ratk file ./input.csv DEVELOPED EUR PRICE --frequency=MONTHLY

License

This project is licensed under the GNU Affero General Public License version 3 (only). See LICENSE for more information and COPYING for the full license text.

Notice

Based on the works of Rand Low and DD.

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

F4RATK-2021.2.tar.gz (29.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

F4RATK-2021.2-py3-none-any.whl (49.2 kB view details)

Uploaded Python 3

File details

Details for the file F4RATK-2021.2.tar.gz.

File metadata

  • Download URL: F4RATK-2021.2.tar.gz
  • Upload date:
  • Size: 29.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for F4RATK-2021.2.tar.gz
Algorithm Hash digest
SHA256 ba31a2f89df0772b34ea3a084366ff17b5599c25b0ba09efafd8389ba1173f5a
MD5 073e0bd9d86155a77816ffac0f54a468
BLAKE2b-256 495d89eefe2a3fbbcb0623c83a182456c6014c06026f1f29f0d8c403881bd0f6

See more details on using hashes here.

File details

Details for the file F4RATK-2021.2-py3-none-any.whl.

File metadata

  • Download URL: F4RATK-2021.2-py3-none-any.whl
  • Upload date:
  • Size: 49.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for F4RATK-2021.2-py3-none-any.whl
Algorithm Hash digest
SHA256 814f75ee8d64fbad327ffe208a82f8bd6fba01ea0e8df152b99b7fc927136b5c
MD5 9ec74824cd68b32994591ebdf9daa41d
BLAKE2b-256 e595cdcc501365b4b502f58c59c7bad3f723fb99fb115c7435a16d0510be547b

See more details on using hashes here.

Supported by

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