Jump to content

colintbowers

Community Member
  • Posts

    7
  • Joined

  • Last visited

  • Days Won

    1

colintbowers last won the day on November 17 2023

colintbowers had the most liked content!

colintbowers's Achievements

Occasional Contributor

Occasional Contributor (2/10)

1

Reputation

  1. Thanks so much for the quick response. Yep, setting pageSize=0 sorted the issue out for me. I never understood what that option did until now. Thanks again! -Colin
  2. The following url string for a HTTP GET request for historical price data via the rest api: "https://api.ig.com/gateway/deal/prices/IX.D.ASX.IFT.IP?resolution=MINUTE&from=2023-11-14&to=2023-11-15&max=9999" will only return 20 observations. In fact, no matter what I try, I can't seem to get more than 20 observations in one go. I've checked the allowance and I have thousands left. There just appears to be some sort of cap preventing me from getting more than 20 observations at a time. If anyone can see what is wrong, I'd be much obliged. Cheers, Colin
  3. Okay, so I need to use version=1 when I initiate the session, but version=3 in the header when I request historical prices data. Note that when I request markets data it is fine to have version=1 in the header. Anyway, problem solved.
  4. Actually it might be a problem in the header. I just realized my header was using Version=1 but in the API Companion it has Version=3. Will keep experimenting...
  5. Hi, Using the API Companion, the URL string: "https://api.ig.com/gateway/deal/prices/IX.D.ASX.IFT.IP?resolution=MINUTE_30&from=2023-11-06&to=2023-11-07" works fine. But when I try making an HTTP GET request using the same url string (literally copy-pasted), I get a 404 not found error. However, if I make an HTTP GET request using: "https://api.ig.com/gateway/deal/markets/IX.D.ASX.IFT.IP" it works fine. So I don't think the problem is in my header data, but rather must be in the URL string somehow. Any ideas? Cheers and thanks in advance to all responders. Colin
  6. Hi, I've attached a screenshot from the web trading platform for daily options on the Australia 200. Over on the left you can see the index level for the Australia 200 is at 5943.4. But then on the right, on the options dealing screen, the index level is written as 5915.13. That's a pretty big difference. I'm guessing one of these two numbers is not what I think it is. Can anyone explain which number is correct and why they are different, or this just some sort of temporary bug? Note, I took this screenshot on 2020-06-30 at 10:45am Sydney time. Cheers and thanks in advance to all responders. EDIT: I forgot to add, this is the live platform, not the demo. So I would not have thought this was a 20-minute delayed data issue...
  7. Hi all, Does anyone know how to "roll-over" a daily option on a watchlist? For example, let's say I add a daily expiry call option on the US 500 with strike price 2800 to one of my watch lists today. At the end of the day, the option expires, and it is automatically removed from my watch list. Tomorrow comes and I want to watch the same option again, that is, daily call on the US 500 with strike price 2800. I have to manually re-add it to my watchlist. Is there any way to automate this process? Cheers, Colin
×
×
  • Create New...
us