Unable to modify CO Stoploss

dazzlewow
Hi,
Once I place CO order with stoploss price, I save OrderId. Once, I get OrderStatus as complete, I fetch OrderDetails and retrieve ParentOrderId. Then I modify Cover Stoploss Order using both OrderId and ParentOrderId. I am currently using KiteDotNet.dll. But I am unable to modify Stoploss Price.
Kindly Help
  • sujith
    Hi,
    Second leg order for cover order is not stoploss, it is stoploss market order. You can only edit trigger price.
  • dazzlewow
    I am trying to modify Stoploss market order using Trigger Price only. But it is not working.
    Sample Code :
    Global._Kite.ModifyCOSl("NSE", symbol, EntryOrderID, ParentOrderID,TriggerPrice);
  • botany02
    @dazzlewow

    What error you are getting..? You should mention all the details of the parent and child order (OrderId,Symbol, Price, Qty, Stop-loss Price etc).You must post your actual code snippet where you are placing CO, retrieving ChildOrderID and Modifying SL order.

    Its difficult to debug without any details.
Sign In or Register to comment.