LTP issue


  • cfa3b004-a7f0-43f1-b918-ffe44faf94bb-image.png

    efc8f1dd-4218-4d7e-9276-17f152ecdcc8-image.png

    Ltp exception occurred

    I am looping 25 times if there is a exception at a gap of 0.2 secs !!!

    But still we are unable to fetch the LTP at one point of time .

    My i know reason.
    kindly fix the error
    my algo needs needs ltp other wise it will terminate because of non ltp value.

    this problems was there before but with the exception we could handle buy 0.2 sec time 25 is 5 secs which is too large delay .

    should i increase the loop count more ?
    if i do so my algo will be affected .

    @Moderator_1
    @Moderator_2


  • @Mnagesh @Moderator_1 @Moderator_2
    Same issue from few weeks.


  • @laxm issue occurred exactly afternoon at 13:52:30 secs

    up to 13:52 mins my algo was running fine .

    since I was in work I could not rerun my algo and laptop was in home .

    i am having data upto 13:52 mins and afterword my script terminated due to error in ltp fetch !🙋


  • @laxm 13:52:21 NIFTY25APR2421800CE 372.15
    you can see my last ltp
    and then gone case


  • @Moderator_1
    @Moderator_2

    this the body of our function

    while x < 25:
            try:
                ltp = obj.ltpData(exchange ,symbol, token)    
                
                break 
            except:
                sleep(0.15)
                print('Ltp exception')
                x = x + 1