Jump to content
  • 1

Access historical data


Michael1964

Question

Can anyone advise me on how to obtain all the pricing data (1 min resolution) on IG for the past 10 years? I'm doing a research paper and need to run simulations which I'm happy to share with anyone who can help. I cannot seem to retrieve much via the API companion, given the 10,000 data points limit. The IP companion also doesn't appear to provide 1 min resolutions. I can only get 10 min resolutions. 
Is there anyone who can help me with the harvesting of the data? 

Link to comment

6 answers to this question

Recommended Posts

  • 0
16 hours ago, bug-or-feature said:

My advice would be to not attempt to do anything like this. "All the pricing data at 1min resolution" is an absurd amount of data. The IG platform is not a good place to try anything like this, due to the number of markets on offer, and the rate limitations.

There are plenty of other platforms where you can obtain financial pricing data, either paid or free

Thank you for your response. Rate limitations indeed.
Unfortunately my research is based on a spread hypothesis of all the indices on IG. 
I've looked at other platforms but cannot find anything that covers all the indices. Which platform would you recommend as being the most comprehensive? 

Link to comment
  • 0

Ah, well firstly "all the indices on IG" is a lot less than "all the pricing data". It's still a lot. Spread bets, CFDs, something else?

A lot depends what your hypothesis is. Are you investigating spread values? If so, you could get the prices from somewhere else, and sample the IG spread using the Streaming API. With that API you can be subscribed to 40 instruments concurrently. See here

Platform choice is a big subject, probably not a question for this forum - I'm sure you have great Google skills being a researcher. But you could start with Yahoo Finance, Google Finance or AlphaVantage

  • Like 1
Link to comment
  • 0
18 hours ago, SmitBret said:

First, you can use the IG API with pagination and aggregation. Although the IG API has a limit of 10,000 data points per request, you can paginate through the data and aggregate it yourself. This will involve writing a script that requests data in chunks and then stitches them together. To do this, you need to determine the date range by calculating the total number of minutes in 10 years, set up pagination by making API requests in a loop, each time requesting the next chunk of 10,000 data points until you have covered the entire date range, and handle API limits by incorporating necessary delays between requests to avoid getting blocked.

Unhelpful - the IG API for historic data has a limit of 10,000 data points per week, not per request. See

https://labs.ig.com/faq.html

under "Limits"

Link to comment
  • -1

My advice would be to not attempt to do anything like this. "All the pricing data at 1min resolution" is an absurd amount of data. The IG platform is not a good place to try anything like this, due to the number of markets on offer, and the rate limitations.

There are plenty of other platforms where you can obtain financial pricing data, either paid or free

  • Like 1
  • Thanks 1
Link to comment
  • -1

First, you can use the IG API with pagination and aggregation. Although the IG API has a limit of 10,000 data points per request, you can paginate through the data and aggregate it yourself. This will involve writing a script that requests data in chunks and then stitches them together. To do this, you need to determine the date range by calculating the total number of minutes in 10 years, set up pagination by making API requests in a loop, each time requesting the next chunk of 10,000 data points until you have covered the entire date range, and handle API limits by incorporating necessary delays between requests to avoid getting blocked.

If the IG API is not feasible, consider alternative data sources. Services like Quandl, EOD Historical Data, or Alpha Vantage may offer historical minute-by-minute data, though some of these services might require a subscription. Brokerage platforms or brokers like Interactive Brokers or MetaTrader might also provide extensive historical data to their customers.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • image.png

  • Posts

    • The digital landscape is undergoing a profound transformation as attention, once a freely given commodity, is increasingly recognized as a valuable asset. Layer3 is at the forefront of this revolution, pioneering a new economy where attention can be owned, traded, and monetized   This innovative approach empowers individuals to monetize their engagement, providing unprecedented control over personal data. Simultaneously, advertisers benefit from transparent metrics that optimize campaign performance. Content creators are presented with diverse revenue avenues beyond traditional advertising, while the overall ecosystem experiences a more equitable distribution of value.   The implications of Layer3 extend across various sectors. Social media platforms, for instance, can leverage this technology to revolutionize user engagement and monetization strategies. Tokenomics play a crucial role in driving Layer3's economy, incentivizing participation and rewarding value creation. While challenges such as data privacy and market volatility exist, the potential benefits of Layer3 are immense   Anticipation is building as its native token $L3 is on Bitget Pre-market as users await its listing on the exchange. This milestone is expected to significantly increase the token's visibility and accessibility, potentially driving substantial growth and attracting new investors. As the countdown begins, the crypto community watches with keen interest, eager to see how Layer3 will perform in this new chapter.
    • I've been exploring the world of play-to-earn gaming recently, looking for something that's not just about endless grinding but actually offers a fun and rewarding experience. OGC really stood out to me because it combines gaming with a sense of community in a unique way. OGC isn't just a game; it's a platform where you can play, earn, and even help shape its future. You're not just a player; you're part of a community with a voice. The idea of earning crypto while playing games is exciting, but what makes OGC special is its focus on community involvement. Your feedback can directly influence the development of the game, which is a big deal. I've also heard that the OGC token is available for pre-market trading on Bitget. While I'm still getting to know the platform and its features, it's definitely something to keep an eye on. Has anyone else tried OGC? What has your experience been like? I'd love to hear your thoughts and any tips you might have.
    • I am anticipating the impact of this listing on Mongy. 
×
×
  • Create New...
us