Skip to content

NotificationTemplate 模块文档

模块路径: FQBase.Core.notification_template源码: [notification_template.py](file:///Users/A.D.189/FQuant/FQuant.Server/FQBase/FQBase/Core/notification_template.py)

文档索引

文档说明
framework.md框架概述、核心特性、预设模板
architecture.md整体架构、组件架构、渲染流程
design.md设计决策与权衡
api.md详细 API 参考
usage.md使用指南、预设模板详情、量化交易场景
best-practices.md最佳实践

快速开始

python
from FQBase.Core.notification_template import NotificationTemplate

message = NotificationTemplate.render(
    'trade_signal',
    strategy='均值回归',
    code='000001',
    price=12.50,
    time='2024-01-15 10:30:00'
)