Add modular docs with index, WeChat templates, and AI guide.
Document per-module order logic, risk rules, and WeChat message templates with a central INDEX for navigation. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
# 行情 K 线
|
||||
|
||||
**页面路径**:`/market`
|
||||
|
||||
**相关文件**:`market.py`、`kline_chart.py`、`templates/market.html`
|
||||
|
||||
---
|
||||
|
||||
## 功能概述
|
||||
|
||||
- 多周期 K 线图表(TradingView Lightweight Charts)
|
||||
- 品种选择与周期切换
|
||||
- CTP 连接后部分品种可获取更及时数据
|
||||
|
||||
须在 **系统设置 → 导航显示** 开启「行情 K 线」;关闭后直接访问 URL 会提示并跳回下单监控。
|
||||
|
||||
---
|
||||
|
||||
## 下单逻辑
|
||||
|
||||
**本板块无下单功能**,纯行情展示。
|
||||
|
||||
---
|
||||
|
||||
## 风控规则
|
||||
|
||||
无独立风控。不涉及报单、推送或账户状态变更。
|
||||
|
||||
---
|
||||
|
||||
## 微信推送
|
||||
|
||||
**无**。行情页不发送任何企业微信消息。
|
||||
|
||||
---
|
||||
|
||||
## 数据来源
|
||||
|
||||
| 优先级 | 来源 |
|
||||
|--------|------|
|
||||
| 1 | CTP tick/K 线(已连接时) |
|
||||
| 2 | 新浪 / 同花顺 iFinD(见 `QUOTE_SOURCE` 配置) |
|
||||
|
||||
合约代码格式见 [FEATURES.md](./FEATURES.md#合约代码格式)。
|
||||
|
||||
---
|
||||
|
||||
## 相关文档
|
||||
|
||||
- [FEATURES.md](./FEATURES.md)
|
||||
- [SETTINGS.md](./SETTINGS.md)
|
||||
Reference in New Issue
Block a user