Hi ,
while passing the correct id , i am getting the below response and positions are intact even i refresh it , can some one help
{‘id’: ‘NSE:HINDALCO-EQ-CNC’}
{‘code’: 201, ‘message’: ‘Exit request has been sent. Kindly refresh your positions to check the status.’, ‘s’: ‘ok’}
{‘id’: ‘NSE:UPL-EQ-CNC’}
{‘code’: 201, ‘message’: ‘Exit request has been sent. Kindly refresh your positions to check the status.’, ‘s’: ‘ok’}
Below is the log wich i am writing
2025-07-17 15:22:04,346 - INFO - optimized_strategy.py - exit_all_positions - Position id dict= {‘id’: ‘NSE:HINDALCO-EQ-CNC’} sending for exit at market order
2025-07-17 15:22:09,084 - INFO - optimized_strategy.py - exit_all_positions - Position id dict= {‘id’: ‘NSE:UPL-EQ-CNC’} sending for exit at market order
2025-07-17 15:23:23,947 - INFO - optimized_strategy.py - exit_all_positions - Position id dict= {‘id’: ‘NSE:UPL-EQ-CNC’} sending for exit at market order
2025-07-17 15:23:28,678 - INFO - optimized_strategy.py - exit_all_positions - Position id dict= {‘id’: ‘NSE:HINDALCO-EQ-CNC’} sending for exit at market order
2025-07-17 15:24:53,591 - INFO - optimized_strategy.py - exit_all_positions - Position id dict= {‘id’: ‘NSE:HINDALCO-EQ-CNC’} sending for exit at market order
2025-07-17 15:24:58,337 - INFO - optimized_strategy.py - exit_all_positions - Position id dict= {‘id’: ‘NSE:UPL-EQ-CNC’} sending for exit at market order
2025-07-17 15:25:42,198 - INFO - optimized_strategy.py - exit_all_positions - Position id dict= {‘id’: ‘NSE:UPL-EQ-CNC’} sending for exit at market order
2025-07-17 15:25:46,940 - INFO - optimized_strategy.py - exit_all_positions - Position id dict= {‘id’: ‘NSE:HINDALCO-EQ-CNC’} sending for exit at market order
2025-07-17 15:27:26,175 - INFO - optimized_strategy.py - exit_all_positions - Position id dict= {‘id’: ‘NSE:UPL-EQ-CNC’} sending for exit at market order
2025-07-17 15:27:30,908 - INFO - optimized_strategy.py - exit_all_positions - Position id dict= {‘id’: ‘NSE:HINDALCO-EQ-CNC’} sending for exit at market order
2025-07-17 15:29:41,851 - INFO - optimized_strategy.py - exit_all_positions - Position id dict= {‘id’: ‘NSE:HINDALCO-EQ-CNC’} sending for exit at market order
2025-07-17 15:29:46,591 - INFO - optimized_strategy.py - exit_all_positions - Position id dict= {‘id’: ‘NSE:UPL-EQ-CNC’} sending for exit at market order
2025-07-17 15:30:15,520 - INFO - optimized_strategy.py - exit_all_positions - Position id dict= {‘id’: ‘NSE:HINDALCO-EQ-CNC’} sending for exit at market order
2025-07-17 15:30:20,260 - INFO - optimized_strategy.py - exit_all_positions - Position id dict= {‘id’: ‘NSE:UPL-EQ-CNC’} sending for exit at market order
2025-07-17 15:31:30,746 - INFO - optimized_strategy.py - cancell_all_orders - order id dict= {‘id’: ‘25071700418374’} sending for cancellation
2025-07-17 15:31:34,028 - INFO - optimized_strategy.py - cancell_all_orders - order id dict= {‘id’: ‘25071700418426’} sending for cancellation
**
**