Erster Commit des bestehenden monolithischen WinForms-Copytraders, inklusive der Alt-Backups (*.bak), damit diese dauerhaft in der Historie rekonstruierbar bleiben. Threema-Lib unter libs/ wurde vendored (nested .git entfernt). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
51 lines
1.3 KiB
C#
51 lines
1.3 KiB
C#
using System.ComponentModel;
|
|
using System.Drawing;
|
|
|
|
namespace PolyTraderSharp.Models
|
|
{
|
|
public class DashboardRow
|
|
{
|
|
[Browsable(false)]
|
|
public int AccountId { get; set; }
|
|
|
|
[Browsable(false)]
|
|
public bool IsDemo { get; set; }
|
|
|
|
[Browsable(false)]
|
|
public bool IsActive { get; set; }
|
|
|
|
[DisplayName("Account")]
|
|
public string AccountName { get; set; } = string.Empty;
|
|
|
|
[DisplayName("Balance Gesamt")]
|
|
public decimal TotalBalance { get; set; }
|
|
|
|
[DisplayName("Balance verfügbar")]
|
|
public decimal AvailableBalance { get; set; }
|
|
|
|
[DisplayName("Balance in Positionen")]
|
|
public decimal PositionBalance { get; set; }
|
|
|
|
[DisplayName("Offene Trades")]
|
|
public int OpenTradesCount { get; set; }
|
|
|
|
[DisplayName("Trades (24h)")]
|
|
public int ClosedTrades24h { get; set; }
|
|
|
|
[DisplayName("P&L (24h)")]
|
|
public decimal Pnl24h { get; set; }
|
|
|
|
[DisplayName("Winrate (24h)")]
|
|
public string Winrate24h { get; set; } = "0%";
|
|
|
|
[DisplayName("Trades (7d)")]
|
|
public int ClosedTrades7d { get; set; }
|
|
|
|
[DisplayName("P&L (7d)")]
|
|
public decimal Pnl7d { get; set; }
|
|
|
|
[DisplayName("Winrate (7d)")]
|
|
public string Winrate7d { get; set; } = "0%";
|
|
}
|
|
}
|