Jump to content
  • 0

The one-to-many relationship EPICs have with instruments


Guest Benjamin

Question

Guest Benjamin

When I first began to use the IG REST API, I believed that EPICs were unique instrument identifiers: that a given EPIC would always correspond to a specific instrument and that this instrument would never change.

 

However, I have recently discovered that this is untrue. For example, there are 19 daily Japan 225 tunnels available, which always have a set of corresponding EPICs of the form BT.D.NIK._.IP, where _ can take a value from 1 to 19. However, the size of tunnel specified by any given EPIC changes. Last week, BT.D.NIK.1.IP was +/-120 points, at the time of posting this it is +/-160 points.

 

This causes issues and opens questions.

  1. Are all EPICs mutable in this way? If not, which are and which are not?
  2. If I would like to programatically pull historical data or open positions on a market such as the Japan 225 daily tunnels, how can I be sure of what I am doing - I wouldn't want to open a position on a 160 tunnel when I thought it was 120?
  3. For the Japan 225 daily tunnels, there are historical prices going back to 2012-05-28; do these data correspond to the price for the EPIC (i.e. a whole bunch of different tunnel sizes), or the price for the given tunnel size, i.e. always 120? If the latter is true, it would be exceedingly useful to be able to pull data for all tunnel sizes that you store, rather than only the ones offered at the present time; however, if this is the case, are you computing prices for tunnels not currently offered, or are days simply missing for this? If they are computed, are these prices likely to be different to live prices (i.e. are live prices affected by demand in a way that unavailable prices are not?). Is what is true for the Japan 225 daily tunnels also true for other markets with one-to-many EPIC-instrument relationships?
  4. What is behind IG's decision to switch to different tunnel sizes in this case, and in others? - the Wall St and FTSE daily tunnels do not appear to switch (have they ever?).
  5. How can I know when switches have occurred?
  6. What else should I be aware of on this issue?

I need to make sure that I am analysing the correct data and opening the correct positions.

Link to comment

4 answers to this question

Recommended Posts

Hi ,

 

You're correct in that we do reuse some EPICs over the each trading day. For the most part each EPIC will be stable over the trading day so, for instance, if the FTSE ladder 1 is to be above 6500 when it comes on, it will be that all day.  It almost certainly won’t be that day to day and will refer to a different strike price. The only difference is with touches and tunnels. This is because as soon as a binary touch/tunnel is triggered it becomes untradeable which gives us the option to reuse the EPIC for another touch. For instance if FTSE touch 1 is to touch 6500 and at midday this happens, the touch would go offline and we would reuse to the EPIC  to put on a 6550 touch. So from a historical data point of view it’s not very useful information because for half of the day the EPIC will be referring to the 6500 strike and for the other half the 6550 strike.

 

So in relation to your questions, our Binary desk have provided the following:

 

  1. All EPICs will change on a day to day basis and in some cases when a strike has been hit for touches and tunnels they may change intraday.
  2. It's not possible to pull data for a specific tunnel size, as the EPIC for a specific tunnel may be different one day to the next. 
  3. Historical prices will be for each EPIC not each tunnel size and you're correct in thinking there will be days when certain tunnel sizes are not priced, since we only have a limited number of EPICs so use them for relevant tunnel sizes.
  4. We switch different tunnel sizes. If the Nikkei were to be about to open up down 500 points there is no point offering any tunnel before say +/-520 points so that is where we will start. Conversely if the Nikkei were to be in a low vol period and about to open up unchanged we would not feel it worthwhile offering the +-520 tunnel. The FTSE and DOW tunnels will almost certainly have changed at some point in the time frame you mention, but they change less often as the Nikkei often has bigger moves.

I hope that helps!

 

Dan

Link to comment
Guest Benjamin

Thanks for the info , this makes sense. I have a couple of follow up questions.

 

When making trades via the API, I would like to be sure of precicely what is being traded. Is the preferred/only way to check what a specific EPIC corresponds to, to check its name (e.g. "Daily N225 Cash to keep in range -460 to +460")?

 

If they did, do you happen to know when the DJIA and FTSE tunnels changed in the past, and if possible what these changes were? It would be really useful to be able to query what any given historical data point corresponded to specifically.

 

Thanks

Link to comment
Guest DanC

Hey Benjamin,

 

Apologies for the delayed response on this. Our developers have confirmed that instrumentName is the only way to check what a specific epic refers to. Unfortunately we don't keep a record of the changes to the tunnels, nor is there anyway to pull this via the API, but our developers have taken note too see if they can make it easier to consume this data via the API.

 

