Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

conn.Client.GetExchangeInfo().Result "Unable to deserialize message from ..." #182

Open
tomescumihail93 opened this issue Jul 1, 2021 · 0 comments

Comments

@tomescumihail93
Copy link

tomescumihail93 commented Jul 1, 2021

Issue Overview

I had this working before, and now when I run conn.Client.GetExchangeInfo().Result, I get a the following error:

System.AggregateException: 'One or more errors occurred. (Unable to deserialize message from: https://api.binance.com/api/v1/exchangeInfo. Exception: Error converting value "MAX_POSITION" to type 'BinanceExchange.API.Enums.ExchangeInfoSymbolFilterType'. Path 'filterType', line 1, position 942296.)'

Package Version: 4.12.0

Repro Steps

 public class BinanceClientConnection
    {
        private string key = "asdasdasdasdasd";
        private string secret = "asdasdasdasdasdas";
        public BinanceClient Client;

        public BinanceClientConnection()
        {
            this.Client = new BinanceClient(new ClientConfiguration()
            {
                ApiKey = key,
                SecretKey = secret,
            });
        }

    }

conn = new BinanceClientConnection();
3.
var info = conn.Client.GetExchangeInfo().Result;

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant