2025-11-29 00:23:12 +08:00
|
|
|
"""
|
|
|
|
|
因子模块初始化文件
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
# from .operator_framework import (
|
|
|
|
|
# StockWiseFactor,
|
|
|
|
|
# DateWiseFactor
|
|
|
|
|
# )
|
|
|
|
|
|
|
|
|
|
# 导入所有因子类
|
|
|
|
|
from .technical_factors import (
|
|
|
|
|
SMAFactor,
|
|
|
|
|
EMAFactor,
|
|
|
|
|
ATRFactor,
|
|
|
|
|
OBVFactor,
|
|
|
|
|
MACDFactor,
|
|
|
|
|
RSI_Factor,
|
|
|
|
|
CrossSectionalRankFactor
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
from .money_flow_factors import (
|
|
|
|
|
LGFlowFactor,
|
|
|
|
|
FlowIntensityFactor,
|
|
|
|
|
FlowDivergenceFactor,
|
|
|
|
|
FlowStructureFactor,
|
|
|
|
|
FlowAccelerationFactor,
|
|
|
|
|
CostSqueeze,
|
|
|
|
|
HighCostSelling,
|
|
|
|
|
LowCostAccumulation,
|
|
|
|
|
InstNetAccum,
|
|
|
|
|
ChipLockin,
|
|
|
|
|
RetailOutInstIn,
|
|
|
|
|
AccumAccel
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
from .chip_factors import (
|
|
|
|
|
ChipConcentrationFactor,
|
|
|
|
|
ChipSkewnessFactor,
|
|
|
|
|
FloatingChipFactor,
|
|
|
|
|
CostSupportFactor,
|
|
|
|
|
WinnerPriceZoneFactor
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
from .sentiment_factors import (
|
|
|
|
|
SentimentPanicGreedFactor,
|
|
|
|
|
SentimentBreadthFactor,
|
|
|
|
|
SentimentReversalFactor,
|
|
|
|
|
PriceDeductionFactor,
|
|
|
|
|
PriceDeductionRatioFactor,
|
|
|
|
|
IndustryMomentumLeadership,
|
|
|
|
|
LeadershipPersistenceScore,
|
|
|
|
|
DynamicIndustryLeadership
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
from .industry_factors import (
|
|
|
|
|
IndustryMomentumFactor,
|
|
|
|
|
MarketBreadthFactor,
|
|
|
|
|
SectorRotationFactor
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
from .financial_factors import (
|
|
|
|
|
CashflowToEVFactor,
|
|
|
|
|
BookToPriceFactor,
|
|
|
|
|
DebtToEquityFactor,
|
|
|
|
|
ProfitMarginFactor,
|
|
|
|
|
BMFactor
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
from .special_factors import (
|
|
|
|
|
LimitFactor,
|
|
|
|
|
VolumeRatioFactor,
|
|
|
|
|
BBI_RATIO_FACTOR,
|
|
|
|
|
VolatilitySlopeFactor,
|
|
|
|
|
PriceVolumeTrendFactor
|
|
|
|
|
)
|
|
|
|
|
from .momentum_factors import (
|
|
|
|
|
ReturnFactor,
|
|
|
|
|
VolatilityFactor,
|
|
|
|
|
MomentumFactor,
|
|
|
|
|
MomentumAcceleration,
|
2026-01-27 00:52:35 +08:00
|
|
|
TrendEfficiency,
|
|
|
|
|
SimpleVolatilityFactor
|
2025-11-29 00:23:12 +08:00
|
|
|
)
|