Navigation

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

    Stoploss

    Python SDK
    0
    1
    36
    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.
    • C
      chexki last edited by chexki

      Hello,
      I want to place a limit buy order, and if gets placed I want to put a stoploss to it.
      The following format is able to place order, but Stoploss & Trigger has not been set.

      What format should I follow to do the same ?
      should I go with ROBO order in such case ?

      {"variety": "STOPLOSS",
      "tradingsymbol": "SBI-EQ",
      "symboltoken": "123",
      "transactiontype":"BUY",
      "exchange": "NSE",
      "ordertype": "STOPLOSS_LIMIT",
      "producttype": "DELIVERY",
      "duration": "DAY",
      "price": "500",
      "squareoff": "0",
      "triggerprice" : "475",
      "stoploss": "474",
      "quantity": "1"}

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