exit_order return value

vijoeyz
Can you please confirm if exit_order() does not have return a value?
  • sujith
    You can check out documentation here
  • vijoeyz
    Yes @sujith , I had checked documentation already and should have mentioned. My code for exit_order()'s return value was based on it.

    However, the exit_order() in connect.py does not seem to return anything. And also, my script is failing because I based it on what you point, but python's exit_order() has no return value!

    So, I would need a confirmation. Thanks for your help.
  • sujith
    @vijoeyz,
    It seems like exit_order in pykiteconnect is not returning order id. We will ask the team to change the signature.

    But if there is an error in the API call then an exception is thrown. For now, you can handle this.
This discussion has been closed.