Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions examples/targets/qmt/README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
| Profile | 输入 | 示例 target |
| --- | --- | --- |
| `cn_industry_etf_rotation` | `market_history` | `industry_etf_dry_run.example.json`(**主轨**) |
| `cn_industry_etf_rotation_aggressive` | `market_history` | `industry_etf_aggressive_dry_run.example.json`(**optional,vol25%**) |
| `cn_dividend_quality_snapshot` | `feature_snapshot` | `dividend_quality_dry_run.example.json` |

`cn_index_etf_tactical_rotation` 在策略 catalog 中为 **research_backtest_only**,不要放进 `strategy-profiles.example.json` 的 runtime 列表。
Expand Down
31 changes: 31 additions & 0 deletions examples/targets/qmt/industry_etf_aggressive_dry_run.example.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"$schema": "../../../schemas/runtime-target.schema.json",
"target_id": "qmt/industry_etf_aggressive_dry_run",
"description": "Optional QMT dry-run target for cn_industry_etf_rotation_aggressive (vol25% industry ETF rotation).",
"github": {
"repository": "QuantStrategyLab/QmtPlatform",
"variable_scope": "repository"
},
"runtime_target": {
"platform_id": "qmt",
"strategy_profile": "cn_industry_etf_rotation_aggressive",
"dry_run_only": true,
"deployment_selector": "qmt",
"account_selector": ["qmt"],
"account_scope": "CN",
"service_name": "qmt-quant-service",
"execution_mode": "dry_run",
"scheduler": {
"timezone": "Asia/Shanghai",
"main_time": "45 15 * * *",
"probe_time": "35 9,15 * * *",
"precheck_time": "45 9 * * *"
}
},
"plugin_mounts_variable": "QMT_STRATEGY_PLUGIN_MOUNTS_JSON",
"plugin_mounts": [],
"extra_variables": {
"QMT_DRY_RUN_ONLY": "true",
"QMT_MARKET_HISTORY_PATH": "data/fixtures/market_history.sample.csv"
}
}
1 change: 1 addition & 0 deletions scripts/build_runtime_switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
"hk_low_vol_dividend_quality_snapshot": HK_SNAPSHOT_SCHEDULER,
"cn_index_etf_tactical_rotation": CN_DAILY_SCHEDULER,
"cn_industry_etf_rotation": CN_DAILY_SCHEDULER,
"cn_industry_etf_rotation_aggressive": CN_DAILY_SCHEDULER,
"cn_dividend_quality_snapshot": CN_SNAPSHOT_SCHEDULER,
}
PLATFORM_DRY_RUN_VARIABLES = {
Expand Down
13 changes: 13 additions & 0 deletions web/strategy-switch-console/account-options.example.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,19 @@
"default_strategy_profile": "cn_industry_etf_rotation",
"supported_domains": ["cn_equity"]
},
{
"key": "industry_etf_aggressive_dry_run",
"label": "industry_etf_aggressive_dry_run",
"target_name": "industry_etf_aggressive_dry_run",
"variable_scope": "repository",
"deployment_selector": "qmt",
"account_selector": "qmt",
"account_scope": "CN",
"service_name": "qmt-quant-service",
"cash_currency": "CNY",
"default_strategy_profile": "cn_industry_etf_rotation_aggressive",
"supported_domains": ["cn_equity"]
},
{
"key": "dividend_quality_dry_run",
"label": "dividend_quality_dry_run",
Expand Down
8 changes: 8 additions & 0 deletions web/strategy-switch-console/strategy-profiles.example.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,14 @@
"domain": "cn_equity",
"runtime_enabled": true
},
{
"profile": "cn_industry_etf_rotation_aggressive",
"label": "CN Industry ETF Rotation Aggressive",
"label_en": "CN Industry ETF Rotation Aggressive",
"label_zh": "A股行业 ETF 轮动(Aggressive vol25%)",
"domain": "cn_equity",
"runtime_enabled": true
},
{
"profile": "cn_dividend_quality_snapshot",
"label": "CN Dividend Quality Snapshot",
Expand Down
2 changes: 1 addition & 1 deletion web/strategy-switch-console/strategy_profiles_asset.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading