When i use:
ItemGetAllOrder = Await clientFutureOKX.UnifiedApi.Trading.GetAlgoOrderHistoryAsync(OKXOjectsOrderType_Algo.Trigger, OKX.Net.Enums.OKXAlgoOrderState.Live, instrumentType:=OKXInstrumentType.Swap, symbol:=Symbol)
i got error: sourceIncorrect type of state
If use OKX.Net.Enums.OKXAlgoOrderState.Effective or OKX.Net.Enums.OKXAlgoOrderState.Canceled. It is ok
When i use: ItemGetAllOrder = Await clientFutureOKX.UnifiedApi.Trading.GetAlgoOrderHistoryAsync(OKXOjectsOrderType_Algo.Trigger, OKX.Net.Enums.OKXAlgoOrderState.Live, instrumentType:=OKXInstrumentType.Swap, symbol:=Symbol) i got error: sourceIncorrect type of state
If use OKX.Net.Enums.OKXAlgoOrderState.Effective or OKX.Net.Enums.OKXAlgoOrderState.Canceled. It is ok
Please check OKXAlgoOrderState.Live