trigger order

nikhil154
How do i place a trigger order ?
this is what i executed but does not seem to work

-----------------------------------------------------------------------
def placetriggerorder(scrip,qty,call,buyprice,sl):
kite.place_order(variety="REGULAR",
exchange="NSE",
tradingsymbol=scrip,
transaction_type=call,
quantity=qty,
product="MIS",
order_type="SL",
price=buyprice,
trigger_price=sl)
----------------------------------------------------------------------
tried the below, but did not work
placetriggerorder("ITC",1,"BUY",282,280)
placetriggerorder("ITC",1,'BUY",282,2)



kindly help .....
This discussion has been closed.