Fix save netpnl
This commit is contained in:
@@ -498,4 +498,20 @@ public static class Enums
|
||||
PositionClosed,
|
||||
PositionUpdated
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Reasons why a balance check might fail
|
||||
/// </summary>
|
||||
public enum BalanceCheckFailureReason
|
||||
{
|
||||
None,
|
||||
InsufficientUsdcBelowMinimum,
|
||||
InsufficientUsdcForSwap,
|
||||
SwapInProgress,
|
||||
SwapCooldownActive,
|
||||
BalanceFetchError,
|
||||
SwapExecutionError,
|
||||
InsufficientEthBelowMinimum,
|
||||
BotsHaveOpenPositions
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user