The Conti e posizioni screen follows mockup 02: totals split by strategy, one card per account with key permissions and the last reconciliation, positions with a per-account filter and CSV export, pending stops (Alpaca grouped into permanent and day stops), residues, and exposure by currency. It shows one world only, real accounts when there are any, so simulated and real money never add up. Position values are rounded to the cent per row, as the table shows them, so the figures add up on screen. Settings gain "Conti e chiavi": practice keys are asked to the broker before they are saved and refused when they may withdraw or cannot trade; they are never shown again and the engine restarts to use them. The capital entrusted to each broker is set there in euro. Until any capital is set, the overview points to that section as the first step. The overview now reads one world, nets capital flows out of its results and uses the time-weighted index; open orders exclude protective stops. The demo seed gains cash rows, closed trades, stops, the ECB rate and the reconciliation state, so the ledger itself computes the mockup's figures. Screenshots now capture the whole page and include Conti. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d2441df592
commit
4c4f848d80
18 files changed
+1472
-33
No files matched your search
@@ -76,7 +76,7 @@ internal sealed partial class ServerHarness : IAsyncDisposable
|
||||
}
|
||||
|
||||
public static async Task<ServerHarness> StartAsync(string platform, IReadOnlyDictionary<string, string?> environment, string? dataDir = null,
|
||||
string[]? extraArgs = null, bool waitReady = true, HttpMessageHandler? marketHttp = null)
|
||||
string[]? extraArgs = null, bool waitReady = true, HttpMessageHandler? marketHttp = null, bool trading = false)
|
||||
{
|
||||
var owns = dataDir is null;
|
||||
dataDir ??= TempFolder.Create("server");
|
||||
@@ -89,6 +89,7 @@ internal sealed partial class ServerHarness : IAsyncDisposable
|
||||
MarketData = marketHttp is not null,
|
||||
MarketHttp = marketHttp,
|
||||
MarketSockets = marketHttp is null ? null : () => new FakeSocket(),
|
||||
Trading = trading,
|
||||
});
|
||||
await app.StartAsync().ConfigureAwait(false);
|
||||
var cookies = new CookieContainer();
|
||||
|
||||
Reference in new issue
Block a user