Navigation

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

    stock option quantity field

    Python SDK
    0
    4
    56
    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.
    • P
      pt4rh3 last edited by

      while placing order for stock options,
      what should be the quantity,
      e.g for GRASIM 1900CE
      I want to buy 1 lot
      so quantity should be 1 or 475?

      try:
          orderparams = {
              "variety": "NORMAL",
              "tradingsymbol": tradingsymbol,
              "symboltoken": symboltoken,
              "transactiontype": "BUY",
              "exchange": "NFO",
              "ordertype": "MARKET",
              "producttype": "CARRYFORWARD",
              "duration": "DAY",
              "quantity": "1"
          }
      
      J 1 Reply Last reply Reply Quote 0
      • J
        jyotsna.patel @pt4rh3 last edited by

        @pt4rh3
        quantity :475

        1 Reply Last reply Reply Quote 0
        • B
          bablujat last edited by

          Hi @pt4rh3
          did you try to close existing position? when i try i it uses quantity as lots but during sell it use it as shares, so during but i have to use 50 (1 lot = 50 shares) and for sell i have to use 1 for quantity

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

            @bablujat check via postman to square off. It is working fine. There maybe a issue in your code.

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