Navigation

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

    Unable to Place Stop Loss Order

    Java SDK
    5
    50
    439
    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.
    • J
      jainullah last edited by

      Hello Team,

      I am trying to place the stop loss order using the below parameters and getting unused argument trigger price.

      order_place <- place_order(object = session_data,
      variety= "STOPLOSS",
      tradingsymbol= "ITC-EQ",
      exchange= "NSE",
      quantity= 323,
      transactiontype= "BUY",
      ordertype = "STOPLOSS_LIMIT",
      producttype= "INTRADAY",
      price= "210",
      triggerprice = "209",
      symboltoken= "1660",
      duration= "DAY"

      )

      Can you please help me with the proper parameters for placing a stop-loss order?

      Thanks in Advance

      Regards,
      Sai Teja Reddy

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

        Hi @Reddy post your error snip here.

        1 Reply Last reply Reply Quote 0
        • J
          jainullah last edited by

          @Reddy said in Unable to Place Stop Loss Order:

          order_place <- place_order(object = session_data,
          variety= "STOPLOSS",
          tradingsymbol= "ITC-EQ",
          exchange= "NSE",
          quantity= 323,
          transactiontype= "BUY",
          ordertype = "STOPLOSS_LIMIT",
          producttype= "INTRADAY",
          price= "210",
          triggerprice = "209",
          symboltoken= "1660",
          duration= "DAY"
          )
          Screenshot 2021-04-15 at 4.40.04 PM.png

          V 1 Reply Last reply Reply Quote 0
          • J
            jainullah last edited by

            Hello @admin

            My application is in the last stage of complete auto trading. Any updates would be much appreciated !!

            Please feel free to contact me at 8919373818. Thanks in Advance.

            Regards,
            Sai Teja Reddy

            1 Reply Last reply Reply Quote 0
            • A
              ananand last edited by ananand

              bro please share sample code... which fires orders based on condition.
              i'm new to python

              1 Reply Last reply Reply Quote 0
              • V
                vvbchandrasekhar @jainullah last edited by

                @Reddy
                I am also unable place a SL-M order due to an error in the API.
                Does that work for you?

                J 1 Reply Last reply Reply Quote 0
                • J
                  jainullah @vvbchandrasekhar last edited by

                  @vvbchandrasekhar

                  No, I am still unable to place the stop loss orders. Waiting for a reply from @admin

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

                    Hi @Reddy we will update you on this.

                    1 Reply Last reply Reply Quote 0
                    • J
                      jainullah last edited by

                      Hello @admin
                      Just wanted to follow up on this. Appreciate your quick response.

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

                        Hello @Reddy we will followed up with our team and update you.

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

                          hi @ananand @Reddy please update the SDK as we have made the required changes. You can try now to execute stoploss order.

                          J V 2 Replies Last reply Reply Quote 0
                          • J
                            jainullah @admin last edited by

                            @admin
                            Thanks for adding this wonderful feature. Now I am unable to create a connection to the app. Please find the attached screenshot. Screenshot 2021-05-01 at 8.54.15 PM.png

                            1 Reply Last reply Reply Quote 0
                            • V
                              vvbchandrasekhar @admin last edited by

                              @admin said in Unable to Place Stop Loss Order:

                              hi @ananand @Reddy please update the SDK as we have made the required changes. You can try now to execute stoploss order.

                              Thanks for working on this.
                              Still it seems to be not working. will try again in trading hours and update you.

                              1 Reply Last reply Reply Quote 0
                              • J
                                jainullah last edited by

                                @admin
                                The issue is still pending. Can you please share an ETA for this as it is open for 20 days.

                                1 Reply Last reply Reply Quote 0
                                • J
                                  jainullah last edited by

                                  Please check the highlighted portion of the code in Github. We are getting the same error while running the latest script.

                                  Screenshot 2021-05-04 at 2.53.55 PM.jpeg

                                  1 Reply Last reply Reply Quote 0
                                  • J
                                    jainullah last edited by

                                    Hey @admin
                                    Hope you are doing great. Its been 1 month and I am still unable to use the R API properly. I am unable to place the Stop Loss orders and Get Candle Data. Please resolve the issue ASAP.

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

                                      Hi@Reddy yes going good we will update you by EOD after coordinating with our r Dev team.

                                      1 Reply Last reply Reply Quote 0
                                      • J
                                        jainullah last edited by

                                        Hello @admin
                                        I just wanted to check if there are any updates on get_candle_data and Stop Loss limit order placement

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

                                          Hi @Reddy update your r sdk and try again problem is resolved.

                                          1 Reply Last reply Reply Quote 0
                                          • J
                                            jainullah last edited by jainullah

                                            Hello Team ,
                                            I am unable to establish the connection using the latest update of smartapi. Please find the below image of the error.

                                            Happy to connect at 8919373818. Please resolve the issue ASAP !!

                                            FYI - @admin

                                            Screenshot 2021-05-18 at 11.30.27 AM.png

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