Hope that helps,
Dan

Link to comment

Archived

This topic is now archived and is closed to further replies.

  • image.png

  • Posts

    • Hae, crypto degenerates! 👋 Your boy's got the inside scoop on a DeFi gem that's about to blow up! LOGX Network is dropping on Bitget on September 24th, and I'm all in. Here's why I'm losing sleep over this: It's not just another DeFi clone. We're talking AI-powered trading, gasless transactions, and perpetual markets. It's like the lovechild of a hedge fund and a crystal ball! These madlads raised $10.1M from big dogs like Hashed Emergent. That's some serious validation! 67% of tokens going to the community? They're practically handing us the keys to the kingdom! A Cross-chain liquidity from Binance, Coinbase, and OKX. It's like the Avengers of crypto, assembled in one place! Airdrop alert! 🚨 Claims going live on Arbitrum. Free money, anyone? Look, I'm just a dude who likes to ape into promising projects, but LOGX is ticking all my boxes. It's innovative, community-focused, and backed by some serious players. Am I saying mortgage your house for this? Hell no! But maybe skip a few lattes and throw some change at it? Could be your ticket to lambo-land! What do you think? Is LOGX the next big thing or am I huffing too much hopium? Drop your thoughts below! 👇 Remember, DYOR and don't bet your lunch money. But also... don't miss out on potentially the hottest DeFi project of 2024!
    • Cardano (ADA) has seen an impressive 9% increase in price, rising from $0.3251 on September 7 to $0.3545 by September 15. This surge is linked to the announcement from The Artificial Superintelligence Alliance that their FET token is now live on the Cardano blockchain. Why Cardano? The ASI alliance chose Cardano for its strong security, fast transaction speeds, and low fees. This decision has reignited interest in the Cardano ecosystem, and many investors are paying attention. ADA Price Target Looking ahead, analysts believe ADA might aim for $0.5 in the coming days. With a positive Relative Strength Index (RSI) supporting this prediction, the ADA price target of $0.5 seems attainable. A boost in buying volume could help ADA break through this level, and if it does, the next target could be around $0.6. Ecosystem Expansion Cardano is also growing with innovations like the Iagon bridge, which allows asset transfers between Cardano and Ethereum. Additionally, ADA holders are considering investments in promising projects like Rollblock, currently in its 6th presale and promising potential returns of up to 200x. Conclusion As the broader crypto market rebounds, will Cardano continue its upward trend, or will it face challenges ahead? Stay tuned!    
    • Soybean Elliott Wave Analysis The soybean market is currently retracing within a long-term corrective structure that has developed since the peak in June 2022. While short-term upside potential appears likely, the overarching trend suggests that a significant sell-off is poised to resume, potentially driving prices toward the lows seen in 2020. Long-Term Perspective Before the decline that began in June 2022, soybeans experienced a robust bullish impulse wave starting in May 2019, which propelled prices from approximately $806 to significant highs. However, over the past 26 months, the market has surrendered more than two-thirds of those gains. From an Elliott Wave standpoint, the current corrective phase is forming a three-swing pattern, a typical structure within corrective waves that indicates a complex retracement. Daily Chart Analysis On the daily chart, we observe this corrective structure unfolding at the primary wave degree. Wave A reached its conclusion at $1,249 in October 2023, followed by Wave B, which peaked at $1,398 in November 2023. Presently, we are witnessing the formation of Wave C to the downside. Within this unfolding Wave C, sub-waves (1), (2), and (2) of 5 have already been completed. The market is now experiencing a retracement in Wave (4), currently trading above the significant level of $1,000. A key question arises: how high can this Wave (4) rally extend? H4 Chart Analysis Zooming into the H4 chart, we find that Wave (4) has completed its first sub-wave, denoted as Wave A. The bullish reaction observed since September 11, 2024, suggests that Wave B may have concluded. For confirmation that Wave B has indeed ended and that we are transitioning into Wave C, the price must break above the high of Wave A. Should this scenario play out, we could expect Wave C to advance toward the $1,070 level. Alternatively, if the price fails to surpass the high of Wave A, it may indicate that Wave B is set to make another minor leg down, dipping slightly below $1,000 before establishing a solid support base to initiate Wave C. Technical Analyst : Sanmi Adeagbo Source : Tradinglounge.com get trial here!  
×
×
  • Create New...
us