@inherits LoadedComponent
@page "/conti"
@inject AnubisHost Host
@inject ShellData Shell
@inject IClock Clock
@using Anubis.Trading
@using Anubis.Data
La chiave di questo conto permette i prelievi: niente nuovi acquisti finché non la sostituisci con una senza prelievo in Impostazioni. Vendite e stop proseguono.
} else {Modalità prudente dalle @Time(state.ModeSince): niente nuovi acquisti, vendite e stop proseguono.
Sono passati 15 minuti e la differenza non si è spiegata da sola. Scegli tu:
Se entro 15 minuti si spiega da sola il conto torna normale; altrimenti qui potrai scegliere se allineare il registro o lasciare fuori la differenza.
} }Nessuna posizione aperta@(_filter is null ? "" : " su questo conto").
} else {| Strumento | Conto | Strategia | Quantità | Prezzo medio | Prezzo ora | Valore | Risultato | Stop | Aperta da |
|---|---|---|---|---|---|---|---|---|---|
| @p.Symbol @p.Name | @(p.Broker == Venues.Alpaca ? "Alpaca" : "OKX") | @StrategyNames.Label(p.Strategy) | @Format.Quantity(p.Quantity) | @Format.Money(p.Average, p.Currency) | @Format.Money(p.Last, p.Currency) | @Shell.Money(p.ValueEur, c) | @Shell.Money(p.ResultEur, c, withSign: true) (@Format.Percent(p.Percent, 2, withSign: true)) | @(p.Stop is { } stop ? Format.Money(stop, p.Currency, decimals: AccountsView.StopDecimals(stop)) : "—") | @Age(p.OpenedAt) |
| Totale | @Shell.Money(shownPositions.Sum(p => p.ValueEur), c) | @Shell.Money(shownPositions.Sum(p => p.ResultEur), c, withSign: true) |
| Ordine | Dove | Scatta a | Stato |
|---|---|---|---|
| @o.Action @o.Subject | @o.Where | @o.Level | @if (o.Waiting) { |
Le azioni intere hanno uno stop permanente sul broker, che resta attivo anche a bot spento. Sulle frazioni il broker accetta solo ordini che valgono un giorno: quelli li rimetto a ogni apertura e, a mercato chiuso, li sorveglio io.
}@RateText(v)@(v.FxEffect is { } fx && fx != 0 ? $" Effetto del cambio sul risultato in euro: {Format.Money(fx, "EUR", withSign: true)}." : "")
@if (dollars > 0) {| Strumento | Conto | Quantità | Valore | Dal |
|---|---|---|---|---|
| @r.Symbol | @r.Broker | @Format.Quantity(r.Quantity) | @Format.Money(r.Value, r.Currency) | @Format.ShortDate(r.At, Shell.Now, Shell.Zone, withTime: false) |