Closed mytran1998 closed 1 year ago
any luck?
No, I dont create it
I have done it with the pure HttpWebRequest, and use the okex.net for subscibing the channels
it just works in one side. You can use "OkexAlgoOrderType.Conditional" but it just triggers stop lost. it is better to send auto trigger in your code and active the profit.
StopProfitResult = api.PlaceAlgoOrder(preOrder.Symbol, trademode, orderSide, OkexAlgoOrderType.Conditional,
preOrder.Quantity, positionSide: positionSide, slOrderPrice: -1, slTriggerPrice: preOrder.StopLostPrice);
Hey bro, I have a question need support of you.
I want create order have stop loss and take profit. I use PlaceAlgoOrder but it wrong. You can help me a code example? Thanks very much :)