Navigation

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

    Fetching historical daily data for more than 2000 days in a single request?

    Python SDK
    2
    3
    39
    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.
    • V
      Vypy1 last edited by

      Hi, has anyone written a script to fetch daily data for more than 2000 days in a single request?

      My approach right now is to loop through multiple date ranges save the data in a list and concatenate it. I am not sure whether this is the best approach.

      A 1 Reply Last reply Reply Quote 0
      • A
        admin @Vypy1 last edited by

        HI @Vypy1 You can pass multiple date range and append all the data in single dataframe.

        V 1 Reply Last reply Reply Quote 0
        • V
          Vypy1 @admin last edited by

          @admin Hey, yeah I was able to fetch it that way. Thanks.

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