Navigation

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

    How to add stoploss and target in a single order payload

    Python SDK
    1
    1
    3
    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
      pravilraj last edited by pravilraj

      I am facing an issue while placing ROBO (Bracket) orders for SENSEX options using SmartAPI. Whenever I try to place a ROBO order for BFO exchange, I receive the following error: "ROBO orders are not available on this exchange. Please choose a different exchange or order type to proceed."
      order payload used: { "variety": "ROBO", "tradingsymbol": "SENSEX2612284400CE", "symboltoken": "1171534", "transactiontype": "BUY", "exchange": "BFO", "ordertype": "LIMIT", "producttype": "INTRADAY", "duration": "DAY", "price": "100", "quantity": "20", "squareoff": "40", "stoploss": "20" }
      I understand from the error message that ROBO orders are not supported for the BFO segment via API. However, I would like official clarification on the following points:

      1. Is ROBO / Bracket order permanently disabled for SENSEX and BFO in SmartAPI?
      2. If yes, what is the recommended API-based method to place Entry, Stoploss, and Target orders together?
      1 Reply Last reply Reply Quote 0
      • First post
        Last post