Files
qihuo/docs/MARKET.md
T
dekun 169136dd4a 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>
2026-06-28 10:49:10 +08:00

52 lines
986 B
Markdown
Raw 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.
# 行情 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)