📰 What's NEW! ✨
Recent released features
| Feature | Status |
|---|---|
| Data ETL pipeline | 🔨Released on Nov 3, 2024 |
| Parameter tuning by optuna | 🔨Released on Oct 23, 2024 |
| Release Frozen v3.0.0 | 📈Released on Sep 15, 2024 |
| Integrate Qlib machine learning extension | 📈Released on Aug 20, 2024 |
| ETF backtest engine | 📈Released on Jul 21, 2024 |
| Factor database | 🔨Released on Jun 29, 2024 |
| Release Frozen v2.6.0 | 📈Released on Jun 13, 2024 |
| DuckDB support for data module | 📈Released on May 14, 2024 |
| 3D-GPlearn factor mining extension | :octocat: Released on Apr 7, 2024 |
| Integrate Qlib factor expression engine | 📈Released on Feb 25, 2024 |
| Factor expression engine | 🔨Released on Feb 17, 2024 |
| Parallel computation example | 🔨Released on Jan 14, 2024 |
| Release Frozen v2.0.0 | 📈Released on Dec 18, 2023 |
| Release Frozen v1.0.0 | 📈Released on Apr 24 2023 |
Frozen is an advanced factor-driven quantitative research platform, powered by a sophisticated event-driven backtesting engine and cutting-edge portfolio optimization engine. The framework aims to seamlessly integrate data processing, research analytics, back-testing, and live-trading into a unified pipeline, while standardizing factor research procedures through a systematic and rigorous approach.
The framework covers the entire chain of quantitative investment: alpha seeking, risk modeling, portfolio optimization, and order execution, enabling researchers and practitioners to efficiently transform their investment hypotheses into implementable strategies. With Frozen's robust architecture and intuitive interface, users can rapidly prototype, validate, and deploy sophisticated quantitative investment strategies with institutional-grade reliability. For more details, please refer to project website
| Frameworks, Tutorial, Data & DevOps | Solutions in Auto Quant Research |
|---|---|
|
|
|
Plans
New features under development (order by estimated release time).
Framework of Frozen
Quick Start
This quick start guide tries to demonstrate
- It's very easy to build a complete Quant research workflow and try your ideas with Frozen.
- Though with public data and simple models, traditional factors work very well in practical Quant investment.
Here is a quick demo shows how to install Frozen, and run Alpha101 strategy with frun. But, please make sure you have already prepared the data following the instruction.
Installation
This table demonstrates the supported Python version of Frozen:
| install with pip | install from source | Data ETL | |
|---|---|---|---|
| Python 3.9 | ✔️ | ✔️ | ❌ |
| Python 3.10 | ✔️ | ✔️ | ✔️ |
| Python 3.11 | ✔️ | ✔️ | ✔️ |
Note:
- Conda is suggested for managing your Python environment. In some cases, using Python outside of a
condaenvironment may result in missing header files, causing the installation failure of certain packages. - Python introduced match-case expression in version 3.10, which is incorporated in data ETL pipeline. Thus, for python 3.9, users will have to roll back manually to if-else expression.
Install with pip
Users can easily install Qlib by pip according to the following command.
pip install frozen
Note: pip will install the latest stable frozen. However, the main branch of frozen is in active development. If you want to test the latest scripts or functions in the main branch. Please install frozen with the methods below.
Install from source
Also, users can install the latest dev version Frozen by the source code according to the following steps:
-
It is recommended that users create a seperate environment for better management
# if you prefer to use virtual environment, uncomment the following # python -m venv .venv # source .venv/bin/activate # if you prefer to use conda environment, run below conda create -n frozen python=3.11
-
Before installing
Frozenfrom source, users need to install some dependencies:pip install numpy pip install --upgrade cython
-
Download the repository and install
Frozenas follows.pip install . # `pip install -e .[dev]` is recommended for development.
Note: You can install Frozen with
python setup.py installas well. But it is not the recommended approach. It will skippipand cause obscure problems. For example, only the commandpip install .can overwrite the stable version installed bypip install pyfrozen, while the commandpython setup.py installcan't.
Data Preparation
Factor Research Workflow
Paper reproduction
Factor Mining
Investment Strategy
Portfolio Optimization
Parameter Tuning
Auto Quant Research Workflow
Data ETL Pipeline
Workflow Orchestration
Frozen arrange workflow with Prefect
Scheduled Run
with cron
Automatic Signal Generation
Live Trading & Order Execution Algorithms
Interactive Visualization Tools
Real-Time Monitor Panel
with Grafana
Web UI Design
with Streamlit
Mobile App Design
with Flutter
# if you want to conduct ETL task flow orchestration
prefect config set PREFECT_API_URL="http://127.0.0.1:4200/api"
prefect server start
Metadata
Release files for frozen-quant 3.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| frozen_quant-3.2.2.tar.gz | 11.4 kB | Without provenance | Details for frozen_quant-3.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| frozen_quant-3.2.2-py3-none-any.whl | Python 3 | none | any | Details for frozen_quant-3.2.2-py3-none-any.whl |
Total release size: 18.6 kB
Release files / frozen_quant-3.2.2.tar.gz
| Download URL | frozen_quant-3.2.2.tar.gz |
|---|---|
| Size | 11.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
773726763b0edb533ea92741eed559ea615ff4698f65a5d54019ab4829918095
|
|
BLAKE2b-256 checksum How to use checksums |
25c11ed25b6ba0efe81ec081c59b63155e3ef971f25b6ef895ba9199b49cd421
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.10
|
Release files / frozen_quant-3.2.2-py3-none-any.whl
| Download URL | frozen_quant-3.2.2-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
931b26b9af2fd664972f0078c30edc12485ac5c5f1307f14abac5ffe3be3a915
|
|
BLAKE2b-256 checksum How to use checksums |
1b0ae8602f48aff343834e633411861ebf2888fcc2bc052a4e5dbac3f5a28965
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.10
|
Security for frozen-quant 3.2.2
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.