Navigation

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

    Error while creating ROBO order

    General Discussion
    0
    4
    15
    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.
    • B
      bablujat last edited by

      For some stocks i am getting following error, but same is working for some stocks

      :BO: Upticks and downticks should be greater than given percentage: Absolute Price :     25.32 Tick Size :507   Allowed range ->[0-100:      1.00]\t[100-500:      1.00]\t[500-1000:      3.00]\t[>1000:      3.00]\t:
      

      Request Payload

      {
        "variety": "ROBO",
        "ordertype": "LIMIT",
        "producttype": "INTRADAY",
        "duration": "DAY",
        "exchange": "NSE",
        "tradingsymbol": "ASHOKLEY-EQ",
        "symboltoken": "212",
        "transactiontype": "SELL",
        "quantity": "5",
        "price": "233.20",
        "triggerprice": "0",
        "squareoff": "2.00",
        "stoploss": "2.00",
        "ordertag": "ALS",
      }
      
      M 1 Reply Last reply Reply Quote 0
      • M
        Moderator_3 @bablujat last edited by

        Hi @bablujat,

        Target price, Stop loss should be based on UCL and LCL this will differ based on different stocks.

        Regards, SmartAPI Team

        B 1 Reply Last reply Reply Quote 0
        • B
          bablujat @Moderator_3 last edited by

          @Moderator_3 Is there any way to calculate it ? can you explain with an example that would be very helpful for me.

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

            Hi @bablujat ,

            BO order (INTRADAY)

            Before giving values to limit price, stoploss & target price consider below points :

            • Limit price should be between UCL and LCL
            • Target price should be greater than limit price
            • Stoploss should be less than limit price

            Notes :

            BUY order means => Target & stoploss will be the SELL order
            SELL order means => Target & stoploss will be the BUY order

            Regards, Smart API Team

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