Skip to content

Commit 720ba26

Browse files
Pigbibicodex
andauthored
[codex] clarify QSL architecture role (#13)
* docs: clarify QSL architecture role Co-Authored-By: Codex <noreply@openai.com> * ci: respect internal dependency pins Co-Authored-By: Codex <noreply@openai.com> * ci: keep qmt dependency refs pinned Co-Authored-By: Codex <noreply@openai.com> --------- Co-authored-by: Codex <noreply@openai.com>
1 parent 5f8e667 commit 720ba26

3 files changed

Lines changed: 20 additions & 14 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,26 +20,14 @@ jobs:
2020
id: quant-platform-kit-ref
2121
run: |
2222
set -euo pipefail
23-
ref="main"
24-
for candidate in "${GITHUB_HEAD_REF:-}" "${GITHUB_BASE_REF:-}"; do
25-
if [ -n "$candidate" ] && git ls-remote --exit-code --heads https://github.com/QuantStrategyLab/QuantPlatformKit.git "$candidate" >/dev/null 2>&1; then
26-
ref="$candidate"
27-
break
28-
fi
29-
done
23+
ref="$(grep -Eo 'QuantPlatformKit\.git@[0-9a-f]+' pyproject.toml | head -n1 | sed 's/.*@//')"
3024
echo "ref=${ref}" >> "$GITHUB_OUTPUT"
3125
3226
- name: Resolve CnEquityStrategies ref
3327
id: cn-equity-strategies-ref
3428
run: |
3529
set -euo pipefail
36-
ref="main"
37-
for candidate in "${GITHUB_HEAD_REF:-}" "${GITHUB_BASE_REF:-}"; do
38-
if [ -n "$candidate" ] && git ls-remote --exit-code --heads https://github.com/QuantStrategyLab/CnEquityStrategies.git "$candidate" >/dev/null 2>&1; then
39-
ref="$candidate"
40-
break
41-
fi
42-
done
30+
ref="$(grep -Eo 'CnEquityStrategies\.git@[0-9a-f]+' pyproject.toml | head -n1 | sed 's/.*@//')"
4331
echo "ref=${ref}" >> "$GITHUB_OUTPUT"
4432
4533
- name: Resolve CnEquitySnapshotPipelines ref

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# QmtPlatform
22

3+
4+
## QSL architecture role
5+
6+
- **Layer**: `runtime-platform`.
7+
- **Responsibility**: QMT / miniQMT A-share execution runtime.
8+
- **Owns**: QMT runtime controls and A-share platform integration.
9+
- **Consumes**: CnEquityStrategies, CnEquitySnapshotPipelines artifacts, QuantPlatformKit, QuantRuntimeSettings.
10+
- **Must not**: own strategy research logic or publish snapshot artifacts.
11+
312
A-share quant platform layer for **miniQMT / QMT**, built on `QuantPlatformKit` and `CnEquityStrategies`.
413

514
Current scope is **dry-run first**: evaluate strategy targets and preview orders without submitting to the broker.

README.zh-CN.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# QmtPlatform
22

3+
4+
## QSL 架构角色
5+
6+
- **层级**`执行平台`
7+
- **职责**:QMT / miniQMT A 股执行运行时。
8+
- **事实源/归属**:QMT runtime 控制和 A 股平台集成。
9+
- **消费对象**:CnEquityStrategies、CnEquitySnapshotPipelines artifacts、QuantPlatformKit、QuantRuntimeSettings。
10+
- **禁止事项**:承载策略研究逻辑或发布 snapshot artifacts。
11+
312
A 股量化平台层,基于 `QuantPlatformKit``CnEquityStrategies` 构建,对接 **miniQMT / QMT**
413

514
当前范围为**仅干跑**:评估策略目标并预览订单,不向券商提交实盘。

0 commit comments

Comments
 (0)