@dshtrading/client-ui-strategies 0.3.0 → 0.4.1
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 +54 -54
- package/package.json +2 -2
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
|
-
"
|
|
9988
|
-
"overlay": "_9mrMhW_overlay",
|
|
9989
|
-
"paramTable": "_9mrMhW_paramTable",
|
|
9990
|
-
"formGrid": "_9mrMhW_formGrid",
|
|
9991
|
-
"sourceArea": "_9mrMhW_sourceArea",
|
|
9992
|
-
"columnHeadRow": "_9mrMhW_columnHeadRow",
|
|
9987
|
+
"noticeOk": "_9mrMhW_noticeOk",
|
|
9993
9988
|
"columnRow": "_9mrMhW_columnRow",
|
|
9994
|
-
"
|
|
9995
|
-
"
|
|
9996
|
-
"
|
|
9997
|
-
"
|
|
9998
|
-
"closeBtn": "_9mrMhW_closeBtn",
|
|
9999
|
-
"primaryBtn": "_9mrMhW_primaryBtn",
|
|
9989
|
+
"noticeError": "_9mrMhW_noticeError",
|
|
9990
|
+
"fieldInput": "_9mrMhW_fieldInput",
|
|
9991
|
+
"formGrid": "_9mrMhW_formGrid",
|
|
9992
|
+
"overlay": "_9mrMhW_overlay",
|
|
10000
9993
|
"field": "_9mrMhW_field",
|
|
10001
|
-
"noticeOk": "_9mrMhW_noticeOk",
|
|
10002
|
-
"actionBar": "_9mrMhW_actionBar",
|
|
10003
9994
|
"paramRow": "_9mrMhW_paramRow",
|
|
10004
|
-
"
|
|
10005
|
-
"
|
|
9995
|
+
"sourceArea": "_9mrMhW_sourceArea",
|
|
9996
|
+
"actionBar": "_9mrMhW_actionBar",
|
|
9997
|
+
"closeBtn": "_9mrMhW_closeBtn",
|
|
9998
|
+
"panelHeader": "_9mrMhW_panelHeader",
|
|
10006
9999
|
"fieldLabel": "_9mrMhW_fieldLabel",
|
|
10007
|
-
"
|
|
10000
|
+
"paramCell": "_9mrMhW_paramCell",
|
|
10001
|
+
"paramRemove": "_9mrMhW_paramRemove",
|
|
10002
|
+
"actionSpacer": "_9mrMhW_actionSpacer",
|
|
10003
|
+
"columnHeadRow": "_9mrMhW_columnHeadRow",
|
|
10008
10004
|
"paramHeadRow": "_9mrMhW_paramHeadRow",
|
|
10005
|
+
"panel": "_9mrMhW_panel",
|
|
10006
|
+
"panelTitle": "_9mrMhW_panelTitle",
|
|
10009
10007
|
"addParamBtn": "_9mrMhW_addParamBtn",
|
|
10010
|
-
"
|
|
10008
|
+
"primaryBtn": "_9mrMhW_primaryBtn",
|
|
10009
|
+
"secondaryBtn": "_9mrMhW_secondaryBtn",
|
|
10010
|
+
"paramTable": "_9mrMhW_paramTable"
|
|
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
|
+
"root": "jg958W_root",
|
|
10464
|
+
"runBtn": "jg958W_runBtn",
|
|
10465
|
+
"tableSection": "jg958W_tableSection",
|
|
10466
|
+
"metricValue": "jg958W_metricValue",
|
|
10463
10467
|
"tradesTable": "jg958W_tradesTable",
|
|
10464
|
-
"horizonBtn": "jg958W_horizonBtn",
|
|
10465
10468
|
"trendUp": "jg958W_trendUp",
|
|
10466
|
-
"
|
|
10467
|
-
"newStrategyBtn": "jg958W_newStrategyBtn",
|
|
10468
|
-
"cardTitle": "jg958W_cardTitle",
|
|
10469
|
-
"cardActionBtn": "jg958W_cardActionBtn",
|
|
10469
|
+
"progressFill": "jg958W_progressFill",
|
|
10470
10470
|
"configBar": "jg958W_configBar",
|
|
10471
|
-
"metricValue": "jg958W_metricValue",
|
|
10472
|
-
"runBtn": "jg958W_runBtn",
|
|
10473
|
-
"tableSection": "jg958W_tableSection",
|
|
10474
|
-
"metricsGrid": "jg958W_metricsGrid",
|
|
10475
|
-
"tableEmptyCell": "jg958W_tableEmptyCell",
|
|
10476
|
-
"errorMessage": "jg958W_errorMessage",
|
|
10477
|
-
"trendDown": "jg958W_trendDown",
|
|
10478
|
-
"progressWrap": "jg958W_progressWrap",
|
|
10479
|
-
"cardBadge": "jg958W_cardBadge",
|
|
10480
10471
|
"strategyCards": "jg958W_strategyCards",
|
|
10472
|
+
"chartWrapper": "jg958W_chartWrapper",
|
|
10473
|
+
"tableTitle": "jg958W_tableTitle",
|
|
10474
|
+
"horizonBtn": "jg958W_horizonBtn",
|
|
10475
|
+
"cardSummary": "jg958W_cardSummary",
|
|
10476
|
+
"reasonCell": "jg958W_reasonCell",
|
|
10477
|
+
"trendDown": "jg958W_trendDown",
|
|
10481
10478
|
"paramLabel": "jg958W_paramLabel",
|
|
10482
|
-
"
|
|
10483
|
-
"
|
|
10484
|
-
"
|
|
10485
|
-
"
|
|
10479
|
+
"tableEmptyCell": "jg958W_tableEmptyCell",
|
|
10480
|
+
"metricsGrid": "jg958W_metricsGrid",
|
|
10481
|
+
"chartContainer": "jg958W_chartContainer",
|
|
10482
|
+
"nameCell": "jg958W_nameCell",
|
|
10486
10483
|
"emptyIcon": "jg958W_emptyIcon",
|
|
10487
10484
|
"emptyState": "jg958W_emptyState",
|
|
10488
|
-
"
|
|
10489
|
-
"
|
|
10485
|
+
"mgmtRow": "jg958W_mgmtRow",
|
|
10486
|
+
"progressWrap": "jg958W_progressWrap",
|
|
10487
|
+
"cardActionBtn": "jg958W_cardActionBtn",
|
|
10490
10488
|
"cardActions": "jg958W_cardActions",
|
|
10491
|
-
"reasonCell": "jg958W_reasonCell",
|
|
10492
|
-
"nameCell": "jg958W_nameCell",
|
|
10493
|
-
"cardSummary": "jg958W_cardSummary",
|
|
10494
|
-
"tradesTableWrapper": "jg958W_tradesTableWrapper",
|
|
10495
10489
|
"horizonSelector": "jg958W_horizonSelector",
|
|
10496
|
-
"
|
|
10497
|
-
"
|
|
10490
|
+
"cardBadge": "jg958W_cardBadge",
|
|
10491
|
+
"scanMeta": "jg958W_scanMeta",
|
|
10492
|
+
"header": "jg958W_header",
|
|
10493
|
+
"metricLabel": "jg958W_metricLabel",
|
|
10494
|
+
"paramGroup": "jg958W_paramGroup",
|
|
10495
|
+
"cardTitle": "jg958W_cardTitle",
|
|
10498
10496
|
"symbolValue": "jg958W_symbolValue",
|
|
10499
|
-
"
|
|
10500
|
-
"chartWrapper": "jg958W_chartWrapper",
|
|
10501
|
-
"mgmtRow": "jg958W_mgmtRow",
|
|
10497
|
+
"strategyCard": "jg958W_strategyCard",
|
|
10502
10498
|
"paramInput": "jg958W_paramInput",
|
|
10503
|
-
"
|
|
10499
|
+
"metricCard": "jg958W_metricCard",
|
|
10500
|
+
"cardTitleRow": "jg958W_cardTitleRow",
|
|
10501
|
+
"errorMessage": "jg958W_errorMessage",
|
|
10502
|
+
"tradesTableWrapper": "jg958W_tradesTableWrapper",
|
|
10503
|
+
"newStrategyBtn": "jg958W_newStrategyBtn"
|
|
10504
10504
|
};
|
|
10505
10505
|
//#endregion
|
|
10506
10506
|
//#region src/client/ScreenerPane.tsx
|
|
@@ -12105,17 +12105,17 @@ window.__ModuleLoader__.load({
|
|
|
12105
12105
|
document.head.appendChild(tag);
|
|
12106
12106
|
}
|
|
12107
12107
|
var toolview_module_css_default = {
|
|
12108
|
-
"metric": "MbbyQa_metric",
|
|
12109
12108
|
"card": "MbbyQa_card",
|
|
12110
|
-
"metrics": "MbbyQa_metrics",
|
|
12111
|
-
"metricValue": "MbbyQa_metricValue",
|
|
12112
|
-
"head": "MbbyQa_head",
|
|
12113
12109
|
"title": "MbbyQa_title",
|
|
12114
|
-
"metricLabel": "MbbyQa_metricLabel",
|
|
12115
12110
|
"chip": "MbbyQa_chip",
|
|
12116
|
-
"params": "MbbyQa_params",
|
|
12117
12111
|
"spark": "MbbyQa_spark",
|
|
12112
|
+
"metric": "MbbyQa_metric",
|
|
12113
|
+
"metricLabel": "MbbyQa_metricLabel",
|
|
12114
|
+
"params": "MbbyQa_params",
|
|
12118
12115
|
"meta": "MbbyQa_meta",
|
|
12116
|
+
"metrics": "MbbyQa_metrics",
|
|
12117
|
+
"metricValue": "MbbyQa_metricValue",
|
|
12118
|
+
"head": "MbbyQa_head",
|
|
12119
12119
|
"reason": "MbbyQa_reason"
|
|
12120
12120
|
};
|
|
12121
12121
|
//#endregion
|
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.
|
|
4
|
+
"version": "0.4.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"types": "./lib/index.d.ts",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"license": "PolyForm-Noncommercial-1.0.0",
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"lightweight-charts": "^5.2.1",
|
|
29
|
-
"@dshtrading/strategies": "^0.
|
|
29
|
+
"@dshtrading/strategies": "^0.4.1"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"@deepseek-ai/cordis": ">=4.0.0",
|