burakoner/OKEx.Net

use demo api

Closed this issue · 1 comments

I have tried to connect to demo API, but it doesn't work, there is configuration I have to set?

Even i created new API but still i get this error:
50101: Broker id of APIKey does not match current environment.

You can use with client options as below.

OkexClient api = new OkexClient(new Okex.Net.CoreObjects.OkexRestClientOptions
{
    DemoTradingService = true
});