A Fama/French Finance Factor Regression Analysis Toolkit.
Project description
f4ratk
A Fama/French Finance Factor Regression Analysis Toolkit.
The deployed project is provided at https://f4ratk.web.app.
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 -U 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file f4ratk-2023.1.tar.gz
.
File metadata
- Download URL: f4ratk-2023.1.tar.gz
- Upload date:
- Size: 36.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.1 Linux/6.1.0-13-amd64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 321c52b9118329055dc04bb5d4687792cb0a805d2fbe0a71087c46aaa343ff51 |
|
MD5 | a75add74c1af15a0bc2c19121924fb71 |
|
BLAKE2b-256 | 243e4f23959669aa0e803ec47de084250ca7fc8114b420cfe1af9a72ce0905dd |
File details
Details for the file f4ratk-2023.1-py3-none-any.whl
.
File metadata
- Download URL: f4ratk-2023.1-py3-none-any.whl
- Upload date:
- Size: 63.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.1 Linux/6.1.0-13-amd64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdc9bfb553639ed3479325966289ea3986a3367b8b99e6d140b71a7ba240992b |
|
MD5 | 541783278f0e1c846731e30f0277de02 |
|
BLAKE2b-256 | 375eb94922707dd9325fcdaca5ef6d077314ddf6a19c828fe6d33aff24f9cbc8 |