diff --git a/src/ExchangeSharp/API/Exchanges/BinanceGroup/BinanceGroupCommon.cs b/src/ExchangeSharp/API/Exchanges/BinanceGroup/BinanceGroupCommon.cs index 8d7ea26d..4bc3d9aa 100644 --- a/src/ExchangeSharp/API/Exchanges/BinanceGroup/BinanceGroupCommon.cs +++ b/src/ExchangeSharp/API/Exchanges/BinanceGroup/BinanceGroupCommon.cs @@ -101,9 +101,11 @@ public async Task> GetMyTradesAsync(string? mar protected override async Task> OnGetCurrenciesAsync() { - var result = await MakeJsonRequestAsync>("/capital/config/getall", BaseUrlSApi); + Dictionary payload = await GetNoncePayloadAsync(); + var result = await MakeJsonRequestAsync>("/capital/config/getall", BaseUrlSApi, payload); - return result.ToDictionary(x => x.AssetCode, x => new ExchangeCurrency + return result.Where(x => !string.IsNullOrWhiteSpace(x.AssetCode)) + .ToDictionary(x => x.AssetCode, x => new ExchangeCurrency { Name = x.AssetCode, FullName = x.AssetName, diff --git a/src/ExchangeSharp/API/UPbit/ExchangeUPbitAPI.cs b/src/ExchangeSharp/API/Exchanges/UPbit/ExchangeUPbitAPI.cs similarity index 100% rename from src/ExchangeSharp/API/UPbit/ExchangeUPbitAPI.cs rename to src/ExchangeSharp/API/Exchanges/UPbit/ExchangeUPbitAPI.cs