i want to update stop loss to the existing position and i am getting this error when i click through python code please help me
Nifty50: Updating SL for NSE:NIFTY2651924200CE
Order ID: 26051800258189
LTP: 3.75
New SL Trigger: 3.0
New SL Limit : 2.0
Nifty50: Basket Modify Response → {‘code’: 200, ‘message’: ‘’, ‘data’: [{‘statusCode’: 400, ‘body’: {‘code’: -52, ‘message’: ‘Not a pending order’, ‘s’: ‘error’}, ‘statusDescription’: ‘Bad Request’}, {‘statusCode’: 400, ‘body’: {‘code’: -52, ‘message’: ‘Not a pending order’, ‘s’: ‘error’}, ‘statusDescription’: ‘Bad Request’}, {‘statusCode’: 400, ‘body’: {‘code’: -52, ‘message’: ‘Not a pending order’, ‘s’: ‘error’}, ‘statusDescription’: ‘Bad Request’}], ‘s’: ‘ok’}