Fix loop when trying to recover the cancelled position

This commit is contained in:
2025-11-19 20:23:44 +07:00
parent 61f95981a7
commit f56d75d28f
2 changed files with 12 additions and 2 deletions

View File

@@ -77,6 +77,13 @@ namespace Managing.Domain.Trades
[Required]
public Guid InitiatorIdentifier { get; set; }
/// <summary>
/// Indicates whether position recovery has been attempted for this cancelled position
/// Used to prevent repeated recovery attempts for positions that were never filled
/// </summary>
[Id(18)]
public bool RecoveryAttempted { get; set; }
/// <summary>
/// Return true if position is finished even if the position was canceled or rejected
/// </summary>