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()
Metadata
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 | Actions Reset |
|---|---|---|---|---|
| getFamaFrenchFactors-0.0.5-py3-none-any.whl | Python 3 | none | any | Details for getFamaFrenchFactors-0.0.5-py3-none-any.whl |
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
|
Security for getFamaFrenchFactors 0.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.