API Reliability Issue

sabyasm
sabyasm edited September 2016 in Python client
Dear Team,

I do not know about others - but every single day for last few weeks I face one or more failure. It's like winning a small lottery the day when all the orders are placed via API as intended (leave aside the profit making intention) .

After every trading session I login into console just to see what went wrong today. And most of the day - it's either OMS timeout or something else. I am getting sick of putting an if exception->then retry block on every piece of code, even a simple call like kite.orders(). I know you guys are working hard for the solution but this can not go on every day. The error message obtained from the API isn't descriptive enough. Could you please have a look?

Also - would you like to see a flood of error message like this for a paid product? There should be some sort of comp off arrangement made between Zerodha and TR so that the end users get their brokerage/pro-rated subscription fees back in case of reliability issue.

Just want to make sure that I do not have anything against the Zerodha dev team. You guys are fabulous - specially @vivek and @Kailash. Just wanted to share my issue/opinion.

################################################################################
Thu Sep 8 15:16:09 2016 : 160907000102874 : failed to place exit order. Error message: Could not exit order
Thu Sep 8 15:16:09 2016 : 160907000089668 : failed to place exit order. Error message: Could not exit order
Thu Sep 8 15:16:09 2016 : 160907000112808 : failed to place exit order. Error message: Could not exit order
Thu Sep 8 15:16:10 2016 : 160907000092179 : failed to place exit order. Error message: Could not exit order
Thu Sep 8 15:16:10 2016 : 160907000112162 : failed to place exit order. Error message: Could not exit order
Thu Sep 8 15:16:10 2016 : 160907000113388 : failed to place exit order. Error message: Could not exit order
Thu Sep 8 15:16:11 2016 : 160907000092306 : failed to place exit order. Error message: Could not exit order
Thu Sep 8 15:16:11 2016 : 160907000112449 : failed to place exit order. Error message: Could not exit order
Thu Sep 8 15:16:11 2016 : 160907000113710 : failed to place exit order. Error message: Could not exit order
Thu Sep 8 15:16:12 2016 : 160907000114037 : failed to place exit order. Error message: Could not exit order
Thu Sep 8 15:16:12 2016 : 160907000115114 : failed to place exit order. Error message: Could not exit order
Thu Sep 8 15:16:12 2016 : 160907000116140 : failed to place exit order. Error message: Could not exit order
Thu Sep 8 15:16:13 2016 : 160907000114517 : failed to place exit order. Error message: Could not exit order
Thu Sep 8 15:16:13 2016 : 160907000115596 : failed to place exit order. Error message: Could not exit order
Thu Sep 8 15:16:13 2016 : 160907000116638 : failed to place exit order. Error message: Could not exit order
Thu Sep 8 15:16:14 2016 : 160907000114803 : failed to place exit order. Error message: Could not exit order
Thu Sep 8 15:16:14 2016 : 160907000115891 : failed to place exit order. Error message: Could not exit order
Thu Sep 8 15:16:15 2016 : 160907000116894 : failed to place exit order. Error message: Could not exit order
Thu Sep 8 15:16:15 2016 : 160907000117162 : failed to place exit order. Error message: Could not exit order
Thu Sep 8 15:16:16 2016 : 160907000120102 : failed to place exit order. Error message: Could not exit order
Thu Sep 8 15:16:15 2016 : 160907000119793 : failed to place exit order. Error message: Could not exit order
Thu Sep 8 15:16:16 2016 : 160907000117679 : failed to place exit order. Error message: Could not exit order
Thu Sep 8 15:16:17 2016 : 160907000119874 : failed to place exit order. Error message: Could not exit order
Thu Sep 8 15:16:17 2016 : 160907000120281 : failed to place exit order. Error message: Could not exit order
Thu Sep 8 15:16:18 2016 : 160907000120017 : failed to place exit order. Error message: Could not exit order
Thu Sep 8 15:16:18 2016 : 160907000120708 : failed to place exit order. Error message: Could not exit order
Thu Sep 8 15:16:19 2016 : 160907000120843 : failed to place exit order. Error message: Could not exit order
Thu Sep 8 15:16:19 2016 : 160907000121181 : failed to place exit order. Error message: Could not exit order
Thu Sep 8 15:16:18 2016 : 160907000119649 : failed to place exit order. Error message: Could not exit order
Thu Sep 8 15:16:20 2016 : 160907000120954 : failed to place exit order. Error message: Could not exit order
Thu Sep 8 15:16:20 2016 : 160907000121307 : failed to place exit order. Error message: Could not exit order
Thu Sep 8 15:16:21 2016 : 160907000121084 : failed to place exit order. Error message: Could not exit order
################################################################################
BTW - I would be very interested to know what went wrong for the above mentioned order_ids
  • sabyasm
    sabyasm edited September 2016
    Error today:

    @vivek/others - any chance to have a look on the orderids for yesterday/today to see what type of error happened?



  • Kailash
    @sabyasm We absolutely understand your concern. "MSG_FAILURE" (as unhelpful as it gets) is a mysterious error thrown by the TR OMS. I've forwarded the log to them, and I'm awaiting a response.

  • fury1984
    @sabyasm Are you still facing this issue? Or things improved?
Sign In or Register to comment.