BRK-Blockade sichtbar machen + runtime_state-Ueberstimmung melden
This commit is contained in:
+15
-3
@@ -176,8 +176,20 @@ function renderBrk(d) {
|
||||
const bp = d.position_brk, bpEl = $streng("brk-pos");
|
||||
if (bpEl) {
|
||||
if (!bp) {
|
||||
bpEl.textContent = "keine — Slot frei";
|
||||
bpEl.className = "";
|
||||
// ⚠⚠ "Slot frei" allein ist irrefuehrend, wenn der Trader gar nicht
|
||||
// ORDERN KANN. Am 20.08. hat er einen ganzen Tag lang keinen Trade
|
||||
// eroeffnet ("Einsatz 10 % von 58 EUR freier Margin = 5,85 EUR,
|
||||
// Mindestlot braucht 7,46") — der Grund stand NUR im Log, zwischen
|
||||
// 269 gleichlautenden Zeilen. Ein leerer Slot und ein blockierter
|
||||
// Slot sehen sonst identisch aus.
|
||||
const grund = d.squeeze_block;
|
||||
bpEl.textContent = grund ? ("⚠ keine — " + grund) : "keine — Slot frei";
|
||||
bpEl.className = grund ? "bad" : "";
|
||||
bpEl.title = grund
|
||||
? "Der Breakout-Trader wollte ordern und konnte nicht. Reine Anzeige — "
|
||||
+ "die Einstellung dahinter (Einsatz je Pfad / Einsatz %) ist eine "
|
||||
+ "bewusste Entscheidung und wird nicht automatisch geaendert."
|
||||
: "";
|
||||
} else {
|
||||
// Richtung aus SL/TP ableiten: place_stop setzt IMMER einen SL.
|
||||
const e = Number(bp.entry) || 0;
|
||||
@@ -2374,7 +2386,7 @@ async function closeSlot(slot, label, pnl) {
|
||||
// und der Browser zeigte Altes. Statt das jedes Mal von Hand zu diagnostizieren,
|
||||
// sagt die Seite es jetzt selbst.
|
||||
// ⚠ Bewusst SICHTBAR statt nur Konsole: die Konsole sieht am Handy niemand.
|
||||
const _JS_V = "201";
|
||||
const _JS_V = "202";
|
||||
{
|
||||
const htmlV = document.body && document.body.dataset
|
||||
? document.body.dataset.htmlV : null;
|
||||
|
||||
Reference in New Issue
Block a user