Extracting historical data

mohit77bansal
Every time, i tried to extract historical data for multiple stock, i am getting ClientNetworkException: Gateway timed out error. My internet is preety stable and fast, still facing the issue
  • Kailash
    Can you share the request you are sending?
  • Kailash
    Can you share the request you are sending?
  • mohit77bansal
    i can mail you the code, if you can provide me your email id
  • Vivek
    @mohit77bansal You can either send private message here on the forum or send to talk@rainmatter.com and give reference to this thread.
  • mohit77bansal
    Basically, through historical data, we get 1 minute for a month only, so i tried to extract them for a year using a loop, after some n iteration it throw me error : " ClientNetworkException: Gateway timed out".

    So, should i run my loop in small batches or it is some network issue?
  • Vivek
    @mohit77bansal Gateway timeout is intermittent you can safely catch it and retry the request. Also note that we have rate limiting in place so please be sure you are not exceeding the limit.
Sign In or Register to comment.