Coder Social home page Coder Social logo

bond data issue about investpy HOT 11 OPEN

akashghaytadkar1109 avatar akashghaytadkar1109 commented on August 24, 2024
bond data issue

from investpy.

Comments (11)

akashghaytadkar1109 avatar akashghaytadkar1109 commented on August 24, 2024 1

from investpy.

adelRosal avatar adelRosal commented on August 24, 2024

#601

from investpy.

alvarobartt avatar alvarobartt commented on August 24, 2024

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 investpy alive πŸ‘πŸ»

from investpy.

akashghaytadkar1109 avatar akashghaytadkar1109 commented on August 24, 2024

Thanks for your efforts. Please can you suggest me parallel api site for 10 years bond data in India.

from investpy.

webdevzilla avatar webdevzilla commented on August 24, 2024

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!

from investpy.

alvarobartt avatar alvarobartt commented on August 24, 2024

Thanks for your efforts. Please can you suggest me parallel api site for 10 years bond data in India.

Hi @akashghaytadkar1109, you can use investiny in the meantime, which is a solution that I've created to retrieve the historical data of any Investing.com asset using the Investing.com ID. I'm not responsible for the usage of alternate solutions that may violate Investing.com terms of use like @webdevzilla's project to bypass the Cloudflare protection.

from investpy.

webdevzilla avatar webdevzilla commented on August 24, 2024

I'm not responsible for the usage of alternate solutions that may violate Investing.com terms of use like @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 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 @ramakrishnamekala129 πŸ™

from investpy.

alvarobartt avatar alvarobartt commented on August 24, 2024

I'm not responsible for the usage of alternate solutions that may violate Investing.com terms of use like @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 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 @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.

from investpy.

akashghaytadkar1109 avatar akashghaytadkar1109 commented on August 24, 2024

from investpy.

akashghaytadkar1109 avatar akashghaytadkar1109 commented on August 24, 2024

from investpy.

alvarobartt avatar alvarobartt commented on August 24, 2024

Hi @akashghaytadkar1109 I'd suggest you use investiny instead as it's providing the data as a Python dictionary, there's still work in progress there, but currently is stable and open to issues/contributions.

In case you're wondering how to retrieve the Investing.com ID (param named investing_id in investiny) check the following comment's answer at alvarobartt/investiny#3 (comment)

from investpy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.