@senpi/runtime 3.0.341 → 3.0.342
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"guide-commands.d.ts","sourceRoot":"","sources":["../../src/cli/guide-commands.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;
|
|
1
|
+
{"version":3,"file":"guide-commands.d.ts","sourceRoot":"","sources":["../../src/cli/guide-commands.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAyiBH,eAAO,MAAM,eAAe,QAyepB,CAAC;AAIT,kFAAkF;AAClF,UAAU,gBAAgB;IACxB,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,gBAAgB,CAAC;IACvD,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,gBAAgB,CAAC;IAC5C,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,MAAM,GAAG,gBAAgB,CAAC;IAC9D,MAAM,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,GAAG,gBAAgB,CAAC;CACxF;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,gBAAgB,EACvB,OAAO,EAAE,MAAM,GACd,IAAI,CAiDN"}
|
|
@@ -247,9 +247,12 @@ The DSL monitors open positions on a configurable interval (idling at 180s when
|
|
|
247
247
|
the strategy is flat; an externally-opened position can take that long to be
|
|
248
248
|
adopted) and closes them
|
|
249
249
|
when price breaches the computed floor or when preset time cuts fire.
|
|
250
|
-
Hard stop:
|
|
250
|
+
Hard stop: a position gets an exchange stop-loss at -max_loss_pct ROE from entry,
|
|
251
251
|
in both phases and whatever phase1.enabled says, until a tier lifts the floor above it.
|
|
252
252
|
phase1.enabled: false turns off the trailing only; it never removes that stop.
|
|
253
|
+
The one exception: a 1× LONG with max_loss_pct 100 floors at price 0, so it has NO
|
|
254
|
+
exchange stop (none rests on the venue, not even at 0) until a tier is reached; the
|
|
255
|
+
runtime closes it on its own floor and time cuts, with a MARKET order.
|
|
253
256
|
Phase 1: max_loss absolute floor + phase1 retrace from high-water. Consecutive
|
|
254
257
|
breach counting applies in BOTH phases. Phase 2: tier floors from lock_hw_pct
|
|
255
258
|
(% of current high-water ROE); phase 2 begins when price crosses the first
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"guide-commands.js","sourceRoot":"","sources":["../../src/cli/guide-commands.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,MAAM,aAAa,GACjB,0EAA0E,CAAC;AAE7E,+EAA+E;AAE/E,MAAM,aAAa,GAAG,CAAC,OAAe,EAAE,EAAE,CAAC;qBACtB,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmC3B,CAAC,IAAI,EAAE,CAAC;AAET,MAAM,aAAa,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuIrB,CAAC,IAAI,EAAE,CAAC;AAET,MAAM,YAAY,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqDpB,CAAC,IAAI,EAAE,CAAC;AAET,MAAM,QAAQ,GAAG
|
|
1
|
+
{"version":3,"file":"guide-commands.js","sourceRoot":"","sources":["../../src/cli/guide-commands.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,MAAM,aAAa,GACjB,0E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
|
149
149
|
"dist/cli/deploy-render.js.map": "8701f14446917185a3c75b97ee3cd865ec162eeda235b4861d2a82fa0b71963e",
|
|
150
150
|
"dist/cli/guide-commands.d.ts": "7887650a814ec66e4f2d21439482d20de9ee1a5372f5a56ca8c32f45717b2a03",
|
|
151
|
-
"dist/cli/guide-commands.d.ts.map": "
|
|
152
|
-
"dist/cli/guide-commands.js": "
|
|
153
|
-
"dist/cli/guide-commands.js.map": "
|
|
151
|
+
"dist/cli/guide-commands.d.ts.map": "78b380fdf51f3ada6dc28e1144cd18590659a7143ca9d40d5c9557f6f903fbb8",
|
|
152
|
+
"dist/cli/guide-commands.js": "da3a3b900a164b1a00256c43cd2ac2b5ff88d9ab294134a39642271f90404357",
|
|
153
|
+
"dist/cli/guide-commands.js.map": "50342dea1efe87a5d7b9812b6ef263ed76f2018faa175c83693cb94240893a4a",
|
|
154
154
|
"dist/cli/quant-command.d.ts": "3f282a32f12498e7f6b7f5b3f6001c0066cfe2d0258cbb11a82e24302d327608",
|
|
155
155
|
"dist/cli/quant-command.d.ts.map": "9b0d3a878e76568ae870a761720542c0c6c13c30e31e5b731451081701f87ed8",
|
|
156
156
|
"dist/cli/quant-command.js": "6b951ddeb9bdac0afe00f7d63d75688fb091cbdcfd4eeb1b517d4fb9795b88f1",
|
|
@@ -1850,6 +1850,6 @@
|
|
|
1850
1850
|
"dist/widgets/widgets/quant-desk-recommendations.d.ts.map": "410c41d3d2b37a1d8329aa888424f920424cc3afa1abd6acc64989093cbba24a",
|
|
1851
1851
|
"dist/widgets/widgets/quant-desk-recommendations.js": "91018c50913ace64ca1941c22e3de17549130a3370132b7f2ccc0477ee6d2aa0",
|
|
1852
1852
|
"dist/widgets/widgets/quant-desk-recommendations.js.map": "80b24b605271cff9acd56800f7c098c2335136e5362055c349e622b8751714c2",
|
|
1853
|
-
"openclaw.plugin.json": "
|
|
1853
|
+
"openclaw.plugin.json": "061a7ecd69bc2355cb006912dea239ecf64b1c85384e8936253227b5bb024ede"
|
|
1854
1854
|
}
|
|
1855
1855
|
}
|
package/openclaw.plugin.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"id": "runtime",
|
|
3
3
|
"name": "Senpi Runtime",
|
|
4
4
|
"description": "Senpi runtime plugin for OpenClaw. Orchestrates scanners, LLM-based trade decisions, and a DSL trailing stop-loss exit engine.",
|
|
5
|
-
"version": "3.0.
|
|
5
|
+
"version": "3.0.342",
|
|
6
6
|
"commandAliases": [
|
|
7
7
|
{
|
|
8
8
|
"name": "senpi"
|