huice/requirements.txt
Your Name e5dd5b5593 feat: 期货数据分析工具集 v2.0
## 核心功能
### 1. 成交量序列分析 (volume_price_sequence.py)
- 按累计成交量排序的价格趋势分析
- 三合一综合图表:价格序列+成交量分布+时间序列
- 关键价格水平自动标注

### 2. 成交量分布深度分析 (volume_distribution_analysis.py)
- 7种专业可视化图表
- 统计特征分析和分布拟合
- 交易模式识别和业务洞察

### 3. 大额订单分析工具集 (large_orders/)
- 买1/卖1量大单分析 (阈值99)
- 买卖挂单合计分析 (阈值200)
- 当前成交量分析 (阈值150)
- 信号抑制优化算法 (38%抑制率)

## 技术特性
- 信号抑制算法:有效减少重复信号干扰
- 多维度分析:支持多种信号类型
- 专业可视化:四宫格综合分析图
- 业务洞察:基于数据的交易建议

## 分析结果
- 卖1量大单:短期下跌,长期大幅上涨反转
- 买挂合计:各时间窗口小幅正收益
- 信号抑制:短期收益从-0.0778提升至+0.1347

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-02 15:15:53 +08:00

109 lines
2.5 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# AU2512期货成交量-成交价序列分析工具 - 依赖包列表
## 环境信息
- **Python版本**: 3.7+
- **更新日期**: 2025-11-02
- **工具类型**: 期货数据可视化分析
## 核心依赖包
### 数据处理和数值计算
```
pandas>=1.3.0
numpy>=1.20.0
```
### 数据可视化
```
matplotlib>=3.3.0
```
## 快速安装
### 方法1: 直接安装核心依赖
```bash
pip install pandas numpy matplotlib
```
### 方法2: 使用requirements.txt文件
```bash
pip install -r requirements.txt
```
### 方法3: 使用国内镜像源(推荐)
```bash
pip install pandas numpy matplotlib -i https://pypi.tuna.tsinghua.edu.cn/simple
```
## 验证安装
创建简单的验证脚本:
```python
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
print("✅ 核心依赖包验证通过")
print(f"pandas: {pd.__version__}")
print(f"numpy: {np.__version__}")
print(f"matplotlib: {plt.__version__}")
```
运行验证:
```bash
python -c "import pandas as pd, numpy as np, matplotlib.pyplot as plt; print('✅ 依赖包验证通过')"
```
## 项目说明
### 技术栈精简
- **pandas**: 数据处理和分析
- **numpy**: 数值计算基础
- **matplotlib**: 静态数据可视化
### 功能专注
本项目专注于成交量-成交价序列分析,相比复杂的多功能工具,具有以下优势:
- ✅ 安装简单,依赖最少
- ✅ 专注核心功能,易于维护
- ✅ 运行快速,资源占用少
- ✅ 学习成本低,易于使用
### 可选依赖(非必需)
如果需要额外功能,可以选择性安装:
```bash
# 支持更多数据格式
pip install pyarrow openpyxl
# 增强统计分析
pip install scipy
# 交互式可视化
pip install seaborn plotly
```
## 故障排除
### 常见问题
1. **中文字体问题**: 确保系统安装了中文字体如Microsoft YaHei、SimHei等
2. **编码问题**: 在Windows上建议使用UTF-8编码环境
3. **权限问题**: 使用适当的权限安装包
### 国内用户推荐
使用国内镜像源提高下载速度:
```bash
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
```
## 版本兼容性
| Python版本 | pandas | numpy | matplotlib |
|------------|---------|--------|------------|
| 3.7+ | >=1.3.0 | >=1.20.0 | >=3.3.0 |
| 3.8+ | >=1.4.0 | >=1.21.0 | >=3.4.0 |
| 3.9+ | >=1.5.0 | >=1.22.0 | >=3.5.0 |
| 3.10+ | >=1.6.0 | >=1.23.0 | >=3.6.0 |
| 3.11+ | >=2.0.0 | >=1.24.0 | >=3.7.0 |
---
**注意**: 本项目采用最小依赖原则,只包含核心功能所需的基础包,确保工具的简洁性和可靠性。