Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

System.NullReferenceException #9

Open
Kei-OHKAWA opened this issue Jan 15, 2022 · 0 comments
Open

System.NullReferenceException #9

Kei-OHKAWA opened this issue Jan 15, 2022 · 0 comments

Comments

@Kei-OHKAWA
Copy link

I just downloaded it.
I get an error when I build and run it.

[BinanceBot.cs]
namespace BinanceMarketMaker.BusinessLogic
public class BinanceBot

        public BinanceBot(BinanceClient binanceClient, SynchronizationContext context)
        {
            this.context = context;
            Orders = new ObservableCollection<Order>();

            this.binanceClient = binanceClient;
            **var webRequest = this.binanceClient.GetExchangeInfo();**
            symbols = webRequest.Data.Symbols.ToList();
        }


webRequest.Data is Null.

webRequest.Error.Message is 'Error deserializing data'

Can you tell me what is the cause?

I have set the API key and secret key.
What do I enter for the license and fee?

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

No branches or pull requests

1 participant