Your order price is higher than the current (Though it is within the range)

achchayya
Hi,
I am facing an issue with place_order

Here is the code:
def place_order(ticker, qty, ltp):
try:
kite.place_order(variety=kite.VARIETY_REGULAR,
tradingsymbol=ticker,
exchange=kite.EXCHANGE_NSE,
transaction_type=kite.TRANSACTION_TYPE_SELL,
quantity=qty,
order_type=kite.ORDER_TYPE_LIMIT,
price=ltp,
product=kite.PRODUCT_CNC,
validity=kite.VARIETY_REGULAR)
except Exception as e:
print(f"exception occurred during kite place order {e}")
logging.exception(e)

ticker: SONATSOFTW
qty: 200
ltp: 762.3
----
Lower circuit: 583.80
Upper circuit: 875.60

Getting the following exception:
kiteconnect.exceptions.InputException: Your order price is higher than the current [upper circuit limit](https://support.zerodha.com/category/trading-and-markets/trading-faqs/articles/what-does-circuit-limits-i-e-price-bands-mean) of 234.32. You can place an order within the range or [use GTT](https://support.zerodha.com/category/trading-and-markets/gtt/articles/what-is-the-good-till-triggered-gtt-feature) for long-standing orders.
Sign In or Register to comment.