Hi Traders,
I am new to this forum.
I am not able to modify orders using fyers python API. Its giving me following error.
{'s': 'error', 'code': -174, 'message': 'Error Occured Please Contact System Administrator', 'id': '52108248253'}
My order modification request is as follows:
fyers.modify_order({'id': '52108248253', 'qty': 200, 'type': '1', 'limitPrice': '220.0', 'stopPrice': '0.0'})
Initial order details as follows:
{'orderDateTime': '24-Aug-2021 16:34:43', 'id': '52108248253', 'exchOrdId': '0', 'side': 1, 'segment': 11, 'instrument': 14, 'productType': 'INTRADAY', 'status': 'PENDING', 'qty': 150, 'remainingQuantity': 150, 'filledQty': 0, 'limitPrice': 225.0, 'stopPrice': 0.0, 'type': 1, 'discloseQty': 0, 'dqQtyRem': 0, 'orderValidity': 'DAY', 'source': 'W', 'slNo': 1, 'fyToken': '101121082650820', 'offlineOrder': True, 'message': '', 'orderNumStatus': '52108248253:6', 'tradedPrice': 0.0, 'exchange': 10, , 'symbol': 'NSE:BANKNIFTY21AUG35600PE', 'ch': -369.1, 'chp': -71.1, 'lp': 150.0, 'ex_sym': 'BANKNIFTY', 'description': '21 Aug 26 35600 PE', 'buy_sell': 'BUY'}
I have tried the same with all order types.. but nothing is working.. probably it I am missing Something.
Please help me out with this.. >
Thanks,
Shivdas