Jump to content
  • 1

error.public-api.exceeded-account-historical-data-allowance


SergioLage

Question

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! 

 

  • Like 1
Link to comment

8 answers to this question

Recommended Posts

  • 0
9 hours ago, SergioLage said:

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! 

 

Hi @SergioLage

Thanks for reaching out. 

You might have to retrieve one point of data and you will be able to see what's left of your allowance. But if you have used up all your data then the error historical allowance exceeded will confirm. 

We can only provide 10,000 points for all our clients. 

Thanks,

OfentseIG
 

Link to comment
  • 0

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!

 

Link to comment
  • 0

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.

Link to comment
  • 0

Hello,
I get this error when calling historical data via API :

Exception: error.public-api.exceeded-account-historical-data-allowance

However, both API companion (using the same credentials) reports 

            "remainingAllowance": 9450,
            "totalAllowance": 10000,
            "allowanceExpiry": 524396
and the Excel IG Web trading API allow me to call in historical data !!!
It must be my Python code right ?
How can I find out the problem if the reported error is "exceeding limits" ?
Here is the request to make sure I am not going mad.
Help please...
result = ig_service.fetch_historical_prices_by_epic(epic ="CS.D.EURUSD.CFD.IP", resolution ='D', numpoints=10)
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
  • image.png

  • Posts

    • DogeDay always brings back memories of 2019 when my friends were diving into Dogecoin and joining farming activities. That's why I'm excited to explore the Bitget DogeDay giveaway event. Plus, with tomorrow's BTC halving, the excitement is doubled!
    • As a meme fan, I have been waiting patiently for the Bull trend that happened to BTC recently to get to all the alts and so we can have what we had back then in 2021 to happen again, but time the strength of the uptrend has not been able to match up with what I am expecting and I do hope that the halving will help, but looking at the hype that is usually expected from the meme community. I don't think I'll be able to wait for the trend to resume and so I am taking more steps ahead of the game, taking up all the opportunities I believe would help the price-trend of my holdings, especially for the DOGE memes and I have found this DOGEDAY event ongoing and it really made a lot of sense to me, because if we look at how the DOGE coins have performed in the past. I believe if we can have a Bitcoin day to celebrate the first cryptocurrency, then we should be able to have a DOGEDAY too looking at the success rate of the meme and the support from the community. For me, this is something special that is worth the energy, vibes and hype and worth participating it. There are different sections to the event, which include the Twitter part, where Bitget is sharing $3,00 to those participating( https://twitter.com/bitgetglobal/status/1780495739984150962Twitter Post ) and the telegram event, and I believe this will favour those that love to bet on the price of coins. They are sharing 100BGB tokens for this and the Discord event has a 90BGB token to be shared.  If we can have Bitcoin's day, then this DOGEDAY should be observed in all the DOGE communities and I will admonish meme lovers to observe events like this because it reflects the nature of memecoin and the hype around it.
×
×
  • Create New...
us