@dshtrading/client-ui-strategies 0.6.2 → 0.6.3
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/lib/client.js +55 -55
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -9984,30 +9984,30 @@ window.__ModuleLoader__.load({
|
|
|
9984
9984
|
document.head.appendChild(tag);
|
|
9985
9985
|
}
|
|
9986
9986
|
var StrategyEditor_module_css_default = {
|
|
9987
|
-
"paramRow": "_9mrMhW_paramRow",
|
|
9988
|
-
"addParamBtn": "_9mrMhW_addParamBtn",
|
|
9989
|
-
"panel": "_9mrMhW_panel",
|
|
9990
9987
|
"panelHeader": "_9mrMhW_panelHeader",
|
|
9991
|
-
"
|
|
9988
|
+
"sourceArea": "_9mrMhW_sourceArea",
|
|
9992
9989
|
"secondaryBtn": "_9mrMhW_secondaryBtn",
|
|
9990
|
+
"panel": "_9mrMhW_panel",
|
|
9991
|
+
"noticeError": "_9mrMhW_noticeError",
|
|
9992
|
+
"noticeOk": "_9mrMhW_noticeOk",
|
|
9993
|
+
"columnHeadRow": "_9mrMhW_columnHeadRow",
|
|
9994
|
+
"columnRow": "_9mrMhW_columnRow",
|
|
9995
|
+
"field": "_9mrMhW_field",
|
|
9996
|
+
"paramCell": "_9mrMhW_paramCell",
|
|
9997
|
+
"addParamBtn": "_9mrMhW_addParamBtn",
|
|
9998
|
+
"actionBar": "_9mrMhW_actionBar",
|
|
9999
|
+
"closeBtn": "_9mrMhW_closeBtn",
|
|
9993
10000
|
"overlay": "_9mrMhW_overlay",
|
|
9994
|
-
"
|
|
10001
|
+
"fieldLabel": "_9mrMhW_fieldLabel",
|
|
9995
10002
|
"fieldInput": "_9mrMhW_fieldInput",
|
|
9996
10003
|
"paramRemove": "_9mrMhW_paramRemove",
|
|
9997
|
-
"
|
|
9998
|
-
"
|
|
10004
|
+
"paramHeadRow": "_9mrMhW_paramHeadRow",
|
|
10005
|
+
"paramRow": "_9mrMhW_paramRow",
|
|
10006
|
+
"formGrid": "_9mrMhW_formGrid",
|
|
10007
|
+
"actionSpacer": "_9mrMhW_actionSpacer",
|
|
9999
10008
|
"panelTitle": "_9mrMhW_panelTitle",
|
|
10000
|
-
"sourceArea": "_9mrMhW_sourceArea",
|
|
10001
|
-
"fieldLabel": "_9mrMhW_fieldLabel",
|
|
10002
|
-
"noticeOk": "_9mrMhW_noticeOk",
|
|
10003
|
-
"noticeError": "_9mrMhW_noticeError",
|
|
10004
10009
|
"paramTable": "_9mrMhW_paramTable",
|
|
10005
|
-
"primaryBtn": "_9mrMhW_primaryBtn"
|
|
10006
|
-
"actionSpacer": "_9mrMhW_actionSpacer",
|
|
10007
|
-
"paramCell": "_9mrMhW_paramCell",
|
|
10008
|
-
"paramHeadRow": "_9mrMhW_paramHeadRow",
|
|
10009
|
-
"closeBtn": "_9mrMhW_closeBtn",
|
|
10010
|
-
"columnRow": "_9mrMhW_columnRow"
|
|
10010
|
+
"primaryBtn": "_9mrMhW_primaryBtn"
|
|
10011
10011
|
};
|
|
10012
10012
|
//#endregion
|
|
10013
10013
|
//#region src/client/ScreenerEditor.tsx
|
|
@@ -10460,47 +10460,47 @@ window.__ModuleLoader__.load({
|
|
|
10460
10460
|
document.head.appendChild(tag);
|
|
10461
10461
|
}
|
|
10462
10462
|
var StrategyView_module_css_default = {
|
|
10463
|
-
"
|
|
10464
|
-
"
|
|
10465
|
-
"
|
|
10466
|
-
"
|
|
10467
|
-
"
|
|
10463
|
+
"configBar": "jg958W_configBar",
|
|
10464
|
+
"horizonBtn": "jg958W_horizonBtn",
|
|
10465
|
+
"metricsGrid": "jg958W_metricsGrid",
|
|
10466
|
+
"metricCard": "jg958W_metricCard",
|
|
10467
|
+
"cardSummary": "jg958W_cardSummary",
|
|
10468
10468
|
"scanMeta": "jg958W_scanMeta",
|
|
10469
|
-
"cardActions": "jg958W_cardActions",
|
|
10470
|
-
"cardActionBtn": "jg958W_cardActionBtn",
|
|
10471
10469
|
"metricLabel": "jg958W_metricLabel",
|
|
10470
|
+
"cardTitle": "jg958W_cardTitle",
|
|
10471
|
+
"tableTitle": "jg958W_tableTitle",
|
|
10472
|
+
"tradesTable": "jg958W_tradesTable",
|
|
10473
|
+
"cardActions": "jg958W_cardActions",
|
|
10472
10474
|
"chartWrapper": "jg958W_chartWrapper",
|
|
10473
|
-
"
|
|
10474
|
-
"
|
|
10475
|
-
"
|
|
10476
|
-
"trendDown": "jg958W_trendDown",
|
|
10477
|
-
"paramInput": "jg958W_paramInput",
|
|
10478
|
-
"horizonSelector": "jg958W_horizonSelector",
|
|
10479
|
-
"metricCard": "jg958W_metricCard",
|
|
10475
|
+
"paramLabel": "jg958W_paramLabel",
|
|
10476
|
+
"progressWrap": "jg958W_progressWrap",
|
|
10477
|
+
"chartContainer": "jg958W_chartContainer",
|
|
10480
10478
|
"header": "jg958W_header",
|
|
10479
|
+
"paramGroup": "jg958W_paramGroup",
|
|
10480
|
+
"progressFill": "jg958W_progressFill",
|
|
10481
|
+
"tableSection": "jg958W_tableSection",
|
|
10482
|
+
"reasonCell": "jg958W_reasonCell",
|
|
10481
10483
|
"trendUp": "jg958W_trendUp",
|
|
10482
|
-
"metricsGrid": "jg958W_metricsGrid",
|
|
10483
10484
|
"mgmtRow": "jg958W_mgmtRow",
|
|
10485
|
+
"paramInput": "jg958W_paramInput",
|
|
10486
|
+
"symbolValue": "jg958W_symbolValue",
|
|
10487
|
+
"tradesTableWrapper": "jg958W_tradesTableWrapper",
|
|
10488
|
+
"horizonSelector": "jg958W_horizonSelector",
|
|
10489
|
+
"emptyState": "jg958W_emptyState",
|
|
10490
|
+
"cardBadge": "jg958W_cardBadge",
|
|
10484
10491
|
"emptyIcon": "jg958W_emptyIcon",
|
|
10485
|
-
"
|
|
10492
|
+
"nameCell": "jg958W_nameCell",
|
|
10493
|
+
"metricValue": "jg958W_metricValue",
|
|
10494
|
+
"trendDown": "jg958W_trendDown",
|
|
10495
|
+
"cardActionBtn": "jg958W_cardActionBtn",
|
|
10496
|
+
"root": "jg958W_root",
|
|
10486
10497
|
"errorMessage": "jg958W_errorMessage",
|
|
10487
|
-
"
|
|
10488
|
-
"symbolValue": "jg958W_symbolValue",
|
|
10489
|
-
"progressWrap": "jg958W_progressWrap",
|
|
10490
|
-
"paramLabel": "jg958W_paramLabel",
|
|
10498
|
+
"newStrategyBtn": "jg958W_newStrategyBtn",
|
|
10491
10499
|
"strategyCard": "jg958W_strategyCard",
|
|
10492
|
-
"tableTitle": "jg958W_tableTitle",
|
|
10493
|
-
"cardSummary": "jg958W_cardSummary",
|
|
10494
|
-
"configBar": "jg958W_configBar",
|
|
10495
|
-
"runBtn": "jg958W_runBtn",
|
|
10496
|
-
"horizonBtn": "jg958W_horizonBtn",
|
|
10497
|
-
"root": "jg958W_root",
|
|
10498
10500
|
"strategyCards": "jg958W_strategyCards",
|
|
10499
|
-
"
|
|
10500
|
-
"
|
|
10501
|
-
"
|
|
10502
|
-
"tradesTableWrapper": "jg958W_tradesTableWrapper",
|
|
10503
|
-
"newStrategyBtn": "jg958W_newStrategyBtn"
|
|
10501
|
+
"tableEmptyCell": "jg958W_tableEmptyCell",
|
|
10502
|
+
"runBtn": "jg958W_runBtn",
|
|
10503
|
+
"cardTitleRow": "jg958W_cardTitleRow"
|
|
10504
10504
|
};
|
|
10505
10505
|
//#endregion
|
|
10506
10506
|
//#region src/client/ScreenerPane.tsx
|
|
@@ -12105,18 +12105,18 @@ window.__ModuleLoader__.load({
|
|
|
12105
12105
|
document.head.appendChild(tag);
|
|
12106
12106
|
}
|
|
12107
12107
|
var toolview_module_css_default = {
|
|
12108
|
-
"
|
|
12108
|
+
"spark": "MbbyQa_spark",
|
|
12109
12109
|
"card": "MbbyQa_card",
|
|
12110
|
-
"metricLabel": "MbbyQa_metricLabel",
|
|
12111
12110
|
"reason": "MbbyQa_reason",
|
|
12112
|
-
"metricValue": "MbbyQa_metricValue",
|
|
12113
|
-
"head": "MbbyQa_head",
|
|
12114
|
-
"chip": "MbbyQa_chip",
|
|
12115
12111
|
"title": "MbbyQa_title",
|
|
12116
|
-
"
|
|
12112
|
+
"metric": "MbbyQa_metric",
|
|
12117
12113
|
"meta": "MbbyQa_meta",
|
|
12114
|
+
"chip": "MbbyQa_chip",
|
|
12118
12115
|
"metrics": "MbbyQa_metrics",
|
|
12119
|
-
"
|
|
12116
|
+
"metricLabel": "MbbyQa_metricLabel",
|
|
12117
|
+
"head": "MbbyQa_head",
|
|
12118
|
+
"metricValue": "MbbyQa_metricValue",
|
|
12119
|
+
"params": "MbbyQa_params"
|
|
12120
12120
|
};
|
|
12121
12121
|
//#endregion
|
|
12122
12122
|
//#region src/client/toolview.tsx
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dshtrading/client-ui-strategies",
|
|
3
3
|
"description": "Strategy stage view plugin for dsh-trading (issue #34 / P5): registers the 中栏「策略」tab via the tradingStageViews service — horizon segmented control, strategy cards, backtest runner with equity curve and trade log. Engine comes from the @dshtrading/strategies pure library; bridge access goes through the shell's tradingBridge service (ctx.inject only, no cross-package module imports).",
|
|
4
|
-
"version": "0.6.
|
|
4
|
+
"version": "0.6.3",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"types": "./lib/index.d.ts",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"license": "PolyForm-Noncommercial-1.0.0",
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"lightweight-charts": "^5.2.1",
|
|
28
|
-
"@dshtrading/strategies": "^0.6.
|
|
28
|
+
"@dshtrading/strategies": "^0.6.3"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"@deepseek-ai/cordis": ">=4.0.0",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"typescript": "^5.5.0",
|
|
48
48
|
"vitest": "^3.0.0",
|
|
49
49
|
"@deepseek-ai/dsh-client-ui-tool": "0.2.1-rc.2",
|
|
50
|
-
"@dshtrading/test-support": "0.6.
|
|
50
|
+
"@dshtrading/test-support": "0.6.3"
|
|
51
51
|
},
|
|
52
52
|
"dsh": {
|
|
53
53
|
"client": {
|