@admin Thanks for the confirmation
98jkfe47
@98jkfe47
Best posts made by 98jkfe47
Latest posts made by 98jkfe47
-
Can we have a ROBO order without stoploss, I mean with just the price and squareOff values defined while stoploss and trailingStopLoss being set to "0"
Is this a valid request (trying to make a ROBO order a two-legged order)
variety: "ROBO",
tradingsymbol: "BPCL-EQ",
symboltoken: "526",
transactiontype: "BUY",
exchange: "NSE",
ordertype: "LIMIT",
producttype: "BO",
duration: "DAY",
price: "294.00",
quantity: "1",
squareoff: "2.95",
stoploss: "0",
trailingStopLoss: "0", -
Does smart api allows to place a robo order when ordertype: "LIMIT", (Node.js sdk implementation)
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);
});