PHP API : What should be the PRODUCT attribute value for the Bracket Order

sachinstlko09
I am trying to place following bracket order:

$kite->orderPlace([
"tradingsymbol" => "SBIN",
"exchange" => "NSE",
"quantity" => 1,
"transaction_type" => "BUY",
"order_type" => "LIMIT",
"product" => "BO",
"price" => "254.40",
"squareoff_value" => "0.30",
"stoploss_value" =>"0.30",
"validity" => "DAY",
"variety" => "bo"
], "regular");

It throws following error:
Uncaught OrderException (400) 'Invalid `product` for that order variety.
Sign In or Register to comment.