Navigation

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

    Does smart api allows to place a robo order when ordertype: "LIMIT", (Node.js sdk implementation)

    Bugs
    0
    3
    13
    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.
    • 9
      98jkfe47 last edited by

      Is this valid -
      smart_api
      .placeOrder({
      variety: "ROBO",
      tradingsymbol: "BPCL-EQ",
      symboltoken: "526",
      transactiontype: "BUY",
      exchange: "NSE",
      ordertype: "MARKET",
      producttype: "BO",
      duration: "DAY",
      price: "294.00",
      quantity: "1",
      squareoff: "2.95",
      stoploss: "2.95",
      trailingStopLoss: "0",
      })
      .then(async (orderResponse) => {
      console.log("Order response:", orderResponse);
      })
      .catch((error) => {
      console.error("Error placing order:", error);
      });

      1 Reply Last reply Reply Quote 0
      • A
        admin last edited by

        @98jkfe47 You can use only limit for ROBO orders.

        9 1 Reply Last reply Reply Quote 0
        • 9
          98jkfe47 @admin last edited by

          @admin Thanks for the confirmation

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