Discover and explore top open-source AI tools and projects—updated daily.
Quant finance library for factor research and production
Top 22.0% on SourcePulse
PandaFactor is a high-performance quantitative factor library designed for financial data analysis, technical indicator calculation, and factor construction. It caters to both quantitative traders with programming experience and those who prefer a formula-based approach, aiming to streamline the process of developing and utilizing alpha factors.
How It Works
The library supports two primary methods for factor creation: a Python-based object-oriented approach inheriting from a Factor
class and a formula-based syntax for simpler expressions. The Python method requires implementing a calculate
method that returns a Pandas Series with a multi-index of 'symbol' and 'date'. The formula method allows for complex expressions using built-in functions, operators, and intermediate variables, with the system evaluating the last line as the factor value. This dual approach offers flexibility and ease of use for different user skill levels.
Quick Start & Requirements
bin/db_start.bat
after extraction. For teams, clone the source and set up MongoDB, configuring panda_common/config.yaml
.panda_data.init()
and panda_data.get_factor_by_name()
.pip install -e .
in each submodule's directory in VS Code.Highlighted Details
Maintenance & Community
The project welcomes contributions via forks, issues, and pull requests. Community support and business inquiries can be directed through provided channels.
Licensing & Compatibility
Licensed under GPLV3. This license may impose copyleft restrictions, requiring derivative works to also be open-sourced under GPLV3, which could affect commercial use or integration into closed-source proprietary systems.
Limitations & Caveats
The project is actively integrating several data sources, with some listed as "testing" or "in progress," indicating potential instability or incomplete support for these sources. The GPLV3 license may present compatibility challenges for commercial, closed-source applications.
3 weeks ago
Inactive