Update account/position and platform summary

This commit is contained in:
2025-09-26 01:18:59 +07:00
parent b2e38811ed
commit bcfeb693ce
32 changed files with 3301 additions and 151 deletions

View File

@@ -9,27 +9,30 @@ namespace Managing.Domain.Accounts;
public class Account
{
[Id(0)]
[Required] public string Name { get; set; }
public int Id { get; set; }
[Id(1)]
[Required] public TradingExchanges Exchange { get; set; }
[Required] public string Name { get; set; }
[Id(2)]
[Required] public AccountType Type { get; set; }
[Required] public TradingExchanges Exchange { get; set; }
[Id(3)]
public string Key { get; set; }
[Required] public AccountType Type { get; set; }
[Id(4)]
public string Secret { get; set; }
public string Key { get; set; }
[Id(5)]
public User User { get; set; }
public string Secret { get; set; }
[Id(6)]
public List<Balance> Balances { get; set; }
public User User { get; set; }
[Id(7)]
public List<Balance> Balances { get; set; }
[Id(8)]
public bool IsGmxInitialized { get; set; } = false;
public bool IsPrivyWallet => Type == AccountType.Privy;