Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs

    modifying the gtt rule from generic to OCO is not working

    Bugs
    0
    1
    1
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      balrajsand2002 last edited by

      Re: how to create GTT OCO order

      modifying the existing generic gtt rule type to OCO type is not working

      sample code

      smart_api
      .modifyRule({
      id: orderid,
      gttType: "OCO",
      stoplossprice: 340,
      stoplosstriggerprice: 340,
      })

      1 Reply Last reply Reply Quote 0
      • First post
        Last post