Navigation

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

    Can we modify partially filled order using smart api?

    Python SDK
    0
    4
    22
    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.
    • C
      coolankurmahe last edited by

      If I place limit order with quantity 100, then it gets partially fulfilled example 50 out of 100 quantity got filled. Then if i use modifyOrder API to modify the limit price or quantity of order, is it possible ?
      Or I need to cancel this order and place another order with new left out quantity ?

      M 1 Reply Last reply Reply Quote 0
      • M
        Moderator_3 @coolankurmahe last edited by

        @coolankurmahe
        Yes, it is possible to modify both the limit price and the remaining quantity using the modifyOrder API without the need to cancel and place a new order.
        Please refer the documentation of ModifyOrder:
        https://smartapi.angelbroking.com/docs/Orders#modifyorder

        C 1 Reply Last reply Reply Quote 0
        • C
          coolankurmahe @Moderator_3 last edited by

          @Moderator_3 As stated above, I was asking if the order is already partially filled, then we can still modify the limit price ? Can you please confirm ? if yes, please share the client code ?
          I had come across "Yes, you can modify or cancel a limit order before execution. You can adjust the limit price or quantity unless it’s already been partially or fully executed."
          in https://www.angelone.in/knowledge-center/online-share-trading/what-is-limit-order-and-how-it-is-used
          which states we can't is it is partially filled.

          M 1 Reply Last reply Reply Quote 0
          • M
            Moderator_3 @coolankurmahe last edited by

            @coolankurmahe
            If you place limit order with quantity 100, then 30 got executed. In that case you can modify the limit price and quantity of the remaining 70 quantity using modifyOrder API.

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