@dshtrading/hk 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/preset/hk-trader/agent.cordis.yml +16 -0
- package/cordis.patch.yml +7 -0
- package/lib/index.js +1 -1
- package/package.json +7 -6
|
@@ -57,6 +57,8 @@
|
|
|
57
57
|
name: '@dshtrading/connector-futu'
|
|
58
58
|
config:
|
|
59
59
|
enabled: true
|
|
60
|
+
# OpenD 原生 11111 是 TCP protobuf;HTTP 契约走 scripts/futu-openapi-bridge.py(11112)
|
|
61
|
+
gatewayUrl: 'http://127.0.0.1:11112'
|
|
60
62
|
dryRun: true
|
|
61
63
|
liveTrading: false
|
|
62
64
|
|
|
@@ -74,6 +76,20 @@
|
|
|
74
76
|
dryRun: true
|
|
75
77
|
liveTrading: false
|
|
76
78
|
|
|
79
|
+
# 东财港股面(2026-09-08):trends2 分时 + kline 分钟/日 K 已实证(spikes/impl-eastmoney-hk/),
|
|
80
|
+
# 弥补腾讯公开端港股分钟线全不支持的缺口;routeAllows 按路由裁决,仅 hk.provider=eastmoney 时激活。
|
|
81
|
+
- id: dsh-trading-hk-connector-eastmoney-group
|
|
82
|
+
name: cordis:group
|
|
83
|
+
group: true
|
|
84
|
+
isolate:
|
|
85
|
+
tradingHkMarketData: true
|
|
86
|
+
config:
|
|
87
|
+
- id: dsh-trading-hk-connector-eastmoney
|
|
88
|
+
name: '@dshtrading/connector-eastmoney'
|
|
89
|
+
config:
|
|
90
|
+
enabled: true
|
|
91
|
+
market: hk
|
|
92
|
+
|
|
77
93
|
- id: dsh-trading-hk-connector-tiger-group
|
|
78
94
|
name: cordis:group
|
|
79
95
|
group: true
|
package/cordis.patch.yml
CHANGED
|
@@ -28,6 +28,13 @@
|
|
|
28
28
|
name: '@dshtrading/connector-futu/dataplane'
|
|
29
29
|
config:
|
|
30
30
|
enabled: true
|
|
31
|
+
# OpenD 原生 11111 是 TCP protobuf;HTTP 契约走 scripts/futu-openapi-bridge.py(11112)
|
|
32
|
+
gatewayUrl: 'http://127.0.0.1:11112'
|
|
33
|
+
- id: dsh-trading-hk-dataplane-eastmoney
|
|
34
|
+
name: '@dshtrading/connector-eastmoney/dataplane'
|
|
35
|
+
config:
|
|
36
|
+
enabled: true
|
|
37
|
+
market: hk
|
|
31
38
|
- id: dsh-trading-hk-dataplane-longbridge
|
|
32
39
|
name: '@dshtrading/connector-longbridge/dataplane'
|
|
33
40
|
config:
|
package/lib/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import Schema from "@deepseek-ai/schemastery";
|
|
|
5
5
|
const name = "dsh-trading-hk-installer";
|
|
6
6
|
const Config = Schema.object({ presetRoot: Schema.string() });
|
|
7
7
|
async function getPresetContribution() {
|
|
8
|
-
const asset = await readFile(new URL("../assets/preset/hk-trader/agent.cordis.yml", import.meta.url), "utf8");
|
|
8
|
+
const asset = (await readFile(new URL("../assets/preset/hk-trader/agent.cordis.yml", import.meta.url), "utf8")).replace(/\r\n/g, "\n");
|
|
9
9
|
const start = asset.indexOf("- id: dsh-trading-hk-connector-group\n");
|
|
10
10
|
if (start < 0) throw new Error("Missing hk capability rows");
|
|
11
11
|
return {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dshtrading/hk",
|
|
3
3
|
"description": "HK (Hong Kong) market bundle for dsh-trading: host-plane hk-trader preset installer + insert-only aggregation of the Tencent connector (market=hk instance) and hk kit rows (design rule #1)",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.6",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"types": "./lib/index.d.ts",
|
|
@@ -25,11 +25,12 @@
|
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@dshtrading/connector-futu": "0.1.
|
|
29
|
-
"@dshtrading/connector-
|
|
30
|
-
"@dshtrading/connector-
|
|
31
|
-
"@dshtrading/
|
|
32
|
-
"@dshtrading/connector-tiger": "0.1.
|
|
28
|
+
"@dshtrading/connector-futu": "0.1.6",
|
|
29
|
+
"@dshtrading/connector-eastmoney": "0.1.6",
|
|
30
|
+
"@dshtrading/connector-longbridge": "0.1.6",
|
|
31
|
+
"@dshtrading/connector-tencent": "0.1.6",
|
|
32
|
+
"@dshtrading/connector-tiger": "0.1.6",
|
|
33
|
+
"@dshtrading/kit-hk": "0.1.6"
|
|
33
34
|
},
|
|
34
35
|
"peerDependencies": {
|
|
35
36
|
"@deepseek-ai/cordis": ">=4.0.0",
|