1.1 KiB
1.1 KiB
Quant Factor Research (QFR)
A lightweight, reproducible workspace for researching, backtesting, and evaluating quantitative equity factors.
Goals
- Factor definition library (cross-sectional / time-series)
- Data ingestion + caching
- Standardized preprocessing (winsorize, z-score, neutralization)
- IC / rank IC / turnover / decay analysis
- Simple backtests (long-short / top-k) with transaction cost hooks
Quickstart
- Create env (pick one)
-
Conda:
conda create -n qfr python=3.11 -yconda activate qfrpip install -r requirements.txt
-
venv:
python3 -m venv .venv && source .venv/bin/activatepip install -r requirements.txt- Note: some servers ship Python without ensurepip/venv support; you may need the OS package
python3-venv(root required).
- Run a smoke test
python -c "import qfr; print('ok')"
Layout
src/qfr/core librarynotebooks/research notebooksdata/raw/raw data (not committed)data/processed/derived data (not committed)configs/config templatesscripts/CLI utilities
Notes
- Keep secrets out of git. Use
.envlocally.