Navigation

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

    Limit, target & trigger price are all wrong

    Python SDK
    2
    6
    33
    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.
    • H
      HawkEye last edited by

      @admin
      Following is my order:

      {
         'variety': 'ROBO', 
         'tradingsymbol': 'BRITANNIA-EQ', 
         'symboltoken': '547', 
         'transactiontype': 'BUY', 
         'exchange': 'NSE', 
         'ordertype': 'LIMIT', 
         'producttype': 'BO', 
         'duration': 'DAY', 
         'price': 3638.7, 
         'squareoff': 94.44, 
         'stoploss': 37.38, 
         'quantity': 10
      }
      

      The order id is: 211123000952675

      Expectation:
      BUY at 3638.7 with Stop Loss: 3601.32 and Target: 3733.14

      Actual:
      BUY at 3638.8 with Stop Loss: (SL LIMIT 3,527.80/3,599.45) and Target: (LIMIT 3,731.20)

      Where am I going wrong?

      A 2 Replies Last reply Reply Quote 0
      • A
        admin @HawkEye last edited by

        Hi @HawkEye What id the response from this request..?

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

          @HawkEye sl limit order will always have a specific range for execution.

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

            @admin
            I get an order id.
            In this case order id: 211123000952675

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

              Hi @HawkEye You are getting the correct response your order has been executed properly.

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

                @admin
                At what price will the stoploss get triggered in this case - trigger price - which may be somewhat closer to my expectation
                If it is the SL price mentioned though - it will be bankruptcy

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