getFamaFrenchFactors
This programme gets data for fame french factors from the Kenneth French library and returns it as a pandas dataframe.
Installation
Run the following to install:
pip install getFamaFrenchFactors
Usage
Factors can be extracted in monthly ('m') and annual ('a') frequencies. The default is monthly.
import getFamaFrenchFactors as gff
# Get the Fama French 3 factor model (monthly data)
df_ff3_monthly = gff.famaFrench3Factor(frequency='m')
# Get the Fama French 3 factor model (annual data)
df_ff3_annual = gff.famaFrench3Factor(frequency='a')
Other options:
- Momentum factor: momentumFactor()
- Carhart 4 factor: carhart4Factor()
- Fama French 5 factor: famaFrench5Factor()
Release files for getFamaFrenchFactors 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| getFamaFrenchFactors-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Release files / getFamaFrenchFactors-0.0.5-py3-none-any.whl
| Download URL | getFamaFrenchFactors-0.0.5-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
abd8b5b17edaa6a47a656ba106bd9d6bb6c25e2c5ba398f9921f102ea40802ae
|
|
BLAKE2b-256 checksum How to use checksums |
7f0b64fe98112fed6a7554cb1cdab17ca115803f7c7e39da5c8c5d707045741b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.13.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8
|