This is the order modification request I am sending: ``` order_id = kite.modify_order(variety='regular',order_id=orderid, quantity=qty, price=price, trigger_price=t_price, tag='A') ```
I get the following error:
>TypeError: modify_order() got an unexpected keyword argument 'tag'
'Tag' param can be send only in order_placement method, not on modify order method call.
code :
kite.modify_order(variety=kite.VARIETY_REGULAR,
exchange=kite.EXCHANGE_NSE,
tradingsymbol='IOC',
transaction_type=kite.TRANSACTION_TYPE_SELL,
quantity=1,
product=kite.PRODUCT_MIS,
order_type=kite.ORDER_TYPE_SLM,
price=None,
validity=None,
disclosed_quantity=None,
trigger_price=114,
squareoff=None,
stoploss=None,
trailing_stoploss=None,
tag=None)
Error:
modify_order() got an unexpected keyword argument 'exchange'