News, the economic calendar and earnings dates no longer change any decision (ADR 0023, choices in ADR 0027). The outside rules are measured in the shadow; a switch in the settings turns them back on. refs #116, refs #117 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Alberto Balbo <alberto.balbo.96@gmail.com>
31 lines
2.4 KiB
Plaintext
31 lines
2.4 KiB
Plaintext
@* The rules of ADR 0023 measured in the shadow (ADR 0027 points 16 and 17): the Laboratorio and the quarterly review show the same table. *@
|
|
@using Anubis.Learning
|
|
|
|
<div class="table-wrap">
|
|
<table class="table">
|
|
<caption class="sr-only">Regole esterne misurate in ombra</caption>
|
|
<thead><tr><th scope="col">Regola</th><th scope="col" class="num">Esaminati</th><th scope="col" class="num">Ingressi cambiati</th><th scope="col" class="num">Solo rinviati</th><th scope="col" class="num">Aumenti fermati</th><th scope="col" class="num">Stop tenuti fermi</th><th scope="col">Effetto medio a ingresso</th><th scope="col">Stato</th></tr></thead>
|
|
<tbody>
|
|
@foreach (var r in Rules)
|
|
{
|
|
<tr>
|
|
<td><strong>@r.Rule.Name</strong><br /><span class="note">@r.Rule.What</span></td>
|
|
<td class="num">@r.Examined</td>
|
|
<td class="num">@r.Changed</td>
|
|
<td class="num">@r.Postponed</td>
|
|
<td class="num">@r.Increases</td>
|
|
<td class="num">@(r.Rule.Key == ShadowRules.NewsSevere ? r.StopsKept.ToString(System.Globalization.CultureInfo.InvariantCulture) : "—")</td>
|
|
<td>@(r.Line.Mean is { } mean ? ImprovementText.Percent(mean) : "—")@if (r.Line.Interval is { } i) {<span class="note"> tra @ImprovementText.Percent(i.Low) e @ImprovementText.Percent(i.High)</span>}@if (r.Line.Missing is { } missing) {<span class="note"> (@missing)</span>}</td>
|
|
<td class="@(r.Waiting ? "attention-text" : null)">@r.State@if (r.State == "Troppo presto" && r.JudgedFrom is { } from) {<br /><span class="note">giudizio non prima del @Format.LongDate(from)</span>}</td>
|
|
</tr>
|
|
}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p class="note">Per riaccendere una regola servono almeno 6 mesi di misura, almeno @ShadowRules.MinChanged ingressi cambiati e un effetto tutto sopra lo zero, con un intervallo che contiene il valore vero 99 volte su 100 (5% diviso per cinque regole); il confronto in backtest della Fase 17 non è ancora disponibile. L'effetto è una quota di quanto l'ingresso ha investito: positivo vuol dire che la regola avrebbe evitato una perdita. Un rinvio e un aumento si contano ma non si valutano. Il bot non riaccende niente da solo: lo fai tu, dalle Impostazioni.</p>
|
|
|
|
@code {
|
|
[Parameter, EditorRequired]
|
|
public IReadOnlyList<ShadowRuleView> Rules { get; set; } = [];
|
|
}
|