Closed artastakenaka closed 3 months ago
Binance seems to have added GZip compression to the endpoint. I'll add a fix for this in next version. Until that time you can provide a httpclient to the BinanceRestClient to fix it:
var handler = new HttpClientHandler();
handler.AutomaticDecompression = DecompressionMethods.GZip | DecompressionMethods.Deflate;
var httpClient = new HttpClient(handler);
var client = new BinanceRestClient(httpClient, fac);
Fixed in the latest version
Describe the bug binanceRestClient.SpotApi.ExchangeData.GetProductsAsync() is not working
To Reproduce var binanceRestClient = new BinanceRestClient(); var response = await binanceRestClient.SpotApi.ExchangeData.GetProductsAsync();
Debug logging