Navigation

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

    Bracket & Cover order support

    General Discussion
    3
    22
    186
    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.
    • S
      StocksDeveloper @StocksDeveloper last edited by StocksDeveloper

      @StocksDeveloper Same bug as previously reported...disappointed.

      Account Number: P139064
      Time: 18-MAY-21 13:40:14 IST

      I cancelled the STOP_LOSS leg of a BO. But nothing happened, both child legs are open.

      Expected Behavior: It should cancel a STOP_LOSS child order and execute the TARGET child order at Market price.

      Request Details:

      POST /rest/secure/angelbroking/order/v1/cancelOrder HTTP/1.1[\r][\n]
      {"variety":"ROBO","orderid":"210518001130198"}
      
      A 2 Replies Last reply Reply Quote 0
      • A
        admin @StocksDeveloper last edited by

        Hi @StocksDeveloper noted let me coordinate with the team and update you.

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

          Hi @StocksDeveloper inorder to cancel a bo order you need to pass parent order id.

          S 2 Replies Last reply Reply Quote 0
          • S
            StocksDeveloper @admin last edited by

            @admin Thanks for that input, we will test it tomorrow.

            Could you please update your docs, because we always refer to it & if it is not up-to-date; then there is no way for us to know the correct procedure.

            https://smartapi.angelbroking.com/docs/Orders

            1 Reply Last reply Reply Quote 0
            • S
              StocksDeveloper @admin last edited by

              @admin Tested it, looks fine now. Cheers!!!

              As mention, please have your docs updated to mention that cancellation needs a parent order id.

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

                Hi @StocksDeveloper (pritesh) Yes we will do that soon.

                S 1 Reply Last reply Reply Quote 0
                • S
                  StocksDeveloper @admin last edited by

                  @admin Appreciate it, thanks!!!

                  1 Reply Last reply Reply Quote 0
                  • M
                    Mahesh @admin last edited by

                    @admin Can you please share the sample payload to place BO order,
                    I cannot find it in the smartapi docs.

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

                      Hi @Mahesh kindly find the sample for bo:
                      {
                      "variety":"ROBO",
                      "tradingsymbol":"SBIN-EQ",
                      "symboltoken":"3045",
                      "transactiontype":"BUY",
                      "exchange":"NSE",
                      "ordertype":"LIMIT",
                      "producttype":"BO",
                      "duration":"DAY",
                      "price":"366",
                      "squareoff":"12",
                      "stoploss":"6",
                      "quantity":"1"
                      }

                      S M 2 Replies Last reply Reply Quote 0
                      • S
                        StocksDeveloper @admin last edited by

                        @admin Hello, just like to check the status of Cover order feature. Any idea, when will it be available?

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

                          HI @StocksDeveloper Will coordinate with team and update you.

                          S 1 Reply Last reply Reply Quote 0
                          • S
                            StocksDeveloper @admin last edited by

                            @admin Thank you! Have a good day!!!

                            S 1 Reply Last reply Reply Quote 0
                            • S
                              StocksDeveloper @StocksDeveloper last edited by

                              @StocksDeveloper Any update, expected delivery date?

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

                                HI @StocksDeveloper Currenlty we dont have specific eta we will update you soon.

                                S 1 Reply Last reply Reply Quote 0
                                • S
                                  StocksDeveloper @admin last edited by

                                  @admin Understood, thank you for the update!

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    Mahesh @admin last edited by

                                    @admin Can you please help clarify few details related to ROBO orders

                                    1. In above example order, "stoploss":"6" and "quantity":"1", are these values tick counts ?

                                    2. For ROBO order can i specify ordertype as MARKET ?

                                    3. Is ROBO order supported for MCX futures e.g. CRUDEOIL21JULFUT ?
                                      Is there anything specific type of trades for which ROBO is not supported?

                                    4. In java smartapi client, i dont see these constants defined in Constants.java for variety = ROBO
                                      and producttype=BO

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

                                      HI @Mahesh said in Bracket & Cover order support:

                                      In java smartapi client, i dont see these constants defined in Constants.java for variety = ROBO
                                      and producttype=BO
                                      This issue is resolved.

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