Files
Anubis/src/Anubis.Server/Components/Pages/LaboratorioRevisione.razor
T
Alby96andClaude Opus 5.5 2257c3e16c Review the base strategies every three months
Every quarter the base strategies are tried again on the longer history with
the slippage in force, compared with how they did live, and the report is
published in the laboratory with the base rates measured again and the balance
of the restrictions of 10.5. In observation the outcome replaces the old one and
a strategy that passed goes to simulation after its 90 days; with capital
nothing moves but the demotion condition of 12.3. A restart halfway goes on and
the review concludes once; the outcome of a review survives a restart with an
older build.

refs #74

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 20:59:20 +01:00

42 lines
1.2 KiB
Plaintext

@inherits LoadedComponent
@page "/laboratorio/revisione/{Id:guid}"
@inject AnubisHost Host
@inject ShellData Shell
@using Anubis.Backtest
<PageTitle>Revisione trimestrale · Anubis</PageTitle>
@if (_review is null)
{
<Pending Title="Revisione non trovata.">Torna al <a href="/laboratorio">Laboratorio</a> per l'elenco delle revisioni.</Pending>
return;
}
<p><a href="/laboratorio#revisione">← Laboratorio</a></p>
<section class="panel" aria-labelledby="titolo">
<h2 id="titolo">Revisione del @_review.Title</h2>
@if (_review.Report is null)
{
<p class="notice">@ReviewView.Running(_review)</p>
}
else
{
<p class="note">Conclusa @Format.LongDateTime(_review.FinishedAt ?? _review.CreatedAt, Shell.Zone).</p>
<ReviewReportView Review="_review" />
}
</section>
@code {
private Review? _review;
[Parameter]
public Guid Id { get; set; }
[CascadingParameter]
public HttpContext? HttpContext { get; set; }
protected override async Task LoadAsync() =>
_review = (await QuarterlyReview.ListAsync(Host.Services!.Db, HttpContext?.RequestAborted ?? CancellationToken.None)).FirstOrDefault(r => r.Id == Id);
}