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
  • 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
  • 0

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

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
  • General Statistics

    • Total Topics
      22,148
    • Total Posts
      93,040
    • Total Members
      42,535
    • Most Online
      7,522
      10/06/21 10:53

    Newest Member
    Adge115
    Joined 07/06/23 14:33
  • Posts

    • Look Ahead to 8/6/23: eurozone, Japan growth; US initial jobless claims; Crest Nicholson, MITIE earnings Growth is in focus as investors await eurozone and Japan GDP data, plus keep an eye out for US initial jobless claims ahead of the Fed monetary policy meeting next week. Crest Nicholson and MITIE post results. Angeline Ong | Presenter, Analyst and Content Editor, London | Publication date: Wednesday 07 June 2023              
    • With the price of Brent having failed between $77.50 and $78.50 three consecutive times in the past month, we will go short at $76.70 with a downside target at $72.00 and a stop-loss at $78.55 on a daily chart closing basis. Axel Rudolph FSTA | Senior Financial Analyst, London | Publication date: Wednesday 07 June 2023
    • Charting the Markets: 07 June Indices grind higher. EUR/USD, GBP/USD and USD/CAD struggle to make headway. And WTI and gold trade in low volatility while wheat slips back. Axel Rudolph FSTA | Senior Financial Analyst, London | Publication date: Wednesday 07 June 2023                       This is here for you to catch up but if you have any ideas on markets or events you want us to relay to the TV team we’re more than happy to.
×
×
  • Create New...