Fix Usdc.Value to amount
This commit is contained in:
@@ -80,7 +80,7 @@ namespace Managing.Application.ManageBot
|
||||
if (request.Config.BotTradingBalance > availableAllocation)
|
||||
{
|
||||
throw new InvalidOperationException(
|
||||
$"Insufficient available allocation on account '{account.Name}'. Requested: {request.Config.BotTradingBalance:F2} USDC, " +
|
||||
$"Insufficient available allocation. Requested: {request.Config.BotTradingBalance:F2} USDC, " +
|
||||
$"Balance : {usdcBalance?.Value:F2 ?? 0} Available: {availableAllocation:F2} USDC.");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user