-
Notifications
You must be signed in to change notification settings - Fork 379
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bond data issue #607
Comments
Hi @akashghaytadkar1109 as @adelRosal pointed out, everyone is actively looking into this issue so as to find a way to solve it, as Investing.com recently changed their APIs and included Cloudflare v2 protection, which seems hard to skip using Python... But we're working on it, also we've also contacted Investing.com so as to see whether we can get to an agreement in order to keep |
Thanks for your efforts. Please can you suggest me parallel api site for 10 years bond data in India. |
You can use the API that I made for now: http://api.scraperlink.com/investpy/ For the India 10Y bond data, you would retrieve it like this: http://api.scraperlink.com/investpy/[email protected]&type=historical_data&product=bonds&from_date=01/01/2022&to_date=09/28/2022&time_frame=Monthly&country=india&name=India%2010Y You can change the time_frame params as needed (i.e. Daily, Weekly, Monthly). Hope it helps! |
Hi @akashghaytadkar1109, you can use |
If their only requirement is to "mention the source", I don't believe my workaround would violate their terms either. However, I tested Great work on finding a solution @alvarobartt @ramakrishnamekala129 🙏 |
That's right @webdevzilla it's a nice solution, just keep that in mind! I'll check it in another branch or something and let you know! Thanks. |
Awesome, thanks!
…On Mon, 3 Oct 2022, 2:22 am Alvaro Bartolome, ***@***.***> wrote:
I'm not responsible for the usage of alternate solutions that may violate
Investing.com terms of use like @webdevzilla
<https://github.com/webdevzilla>'s project to bypass the Cloudflare
protection.
If their only requirement is to "mention the source", I don't believe my
workaround would violate their terms either.
However, I tested investiny <https://github.com/alvarobartt/investiny>
and it works perfectly! Hopefully it continues that way, but it doesn't
hurt to have my API as a quick backup if it stops. Redundancy is always
good!
Great work on finding a solution @alvarobartt
<https://github.com/alvarobartt> @ramakrishnamekala129
<https://github.com/ramakrishnamekala129> 🙏
That's right @webdevzilla <https://github.com/webdevzilla> it's a nice
solution, just keep that in mind!
I'll check it in another branch or something and let you know! Thanks.
—
Reply to this email directly, view it on GitHub
<#607 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AZGP57FCWKCWOLM74RHDD3DWBHYZNANCNFSM6AAAAAAQTVLUII>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
hii,
from above api we get data but which is not in json format for analysis.
Please can you share the code to convert above data in "csv" or "json"
format directly.
On Mon, Oct 3, 2022 at 8:55 AM Akash Ghaytadkar ***@***.***>
wrote:
… Awesome, thanks!
On Mon, 3 Oct 2022, 2:22 am Alvaro Bartolome, ***@***.***>
wrote:
> I'm not responsible for the usage of alternate solutions that may violate
> Investing.com terms of use like @webdevzilla
> <https://github.com/webdevzilla>'s project to bypass the Cloudflare
> protection.
>
> If their only requirement is to "mention the source", I don't believe my
> workaround would violate their terms either.
>
> However, I tested investiny <https://github.com/alvarobartt/investiny>
> and it works perfectly! Hopefully it continues that way, but it doesn't
> hurt to have my API as a quick backup if it stops. Redundancy is always
> good!
>
> Great work on finding a solution @alvarobartt
> <https://github.com/alvarobartt> @ramakrishnamekala129
> <https://github.com/ramakrishnamekala129> 🙏
>
> That's right @webdevzilla <https://github.com/webdevzilla> it's a nice
> solution, just keep that in mind!
>
> I'll check it in another branch or something and let you know! Thanks.
>
> —
> Reply to this email directly, view it on GitHub
> <#607 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AZGP57FCWKCWOLM74RHDD3DWBHYZNANCNFSM6AAAAAAQTVLUII>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
|
Hi @akashghaytadkar1109 I'd suggest you use In case you're wondering how to retrieve the Investing.com ID (param named |
Thanks for your efforts
…On Fri, 30 Sep 2022, 12:43 pm Alvaro Bartolome, ***@***.***> wrote:
Hi @akashghaytadkar1109 <https://github.com/akashghaytadkar1109> as
@adelRosal <https://github.com/adelRosal> pointed out, everyone is
actively looking into this issue so as to find a way to solve it, as
Investing.com recently changed their APIs and included Cloudflare v2
protection, which seems hard to skip using Python... But we're working on
it, also we've also contacted Investing.com so as to see whether we can get
to an agreement in order to keep investpy alive 👍🏻
—
Reply to this email directly, view it on GitHub
<#607 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AZGP57E5SSCZSSFTJXX7TILWA2HIHANCNFSM6AAAAAAQTVLUII>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
data = investpy.get_bond_historical_data(bond='India 10Y', from_date='02/01/2007', to_date = t1)
File "/root/anaconda3/lib/python3.9/site-packages/investpy/bonds.py", line 596, in get_bond_historical_data
raise ConnectionError(
ConnectionError: ERR#0015: error 403, try again later.
Please help me to fix this issue.
The text was updated successfully, but these errors were encountered: