error:
Deserialize JsonSerializationException: Error setting value to 'QuantityType' on 'Okex.Net.Objects.Trade.OkexAlgoOrder'.
The stop lost added by type 'conditional' too:
var StopProfitResult = api.PlaceAlgoOrder(preOrder.Symbol, trademode, orderSide, **OkexAlgoOrderType.Conditional**, preOrder.Quantity, positionSide: positionSide, slOrderPrice: -1, slTriggerPrice: preOrder.StopLostPrice);
i have error in getting list stop lost:
var st2 = api.GetAlgoOrderList(**OkexAlgoOrderType.Conditional**, instrumentId: preOrder.Symbol);
https://www.okx.com/api/v5/trade/orders-algo-pending?instId=BCH-USDT-SWAP&limit=100&ordType=conditional
error:
Deserialize JsonSerializationException: Error setting value to 'QuantityType' on 'Okex.Net.Objects.Trade.OkexAlgoOrder'.
The stop lost added by type 'conditional' too:
var StopProfitResult = api.PlaceAlgoOrder(preOrder.Symbol, trademode, orderSide, **OkexAlgoOrderType.Conditional**, preOrder.Quantity, positionSide: positionSide, slOrderPrice: -1, slTriggerPrice: preOrder.StopLostPrice);