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

    • Despite the complaint on Catizen, I recently saw a tweet where one KOL showed his excitement for the project. He claimed to staked $cati on Bitget Poolx and earn good apr and further encouraged his followers to participate in other campaigns on the exchange for Catizen players. Even when I feel he was just trying to make his followers to be optimistic and stop wasting time complaining. I still feel citizen team were not transparent to their community. While many continue to call the project scam, I choose to defer because the project has a well-defined roadmap and use case for the token. These I feel might have huge impact in the project development and sustainability in this volatile space. We learn daily so this airdrop hunters should take this as a learning stage and further focus on other opportunities abundant in this industry. Many people only farm for airdrop and don’t care to understand the space and see where they can contribute. Web3 is a revolution and is better to join early and create a niche for yourself that just passing through.
    • There was another 30k CATS for the first 200k users that deposit on Bitget. 
    • MemeFi sounds like a fun mix of gaming and DeFi, plus the chance to trade MEMEFI early on Bitget a good opportunity
×
×
  • Create New...
us