Jump to content
  • 0

Navigating Option Chains on IG API


Big_LF

Question

Has anyone found an better way to navigate the option chains on the IG API?

To give an example, the Hierarchy id for all US500 options is 346003 (https://api.ig.com/gateway/deal/marketnavigation/346003).
The nodes for this are option expiarys,  so far so good.  For example "DEC" currently has node id: 407780127
However the nodes for 407780127 are then (annoyingly) groups of strikes "1251-1500","1551-1600"...   ..."5501-6000"
If I want to pull the option data, I need to loop over all the strike groups (over 20 of them!), and this very quickly runs up against API usage limits.

TL:DR Is there a simpler (single call) way to get option price data for a given expiry, like it is provided from the web front end (all prices, puts and calls, by strike)?

Bonus question:  Has anyone figured out the naming convention for monthly Index Option "epic" ids?: 
(as of 25-Oct-23)
US500 DEC-23 4075 Put ==  "OP.D.SPX5.4075P.IP"
US500 MAR-24 3500 Put == "OP.D.SPX2.3500P.IP"
US500 JUN-24 2800 Put == "OP.D.SPX3.2800P.IP"

is there a convention OP.D.SPX{n}......  where n = ???

Link to comment

1 answer to this question

Recommended Posts

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

    • Recently, U.S. Senator Bill Hagerty from Tennessee spoke at the Bitcoin conference, stating his efforts to push for Bitcoin-supportive legislation to promote freedom and opportunity. This year, cryptocurrency has become a key battleground in the election campaigns. It remains to be seen whether future policies on cryptocurrency will improve.
    • 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.
×
×
  • Create New...
us