User Log in status & Subscribe Quotes Live Status

VenkateshV
@botany02

Hi i see an issue always the connectivity of KiteAPI (mostly no issues) however at times i observed the KiteAPI Connectivity get not and still i see the Subscribe Quotes status as "True" but quotes not coming...main reason being User Log in status & Subscribe Quotes Live Status doesn't get updated live all the times. hence i have no clue whether i am active on my KiteAPI or not and executing a strategy with this situation is almost quite risky.

Also at present i do not get the Order execution status, which is vital for my exit/profit booking strategy.

Any workaround to overcome above all issues on your existing KiteXL version?

Regards
Venkatesh V
  • botany02
    botany02 edited December 2017
    @VenkateshV ,

    Even after a user logouts from API, kite server will still send streaming quotes.
    Effectively, you will be getting quotes irrespective of whether you logged-out or not.

    Only on placing new order or any GET/POST request, you will come to know about your logout.

  • venun
    In your program, check your login status, if true run api else stop api
  • VenkateshV
    @venun
    Pls let me know on what attribute or UDF can i verify the login status, Pls advise
Sign In or Register to comment.