ERROR 403 when getting currency cross historical data

See original GitHub issue

As I know, both get_stock_recent_data and get_stock_historical_data are fixed. But “get_currency_cross_historical_data” has same issue still.

import investpy

yesterday = '19/07/2022'
today = '20/07/2022'

fx_df = investpy.get_currency_cross_historical_data(currency_cross='USD/KRW', from_date=yesterday, to_date=today)
print(fx_df)
  File "D:\Anaconda3\lib\site-packages\investpy\currency_crosses.py", line 674, in get_currency_cross_historical_data
    raise ConnectionError(
ConnectionError: ERR#0015: error 403, try again later.

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
alvarobarttcommented, Oct 4, 2022

Yes @PrinceMalaba I found a solution that I’ve developed in investiny usage is limited, but it works fine. And, I’ve just released investiny v0.3.0 with search_assets function to mimic investpy.search_quotes function which is not working here either.

💫 So please everyone go install investiny, star it to show me some support, provide me feedback, open issues, etc.

3reactions
alvarobarttcommented, Sep 26, 2022

So I’ve already contacted Investing.com and started a conversation there, I’ll let you all know the outcome of it. Thanks for your patience! 🤗

Read more comments on GitHub >

github_iconTop Results From Across the Web

Solved: Enhanced Foreign Exchange API returns error 'The r...
The 403 (Forbidden) HTTP Status code indicates that this project does not have permission to access the requested resource.
Read more >
What Is the 403 Forbidden Error and How to Fix It (8 Methods ...
How to Fix the 403 Forbidden Error · 1. Check the .htaccess File · 2. Reset File and Directory Permissions · 3. Disable...
Read more >
r - quantmod - getQuote() - '403 Forbidden' - Stack Overflow
I´ve look on my browser and the error comes from the following error in Yahoo web page "Fetch current stock quote(s) from specified...
Read more >
Errors - API Introduction - Open Exchange Rates
Error Status Codes Reference ; "access_restricted", 403, Access restricted for repeated over-use (status: 429), or other reason given in 'description' (403). ; " ......
Read more >
SharePoint Online: Fix "The remote server returned an error
You may have provided the credentials of another tenant, which would end up with this error message (Happens when working with multiple tenants!)...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found