It looks like you're new here. If you want to get involved, click one of these buttons!
# Place an order
try:
order_id = kite.order_place(tradingsymbol=entry["symbol"],
exchange="NSE",
transaction_type="BUY",
quantity=qty,
price=quote["last_price"],
stoploss_value=trigger,
squareoff_value=target,
trailing_stoploss=1,
order_type="LIMIT",
validity="DAY",
product="MIS",
variety="BO")
print("Order placed. ID is", order_id)
except Exception as e:
print("Order placement failed", e.message)
----------------- ERROR ----------------------