Navigation

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

    Place Market Order With SL and TARGET

    General Discussion
    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.
    • T
      truesyssoftech last edited by

      I want to place market order with stoploss and target , below is request object for same

      {
      "variety":"NORMAL",
      "tradingsymbol":"SBIN-EQ",
      "symboltoken":"3045",
      "transactiontype":"BUY",
      "exchange":"NSE",
      "ordertype":"MARKET",
      "producttype":"INTRADAY",
      "duration":"DAY",
      "price":"0",
      "squareoff":"0",
      "stoploss":"0",
      "quantity":"1"
      }

      for above json at market order we are not sure for the price order placed so what we need to pass as value of squareoff and stoploss

      let's say my order placed at 100 rs and i want 20 pts target and 10 pts stoploss so what i need to pass as value of squareoff and stoploss on above json is it 120 and 90 or 20 and 10

      any help is appriciated

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