Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs

    Arbitrary output of Python API - Sometimes TOTP failing and Also Historical data fetch failing

    General Discussion
    0
    3
    31
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      webseos last edited by webseos

      When I am running my program with TOTP with python API after 5 fail 6th time program runs as follows also Historical Data Fetch became very arbitrary and most of the time failing with TOTP new system

      1. FAIL:
        E:\projects\python>python mainOTP.py
        Error Occurred in SMARTAPI : Invalid totp | PROGRAM ENDING...

      2. FAIL
        E:\projects\python>python mainOTP.py
        Error Occurred in SMARTAPI : Invalid totp | PROGRAM ENDING...

      3. FAIL
        E:\projects\python>python mainOTP.py
        Error Occurred in SMARTAPI : Invalid totp | PROGRAM ENDING...

      4. FAIL
        E:\projects\python>python mainOTP.py
        Error Occurred in SMARTAPI : Invalid totp | PROGRAM ENDING...

      5. FAIL
        E:\projects\python>python mainOTP.py
        Error Occurred in SMARTAPI : Invalid totp | PROGRAM ENDING...

      6. RUNS SUCCESS
        E:\projects\python>python mainOTP.py

      Choose Option :

      Nifty50 Stocks type 1 ....

      1 Reply Last reply Reply Quote 0
      • W
        webseos last edited by webseos

        Historical Data Fetch became very arbitrary its not INTERNET connection problem. Yesterday night at 1 AM midnight all worked perfectly but today now during market hours now 10 AM around DataFrame not coming I have set a new TOPIC on it. Read the whole post here : https://smartapi.angelbroking.com/topic/2411/python-api-historical-data-fetch-became-arbitrary-dataframe-not-coming-after-totp-has-been-imposed

        1 Reply Last reply Reply Quote 0
        • Y
          yash12392 last edited by

          The same issue with me, arbitrary output, even when passing the correct TOTP input to the program, sometimes it fails, sometimes it connects. Very unreliable.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post