Fase 11 — Decisioni solo matematiche (#186)
ci / test (postgres) (push) Successful in 7m36s
ci / test (sqlite) (push) Successful in 6m41s
ci / image (push) Successful in 1m49s

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>
This commit was merged in pull request #186.
This commit is contained in:
Alby96andClaude Opus 5.5 authored and Alby96 committed 2026-12-04 09:14:11 +01:00
1 parent ed22d1c8b5
commit 93cdf7850d
47 files changed
+1743 -169

No files matched your search

+12
View File
@@ -111,9 +111,21 @@ internal sealed class LiveRig : IAsyncDisposable
AccountReady = _ => AccountStarted,
Gate = Gate,
Learning = Learning = new Anubis.Learning.LearningDesk(Rig.Db, Rig.Clock) { First = First },
RulesMeasured = Measured ? (_, _) => Task.FromResult(true) : null,
};
}
/// <summary>News, calendar and earnings only measured (ADR 0023): the default of a real installation, asked by the tests of Phase 11.</summary>
public bool Measured { get; private set; }
/// <summary>The engine again, with the rules of 10.5 only measured.</summary>
public void UseMeasured()
{
Measured = true;
Engine.Dispose();
Build();
}
public Anubis.Learning.LearningDesk Learning { get; private set; } = null!;
/// <summary>The first model and the base rates the engine starts from.</summary>