`tag` in modify order is leading to error?

healthsecure15
Hi,

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'

Is there a different way to add tag here?

The modify goes through without the tag.

Thanks

  • disakar
    i am getting below error while modifying my order

    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'

  • rakeshr
    You don't have to send exchange, tag, transaction_type, etc params to modify open pending order. You can check all required modify order params here.
Sign In or Register to comment.