Navigation

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

    ROBO (Bracket) order Issue

    Python SDK
    0
    1
    1
    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.
    • P
      pankaj18 last edited by

      Hi
      I'm placing a ROBO order as mentioned below.
      Whenever the order is executed the stop loss price and square off price is not same as mentioned in the parameters. Instead the stop loss always get set close to 50 and square off always got doubled.
      Along with this there is less likely the trailing stop loss works.

      Please fix the api and resolve this issue.

      orderparams = {
      "variety": "ROBO",
      "tradingsymbol": ticker,
      "symboltoken": symbol_token,
      "transactiontype": "BUY",
      "exchange": exchange,
      "ordertype": "LIMIT",
      "producttype": product_type,
      "duration": "DAY",
      "price": price,
      "squareoff": squareoff_price,
      "stoploss":stoploss_price,
      "trailingStopLoss":10,
      "quantity": "15"
      }

      response = smartApi.placeOrderFullResponse(orderparams)

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