while Exiting the position Generally STATUS code : 200 is coming but today due to different code : 201 the logic didn't trigger. as condition was
if sell_response.get('code') == 200:
sell_exit_success = True
why code : 201 comes any specific reason does anyone faced this issue before ?
Getting code: 201 while exiting the open position
3 replies