@PaytmMoney I have triggered Bracket Order Buy through API with orderType as ‘SL’. but when i see in app I dont see any trigger price, stop loss value and profit value details. attached the screenshot. and below is the request message.
{
“source”: “N”,
“txn_type”: “B”,
“exchange”: “NSE”,
“segment”: “E”,
“product”: “B”,
“security_id”: “3456”,
“quantity”: 2,
“validity”: “DAY”,
“order_type”: “SL”,
“price”: 801,
“trigger_price”:800,
“profit_value”: 4,
“stoploss_value”: 2
}
2 Likes
Hi @15venkatsai ,
Stop Loss and Target orders are automatically generated once the parent order (leg_no: 1 [Parent]) is executed. You should be able to view two corresponding child orders (leg_no: 2 [Stoploss] & leg_no: 3 [Target]) in the order book.
Feel free to check the order book for these details, and if you have any further questions, please let me know.
Best regards,
hi @PaytmMoney @PaytmMain ,
is it possible to place multiple bracket orders in single payload like below? I tried and could see 400 error
error:
{
“status”: “error”,
“message”: “Oops! Something went wrong.”,
“error_code”: “400”
}
Request:
[
{
“source”: “N”,
“txn_type”: “B”,
“exchange”: “BSE”,
“segment”: “E”,
“product”: “B”,
“security_id”: “500570”,
“quantity”: “10”,
“validity”: “DAY”,
“order_type”: “LMT”,
“price”: “121”,
“profit_value”: “2.0”,
“stoploss_value”: “2.0”
},
{
“source”: “N”,
“txn_type”: “B”,
“exchange”: “BSE”,
“segment”: “E”,
“product”: “B”,
“security_id”: “500570”,
“quantity”: “10”,
“validity”: “DAY”,
“order_type”: “LMT”,
“price”: “121”,
“profit_value”: “2.0”,
“stoploss_value”: “2.0”
}]
@15venkatsai thanks for writing to us. At the moment, we do not support multiple bracket orders in a single payload. We’ve noted your request and will consider it for future improvements.
thanks for the response. when I trigger BO for stocks[example:TATAMOTORS], I am seeing error as the ‘scrip is not allowed for BO’. How can I get list of stocks that are supported under BO?