feat: 完善 QMT 交易模块文档和配置展示功能

- 优化前端仪表盘界面
- 添加配置文件可视化展示
- 编写 QMT 模块配置文档
- 完善项目规则体系(KiloCode)
This commit is contained in:
2026-01-27 00:52:35 +08:00
parent 50ee1a5a0a
commit 4607555eaf
31 changed files with 5248 additions and 8621 deletions

View File

@@ -78,88 +78,6 @@ from .momentum_factors import (
VolatilityFactor,
MomentumFactor,
MomentumAcceleration,
TrendEfficiency
TrendEfficiency,
SimpleVolatilityFactor
)
# 导入统一因子计算模块
from .all_factors import calculate_all_factors, compute_factors
# 导入算子框架
from .operator_framework import StockWiseFactor, DateWiseFactor, FactorGraph
# 定义所有因子类的列表,便于统一管理
ALL_STOCK_FACTORS = [
SMAFactor,
EMAFactor,
ATRFactor,
OBVFactor,
MACDFactor,
RSI_Factor,
LGFlowFactor,
FlowIntensityFactor,
FlowDivergenceFactor,
FlowStructureFactor,
FlowAccelerationFactor,
ChipConcentrationFactor,
ChipSkewnessFactor,
FloatingChipFactor,
CostSupportFactor,
WinnerPriceZoneFactor,
SentimentPanicGreedFactor,
SentimentBreadthFactor,
SentimentReversalFactor,
PriceDeductionFactor,
PriceDeductionRatioFactor,
CashflowToEVFactor,
BookToPriceFactor,
DebtToEquityFactor,
ProfitMarginFactor,
LimitFactor,
VolumeRatioFactor,
BBI_RATIO_FACTOR,
VolatilitySlopeFactor,
PriceVolumeTrendFactor
]
ALL_DATE_FACTORS = [
CrossSectionalRankFactor,
IndustryMomentumFactor,
MarketBreadthFactor,
SectorRotationFactor
]
__all__ = [
# 技术指标因子
'SMAFactor', 'EMAFactor', 'ATRFactor', 'OBVFactor', 'MACDFactor', 'RSI_Factor',
# 资金流因子
'LGFlowFactor', 'FlowIntensityFactor', 'FlowDivergenceFactor',
'FlowStructureFactor', 'FlowAccelerationFactor',
# 筹码分布因子
'ChipConcentrationFactor', 'ChipSkewnessFactor', 'FloatingChipFactor',
'CostSupportFactor', 'WinnerPriceZoneFactor',
# 市场情绪因子
'SentimentPanicGreedFactor', 'SentimentBreadthFactor', 'SentimentReversalFactor',
'PriceDeductionFactor', 'PriceDeductionRatioFactor',
# 行业/横截面因子
'CrossSectionalRankFactor', 'IndustryMomentumFactor', 'MarketBreadthFactor',
'SectorRotationFactor',
# 财务因子
'CashflowToEVFactor', 'BookToPriceFactor', 'ROEFactor', 'DebtToEquityFactor',
'ProfitMarginFactor',
# 特殊因子
'LimitFactor', 'VolumeRatioFactor', 'BBI_RATIO_FACTOR',
'VolatilitySlopeFactor', 'PriceVolumeTrendFactor',
# 统一因子计算
'calculate_all_factors', 'compute_factors', 'get_available_stock_factors', 'get_available_date_factors',
# # 算子框架
# 'StockWiseFactor', 'DateWiseFactor'
]