Closed JohnSilver9999 closed 1 year ago
the problem has been solved.
in file Okex.Net\Objects\Trade\OkexOrder.cs
replace code
public OkexPositionSide PositionSide { get; set; }
with code
public OkexPositionSide? PositionSide { get; set; }
Thanks for feedback. I updated my local codes. I'll release new version at this weekend
Version 5.3.0 is released with this commit https://github.com/burakoner/OKEx.Net/commit/1700b679454393180777e3a9eb06772ed0a2d159 Also nuget package is available on https://www.nuget.org/packages/OKEx.Net/5.3.0
Hi. I am creating the websocket and subscribe
var rez = ws.SubscribeToOrderUpdates(OkexInstrumentType.Any, null, null, (data) => { if (data != null) { Console.WriteLine("OrderUpdates Instrument:" + data.Instrument); } });
when data come from server throw exception:
How to fix it fast?