I am getting the below error: RuntimeError: dictionary changed size during iteration
I am using the below line of code(refer http://www.profitaddaweb.com/2017): OD1=kite.order_place('NSE','YESBANK','BUY',1,validity='DAY',trigger_price=293,variety='co')
Hi @RajeshSivadasan , You are missing value for 'product' and 'order_type' and for variety, you are entering double value, as first parameter 'NSE' will also be taken as variety by default(if not initialized to any other parameter).Go through this documentation, to know about parameter need to be send for order placement.
Thanks @vivek and @rakeshr for the inputs. I am new to python and was trying to get the code(kite 2) running looking at examples online. Will work with the v3 version. Thanks for the documentation links.
You are missing value for 'product' and 'order_type' and for variety, you are entering double value, as first parameter 'NSE' will also be taken as variety by default(if not initialized to any other parameter).Go through this documentation, to know about parameter need to be send for order placement.
Please check latest documentation here - https://kite.trade/docs/connect/v3/ and latest Pykiteconnect release - https://github.com/zerodhatech/pykiteconnect/releases/tag/v3.7.0-beta1