Navigation

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

    Does placing a "normal" sell order, close the position we've bought?

    Python SDK
    2
    2
    32
    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.
    • O
      Ontail last edited by

      So if i have bought 100 quantities of SBIN and later i make a sell API request

      which looks something like this

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

      will this close or exit my existing order?

      A 1 Reply Last reply Reply Quote 0
      • A
        admin @Ontail last edited by

        HI @Ontail Yes.

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