Skip to content
OpenAgentSkill
Browsing is open · Catalog captured 2026-11-21 · Automatic updates and account services are paused.
Productivity

qmt-bridge-event-calendar

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

atorber · AI review on file

Installation

Read the source and dependencies before running a command. Copying does not install or execute anything.

npx skills add atorber/qmt-trading-skill --skill qmt-bridge-event-calendar

About this skill


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

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/)