Skip to content

cant place options orders

scrip=shn.get_instrument_by_symbol('NFO', "NIFTY NOV 16500.0 PE")

order=shn.place_order(transaction_type=TransactionType.Buy, instrument=scrip, InstrumentType=InstrumentType.Index_Option, quantity=50, order_type=OrderType.Market, product_type=ProductType.Margin, price=0.0, trigger_price=None, is_amo=False)