Order placement

MANIK
# Place Order
order = kite.place_order(variety=kite.VARIETY_REGULAR,
exchange=kite.EXCHANGE_NFO,
tradingsymbol="ADANIENT22NOVFUT", (What is the code for option)
transaction_type=kite.TRANSACTION_TYPE_BUY,
quantity=1,
product=kite.PRODUCT_MIS,
order_type=kite.ORDER_TYPE_MARKET,
price=None,
validity=None,
disclosed_quantity=None,
trigger_price=None,
squareoff=None,
stoploss=None,
trailing_stoploss=None,
tag=None)
console:
Traceback (most recent call last):
File "C:\Users\mjmjm\PycharmProjects\combine - oRIGN\BANK1.py", line 15, in
order = kite.place_order(variety=kite.VARIETY_REGULAR,
File "C:\Users\mjmjm\PycharmProjects\combine - oRIGN\kite_trade.py", line 134, in place_order
order_id = self.session.post(f"{self.root_url}/orders/{variety}",
TypeError: 'NoneType' object is not subscriptable
This discussion has been closed.