Qmt Bridge Event Calendar

通过 QMT Bridge 查询交易日历、节假日、交易时段,并支持用户自定义的财报/持仓事件检查规程。 在用户提到是否交易日、节假日、交易时间、财报日、日历时使用。只读。

Serennity007 Updated

File contents

QMT Trading Skill · 事件日历

实现状态:✅ calendar_check.py 可用

目标

交易与风控的时间上下文:是否可交易、下一交易日、用户自定义规则检查。

规划脚本

脚本 作用
scripts/calendar_check.py 今日是否交易日、上下交易日、当前是否在交易时段

主要 API

方法 路径 说明
GET /api/calendar/is_trading_date 是否交易日
GET /api/calendar/trading_dates 交易日列表
GET /api/calendar/holidays 节假日
GET /api/calendar/trading_period 交易时段
GET /api/calendar/prev_trading_date 上一交易日
GET /api/calendar/next_trading_date 下一交易日
GET /api/meta/last_trade_date 最近交易日

规程(规划)

  1. 输出日历结论(是/否交易日、时段)
  2. 用户规则(如「财报前一日减仓」)写在配置/对话,脚本只执行布尔检查并提示,不自动下单
  3. 可与 portfolio-risk 联动

安全

  • 只读

参考

  • [REST API](https://atorber.github.io/qmt-bridge/rest-api/)

Serennity007/qmt-trading-skill/tree/main/skills/qmt-bridge-event-calendar commit 2ab688d276

Frequently asked questions

npx skillmds@latest add serennity007/qmt-bridge-event-calendar