#125125th of 126 in Training and fine-tuningFor finance and business, trading, stocks and crypto, finance and accounting
alphagen
Reinforcement-learning miner for formulaic stock alpha factors, from a KDD 2023 paper
Watch puts alphagen on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.alphagen is on your watch list. Its new releases and problems show there.
- Stars
- 1.3k
- License
- no license
- Last commit
- Jun 2026
- Language
- Python
1,070 on 2 May 20261,306 on 28 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
AlphaGen trains a maskable PPO agent with an LSTM feature extractor to generate formulaic alphas and combine them into a linearly weighted pool, scored by IC and Rank IC against a target such as 20-day return. It includes gplearn and DSO baselines, LLM-driven iterative alpha generation scripts, and experimental Qlib-based backtests. Data comes from Qlib metadata plus baostock stock data, or a custom AlphaCalculator adapter.
Who it is for: Quant researchers mining formulaic alpha factors with RL
Strengths
- Reproduces a peer-reviewed KDD 2023 method, with a follow-up LLM-assisted variant (HARLA)
- Pluggable AlphaCalculator interface lets you use your own alpha evaluation pipeline
- Checkpoints are stable-baselines3 compatible; alpha pools saved as readable JSON
- Ships modified gplearn and DSO baselines for comparison
Weaknesses
- Research code: run via python -m scripts.NAME, with no packaged install or release
- Built-in pipeline needs Qlib metadata setup plus baostock data, which is China A-share focused
- No license file detected, so reuse terms are unclear
- Trading and backtest modules are labelled experimental
What it needs
- Needs Qlib, baostock, stable-baselines3, PyTorch, TensorBoard, gplearn, DSO
- Models: MaskablePPO with LSTM feature extractor, LLM clients (providers not stated)
Also in Training and fine-tuning
See all 126| Rank | Project | Score |
|---|---|---|
| #121 | distilabelPython framework for building synthetic data and AI feedback pipelines | 16 out of 100 |
| #122 | agentflowAgent system with an RL-trained planner, executor, verifier and generator | 15 out of 100 |
| #123 | gaussian-splatting-lightningPyTorch Lightning trainer and web viewer for 3D Gaussian Splatting scenes | 15 out of 100 |
| #124 | captcha_trainerTrains CNN+RNN+CTC image captcha recognition models with a GUI config tool | 14 out of 100 |
| #126 | doraOfficial PyTorch code for DoRA, a weight-decomposed alternative to LoRA fine-tuning | 13 out of 100 |