Add error handling for GMX positions

This commit is contained in:
2025-10-21 17:56:09 +07:00
parent af08462e59
commit 6ffe9ae9c4
4 changed files with 36 additions and 5 deletions

View File

@@ -32,7 +32,7 @@ namespace Managing.Application.Trading.Commands
if (amountToTrade <= Constants.GMX.Config.MinimumPositionAmount)
{
throw new ArgumentException("Bot trading balance must be greater than zero", nameof(amountToTrade));
throw new ArgumentException("Bot trading balance must be greater than : 5usdc", nameof(amountToTrade));
}
AmountToTrade = amountToTrade;