Update the position count and initiator

This commit is contained in:
2025-08-15 08:47:48 +07:00
parent 7528405845
commit b4a4656b3b
21 changed files with 1617 additions and 42 deletions

View File

@@ -66,6 +66,11 @@ namespace Managing.Domain.Trades
[Id(14)] [Required] public User User { get; set; }
/// <summary>
/// Identifier of the bot or entity that initiated this position
/// </summary>
[Id(15)] [Required] public Guid InitiatorIdentifier { get; set; }
public bool IsFinished()
{
return Status switch