Fix getbalance + fix get orders for bot
This commit is contained in:
@@ -106,6 +106,7 @@ public static class GmxHelpers
|
||||
{
|
||||
return timeframe switch
|
||||
{
|
||||
Timeframe.OneMinute => "1m",
|
||||
Timeframe.FiveMinutes => "5m",
|
||||
Timeframe.FifteenMinutes => "15m",
|
||||
Timeframe.ThirtyMinutes => "30m",
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user