Vivek, Please check this. This happens sometimes and if I close the terminal and run again it runs fine but comes up sometimes.
error from callback >: local variable ‘c’ referenced before assignment
I am unable to cancel BO order. The error msg is as below:
print (kite.order_cancel('160607000057123', variety='bo', parent_order_id='1
60607000057122'))
File "D:\Kan\API_Test\kiteconnect\__init__.py", line 309, in order_cancel
"parent_ord…
I tried placing BO using the following:
exchange="NSE",
tradingsymbol="IDFC",
transaction_type="BUY",
quantity=1,
price=50.7,
product=None,
order_type="MARKET",
validity="DAY",
disclosed_quantity=None,
trigger_price=50.7,
squareoff_value=5…
Even if I use the possible values as per the doc, it shows the same error:
Traceback (most recent call last):
File "historical.py", line 24, in
print kite.historical(1793, "2016-05-09" , "2016-05-09", "day")
File "D:\Kan\API_Test\kiteconne…