Navigation

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

    After I place Buy order i want handle stoploss according to my Conditions how i modify order afer place and change stoplosss.

    Python SDK
    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.
    • A
      Alts last edited by

      this for buy { variety: "STOPLOSS",
      tradingsymbol: tradingSymbol,
      symboltoken: token,
      transactiontype: "BUY",
      exchange: "NFO",
      ordertype: "STOPLOSS_MARKET",
      producttype: "CARRYFORWARD",
      duration: "DAY",
      quantity:15,
      price,
      stoploss: price * 0.5,
      squareoff: "0",
      triggerprice:price

      }
      this for modify
      {
      orderid: orderid,
      variety: "STOPLOSS",
      symboltoken: token,
      tradingsymbol:tradingSymbol,
      exchange: "NFO",
      ordertype: "STOPLOSS_MARKET",
      producttype: "CARRYFORWARD",
      duration: "DAY",
      price: latestPrice,
      quantity: qty,
      stoploss:stopLoss

      }
      @admin not set stoploss and also not modifys it.

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