Jump to content
  • 1

API EPIC list


JPM_76

Question

I'm connecting to the IG API using Google sheets and require a means of searching for the correct EPIC I would like to trade.

Hence I'm looking for a complete lists of the EPIC instrument names for US Shares in any file format.

Can IG please provide this?

Link to comment

3 answers to this question

Recommended Posts

  • -1
8 minutes ago, JPM_76 said:

I'm connecting to the IG API using Google sheets and require a means of searching for the correct EPIC I would like to trade.

Hence I'm looking for a complete lists of the EPIC instrument names for US Shares in any file format.

Can IG please provide this?

Hi @JPM_76

Thanks for reaching out.

Kindly visit this link: https://labs.ig.com/rest-trading-api-reference

You can reach out to webapisupport@ig.com for further assistance on APIs.

Hope this helps.

 

All the best - MongiIG

Link to comment
  • 1

I figured out it is possible to traverse the market navigation endpoint, but it takes about 13h to fetch all markets, because one can make only 30 calls per minute. Here is how it can be done in Python:

https://gist.github.com/mac133k/f15d9a998ac3b25f34886c0029775612

Market data does not include stock codes, but these can be found in instrument data. Instruments can be queried by epic and the endpoint accepts up to 50 epics at time, so at lease this part is faster than the market navigation.

Link to comment
  • 0

It would be nice to have a list of EPICs with the corresponding ticker IDs for offline searching. I get my price data from 3rd parties where instruments are identified by their ticker IDs. The problem with IG API searches is that sometimes I get one match, sometimes multiple matches when I query by ticker ID. Also the query strings cannot be shorter than 3 characters while a lot of TIDs are shorter than that. So basically currently there is no easy way of getting lists of EPICs for all instruments in FTSE100 or SP500 etc. and the larger the index the more painful the process can get.

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
×
×
  • Create New...
us