It looks like you're new here. If you want to get involved, click one of these buttons!
order_id = kite.place_order(exchange=kite.EXCHANGE_NSE, transaction_type=kite.TRANSACTION_TYPE_SELL, quantity=1,
product='MIS', order_type='SL-M', validity='DAY', trigger_price='600', variety='REGULAR', tradingsymbol='JUSTDIAL')
Traceback (most recent call last):
File "place_order.py", line 10, in <module>
order_id = kite.place_order(exchange=kite.EXCHANGE_NSE, transaction_type=kite.TRANSACTION_TYPE_SELL,
quantity=1, product='MIS', order_type='SL-M', validity='DAY', trigger_price='600', variety='REGULAR',
tradingsymbol='JUSTDIAL')
File "/Users/mahirjhaveri/Code/auto-trade/venv/lib/python3.7/site-packages/kiteconnect-3.8.1-
py3.7.egg/kiteconnect/connect.py", line 346, in place_order
File "/Users/mahirjhaveri/Code/auto-trade/venv/lib/python3.7/site-packages/kiteconnect-3.8.1-
py3.7.egg/kiteconnect/connect.py", line 821, in _post
File "/Users/mahirjhaveri/Code/auto-trade/venv/lib/python3.7/site-packages/kiteconnect-3.8.1-
py3.7.egg/kiteconnect/connect.py", line 886, in _request
kiteconnect.exceptions.InputException: Invalid `api_key` or `access_token`.
Lemme know if you need any more logs/details. Thanks
You can run pykiteconnect with debug flag true.
regular
and notREGULAR
Thanks