Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. pravilraj
    3. Posts
    P
    • Profile
    • Following 1
    • Followers 0
    • Topics 1
    • Posts 1
    • Best 0
    • Groups 0

    Posts made by pravilraj

    • How to add stoploss and target in a single order payload

      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?
      posted in Python SDK
      P
      pravilraj