Try
Dim ItemGetAllOrder = Await clientFutureOKX.UnifiedApi.Trading.GetOrderHistoryAsync(InstrumentType.Swap, Symbol)
Msgbox (ItemGetAllOrder.Data.Count)
Return ItemGetAllOrder.Data
Catch ex As Exception
Msgoxn (ItemGetAllOrder.Error.Message"
End Try
The old version Version 2.11.0 - 28 Nov 2024 is working
But the new Version 2.12.0 - 03 Dec 2024. I got the error: Parameter name: sourceUnknown exception: Generic types are not valid.