You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.
Hi,
when i test, it throws an excepption. I run it on windows 10 .net 5.
using (OkexClient client = new OkexClient())
{
client.SetApiCredentials(account.AKey, account.SKey, account.Pass);
var tickers = client.Spot_GetAllTickers(); // throw an exception
}
System.MissingMethodException
HResult=0x80131513
Message=Method not found: 'System.Threading.Tasks.Task1<CryptoExchange.Net.Objects.WebCallResult1<!!0>> CryptoExchange.Net.RestClient.SendRequest(System.Uri, System.Net.Http.HttpMethod, System.Threading.CancellationToken, System.Collections.Generic.Dictionary2<System.String,System.Object>, Boolean, Boolean, System.Nullable1<CryptoExchange.Net.Objects.PostParameters>, System.Nullable1<CryptoExchange.Net.Objects.ArrayParametersSerialization>, Int32)'. Source=Okex.Net StackTrace: at Okex.Net.OkexClient.<Spot_GetAllTickers_Async>d__267.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.Start[TStateMachine](TStateMachine& stateMachine)
at Okex.Net.OkexClient.Spot_GetAllTickers_Async(CancellationToken ct)
at Okex.Net.OkexClient.Spot_GetAllTickers(CancellationToken ct)
at Assets.OApi.SyncAccount(Account account, Dictionary`2 prices) in C:\Dex\Assets\OApi.cs:line 25
at Assets.Program.Main(String[] args) in C:\Dex\Assets\Program.cs:line 34
The text was updated successfully, but these errors were encountered:
I downgraded Binance.Net and Huobi.Net in the same project. Now CryptoExchange.Net is 3.8.0, and it worked. So it seems Okex.net isn't compatible with CryptoExchange.Net 3.9.0.
I downgraded Binance.Net and Huobi.Net in the same project. Now CryptoExchange.Net is 3.8.0, and it worked. So it seems Okex.net isn't compatible with CryptoExchange.Net 3.9.0.
Hello. I faced this problem too. I just upgraded all libraries to the highest version and updated CryptoExchange.Net to version 3.9.0. Only one version of CryptoExchange.Net gets into the assembly
Hi,
when i test, it throws an excepption. I run it on windows 10 .net 5.
System.MissingMethodException
HResult=0x80131513
Message=Method not found: 'System.Threading.Tasks.Task
1<CryptoExchange.Net.Objects.WebCallResult
1<!!0>> CryptoExchange.Net.RestClient.SendRequest(System.Uri, System.Net.Http.HttpMethod, System.Threading.CancellationToken, System.Collections.Generic.Dictionary2<System.String,System.Object>, Boolean, Boolean, System.Nullable
1<CryptoExchange.Net.Objects.PostParameters>, System.Nullable1<CryptoExchange.Net.Objects.ArrayParametersSerialization>, Int32)'. Source=Okex.Net StackTrace: at Okex.Net.OkexClient.<Spot_GetAllTickers_Async>d__267.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder
1.Start[TStateMachine](TStateMachine& stateMachine)at Okex.Net.OkexClient.Spot_GetAllTickers_Async(CancellationToken ct)
at Okex.Net.OkexClient.Spot_GetAllTickers(CancellationToken ct)
at Assets.OApi.SyncAccount(Account account, Dictionary`2 prices) in C:\Dex\Assets\OApi.cs:line 25
at Assets.Program.Main(String[] args) in C:\Dex\Assets\Program.cs:line 34
The text was updated successfully, but these errors were encountered: