SergioLage
-
Posts
7 -
Joined
-
Last visited
Content Type
Profiles
Forums
Blogs
Events
Community Tutorials
Store
Posts posted by SergioLage
-
-
Are you using Demo Account or Live Account? I can only get price for it using the Demo Account. For Live Account Brent Cude Oil has a different epic....
-
Hi,
I started trading Brent Crude Oil in IG platform but I could find a formula to correctly calculate the size I have to put while creating a position, based on the available amount I have. The quotation is based in points and it makes me wonder how operate.
Any help is welcome.
Also, I plan to work with some leverage in the future, so any tip on this matter is also welcome.
Thanks.
-
I will keep in mind that a new api key may fix the issue. Thanks for sharing!
-
Hi @mattz00. I had to way for 7 days to be able to get the data again. I removed the "max" parameter and now I control the allowance by myself to avoid getting into this situation again. I still think there is a bug regarding this control. Also, it makes no sense to me having this in a demo environment, basically used to test the code and the algorithms we are developing. There are other ways to avoid issues regarding the infrastructure.
-
I see. But I used the "max" parameter to limit the number of returned points, so how this happened? It seems to me it something is not working ok. Could someone take a look? The URL I used is https://api.ig.com/gateway/deal/prices/CC.D.LCO.UMA.IP?resolution=DAY&from=2012-06-07T00:00:00&to=2020-12-31T00:00:00&pageSize=0&max=5
Also, in order to test the algorithms the DEMO account should be more flexible, and not the other way around. Any plans to have more flexibility in the DEMO account?
Thanks!
-
Hi,
I am using REST API to get historical values (DAY resolution) so I can back test my trading algorithm. I am sure I haven't reach the 10,000 points / historical limit in this week, but I got this error and it seems I will have to wait for 7 days before being able to work with it again. It seems to me there is an issue with the 10,000 points. Is anyone else facing a similar problem with this limit?
Also, is there any plan to have a more flexible limit? I mean, limits related to rate and not to the amount of data?
Thanks!
- 1
Lightstreamer Connect fail on DEMO account
in IG Technical Support - Platform and App Help
Posted
Hi Mf2, would you mind sharing part of your code that connects and handles the IG streaming connection? 🙂