Fix loop when trying to recover the cancelled position
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user