Git Product home page Git Product logo

Comments (6)

ethanbsmith avatar ethanbsmith commented on June 10, 2024 1

it looks like yahoo has removed the v6 endpoint which was a fallback because the v7 endpoint doesn't work in gdpr countries. We can probably improve the error message on this, but not fixable

https://query1.finance.yahoo.com/v6/finance/quote?TM
{"finance":{"result":null,"error":{"code":"Not Found","description":"HTTP 404 Not Found"}}}

from quantmod.

joshuaulrich avatar joshuaulrich commented on June 10, 2024

What's your sessionInfo() output?

from quantmod.

rabarros01 avatar rabarros01 commented on June 10, 2024

Thanks for reaching out Joshua. Pasting the info below.

sessionInfo()
R version 4.2.1 (2022-06-23 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19045)

Matrix products: default

locale:
[1] LC_COLLATE=Swedish_Sweden.utf8 LC_CTYPE=Swedish_Sweden.utf8 LC_MONETARY=Swedish_Sweden.utf8
[4] LC_NUMERIC=C LC_TIME=Swedish_Sweden.utf8

attached base packages:
[1] stats graphics grDevices utils datasets methods base

other attached packages:
[1] quantmod_0.4.23 TTR_0.24.3 xts_0.12.2 zoo_1.8-11

loaded via a namespace (and not attached):
[1] compiler_4.2.1 curl_4.3.3 grid_4.2.1 lattice_0.20-45

from quantmod.

joshuaulrich avatar joshuaulrich commented on June 10, 2024

This is working for me.

quantmod::getQuote("WM;TOM.OL")
##                 Trade Time   Last    Change   % Change   Open   High    Low Volume
## WM     2023-07-11 11:58:54 169.88 -1.250000 -0.7304388 170.92 171.51 167.91 891472
## TOM.OL 2023-07-11 09:25:21 165.45  4.599991  2.8598015 163.00 164.50 161.45 480874

from quantmod.

rabarros01 avatar rabarros01 commented on June 10, 2024

Hi,

any clear solution to this error "Error in open.connection(con, "rb") : HTTP error 404."?

It seems like a similar error "Error in open.connection(con, "rb") : HTTP error 401." appeared in the past, and could be fixed with a patch by ethanbsmith, #382

Thanks!

Kind regards,
rabarros01

from quantmod.

joshuaulrich avatar joshuaulrich commented on June 10, 2024

Good catch Ethan! I forgot about that issue for GDPR countries.

from quantmod.

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.