CharlesJ-ABu/FactorMiner
About
A local Python workbench for mining, evaluating and archiving factors on historical crypto data. Run GP, RL, LLM and neural network experiments via the CLI or web UI. | 本地 Python 量化研究工作台,基于加密资产历史行情挖掘、评估和归档因子,通过命令行或网页运行遗传规划、强化学习、大语言模型和神经网络实验。
Learning & EducationWhat you can do
- 🧬 Four extensible mining paradigms: GP, RL, LLM, and NN all produce FactorExpression objects. Extend them with custom Miners, operators, and Fitness Hooks in user_workspace.
- ⚖️ Shared evaluation and traceable results: The evaluator calculates IC, RankIC, Turnover, and fitness. Each factor stores its logic, metrics, and provenance as metadata; NN factors also store weights and channel information.
- 🖥️ Research workbench and CLI: Dashboard summarizes actual task and factor records, Launchpad starts and tracks tasks, and Inspector reviews factor logic and lifecycle. The same execution engine is available through the CLI.
- 🧭 Standalone research Skills: Turn trading intuition into experiments that can be implemented in any framework. With FactorMiner, continue by generating configurations and user extensions, then reviewing actual results.
Measured star growth
- in 24h
- +1
- in 7 days
- +2
- in 15 days
- +5
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
docs/README.en.md
OriginalFactorMiner V4 documentation
FactorMiner is a local, single-user workbench for quantitative factor research. To run your first experiment, start with the product and installation guide. It covers the source checkout, configuration, a complete GP example, CLI and Web UI workflows, file management and known limits.
Architecture and requirements
| Document | What you will find |
|---|---|
| V4 architecture | The inversion-of-control design, data feeds, evaluation, storage for different factor types, and restoration of executable factors. Design examples are marked separately from implemented behavior. |
| Product requirements | Requirements and implementation status for GP, RL, NN and LLM mining, evaluation and research workflows. |
| Web UI requirements | Dashboard, Launchpad, Execution Console, Inspector and batch downloads. |
| V4 development checklist | A historical milestone and task list. For current behavior use the product guide. |
User guides
- Networking and optional proxies covers the local API, exchange connectivity and offline use.
- Custom LLM experiments describes
MyCustomLLM, environment variables, the independent recorder, headless runs and reports. - Writing a fitness hook explains the scoring signature, definitions of coverage and turnover, an executable example and error handling.
- Custom miners, operators and fitness hooks shows how to register extensions.
- Frontend setup and checks covers Node.js, Vite and the connection to the backend.
- Research skills introduces the research architect, task card, research protocol, evaluation cases and FactorMiner adapter.
- LLM factor guardrails review is the July 2026 engineering review, originally published in English.
V3 archive
These historical guides describe earlier versions of factorlib and its APIs. Use them to interpret old artifacts and compare designs. Use the V4 product guide for current installation and testing.
| Archived guide | Subject |
|---|---|
| V3 API reference | Historical endpoints and interfaces |
| Factor storage guide | V3 factor types, formats, example inventory and management operations |
| FactorLib directory layout | The split between technical indicators and mined factors |
| Simplified architecture | Migration to calling user functions directly |
| Storage API guide | Saving definitions, models, evaluations and mining sessions |
| User algorithm conventions | V3 metadata, algorithm entry points and validation |
Explore related projects
Loading…