Navigation

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

    Reverse order

    General Discussion
    2
    6
    28
    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.
    • R
      rishi6310 last edited by

      @admin can please tell me how to reverse order in smartapi python
      For eg:- if reliance is trading at 2000 and i buy reliance for upside target but if it went against me and started falling how to quickly reverse the order my existing Order get square off and new trade initiated on sell side with single click

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

        Hi @rishi6310 Execute orders with opposite transaction type.

        R 1 Reply Last reply Reply Quote 0
        • R
          rishi6310 @admin last edited by

          @admin can you provide python code on it how to reverse order
          like my old position get square off and new position create in opposite direction

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

            Hi @rishi6310 said in Reverse order:

            can you provide python code on it how to reverse order
            like my old position get square off and new position create in opposite direction
            you can use place order api and execute opposite orders.

            R 2 Replies Last reply Reply Quote 0
            • R
              rishi6310 @admin last edited by

              @admin didn't get it

              1 Reply Last reply Reply Quote 0
              • R
                rishi6310 @admin last edited by

                @admin can you provide code of it in python

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