Fix getbalance + fix get orders for bot

This commit is contained in:
2025-04-21 12:15:53 +02:00
parent 3113e5d278
commit 868c7bdb65
13 changed files with 140 additions and 90 deletions

View File

@@ -106,6 +106,7 @@ public static class GmxHelpers
{
return timeframe switch
{
Timeframe.OneMinute => "1m",
Timeframe.FiveMinutes => "5m",
Timeframe.FifteenMinutes => "15m",
Timeframe.ThirtyMinutes => "30m",

View File

@@ -118,7 +118,7 @@ namespace Managing.Infrastructure.Evm.Services
endpoint = $"/{endpoint}";
}
var url = $"{_settings.BaseUrl}gmx{endpoint}";
var url = $"{_settings.BaseUrl}/api/gmx{endpoint}";
if (payload != null)
{