A share xgboost screen

From aifinlab/FinClaw · View interactive version

A share xgboost screen is an AI agent skill from the GitHub repository aifinlab/FinClaw. A股XGBoost选股/梯度提升模型。当用户说"XGBoost"、"GBDT"、"梯度提升"、"LightGBM选股"、"树模型选股"、"XGB"、"机器学习选股"时触发。基于 cn-stock-data 获取数据,构建XGBoost/LightGBM选股模型。支持 formal/brief 两种输出风格。

How to use this skill

Skill file

XGBoost选股/梯度提升模型助手

数据获取

通过 cn-stock-data skill 获取数据:

分析工作流

Step 1: 特征准备

Step 2: 模型训练

Step 3: 特征重要性分析

Step 4: 选股信号生成

Step 5: 输出报告

输出格式

formal 风格(研报级)

# XGBoost选股报告

## 一、模型概览
| 参数 | 设置 |
|------|------|

## 二、特征重要性
[Top10特征及SHAP值]

## 三、选股表现
[IC/多空收益/分组单调性]

## 四、本期选股
[Top股票列表与预测分数]

brief 风格(快速分析)

## XGBoost选股速览
- LightGBM,85个特征
- IC=0.042, ICIR=1.6
- Top特征:20日动量、ROE变化、换手率
- 本期Top10:[股票列表]

参考 references/xgboost-screen-guide.md 获取详细方法论与 A股实证研究。

使用示例

示例 1: 基本使用

# 调用 skill
result = run_skill({
    "param1": "value1",
    "param2": "value2"
})

示例 2: 命令行使用

python scripts/run_skill.py --input data.json
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.