GithubHelp home page GithubHelp logo

Comments (7)

jamesfulford avatar jamesfulford commented on June 3, 2024 1

Seems like anti-scraper filter? I can reach URL from browser but not from curl.

from tidyquant.

arunamalla avatar arunamalla commented on June 3, 2024 1

yes, looks like an anti-spam filter is there.

api.nasdaq.com - sever is allowing only few values as 'User Agent' in the http request header.
below are the allowed values as user agent
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36"
}

modify package in local machine to make HTTP call with above mentioned user-agent

from tidyquant.

gabrielodom avatar gabrielodom commented on June 3, 2024

Following for updates (and I will see if I can get anything to work).

from tidyquant.

munishkgitbub avatar munishkgitbub commented on June 3, 2024

Has this issue been sorted out? Its not giving for AMEX and NYSE exchange data also.

from tidyquant.

marinov-alexander avatar marinov-alexander commented on June 3, 2024

Has this issue been resolved or looked at?

from tidyquant.

mdancho84 avatar mdancho84 commented on June 3, 2024

I will test this out. Thanks a lot. 😀

from tidyquant.

ptoche avatar ptoche commented on June 3, 2024

I'm getting issues too, that I wasn't getting back in Jan 2022:

nyse <- tq_exchange("NYSE")
Getting data...

Error in open.connection(con, "rb") : 
  cannot open the connection to 'https://api.nasdaq.com/api/screener/stocks?tableonly=true&exchange=nyse&download=true'
In addition: Warning message:
In open.connection(con, "rb") :
  URL 'https://api.nasdaq.com/api/screener/stocks?tableonly=true&exchange=nyse&download=true': status was 'Failure when receiving data from the peer'

from tidyquant.

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.