stock-ticker
stock-ticker copied to clipboard
Issue with Yahoo API http://query.yahooapis.com/v1/public/yql
Hello,
I'm trying to use this package with the .emacs code below in emacs version 27.2 (9.0) MacOSX,
;; ########################################################################################## ;; Stock ticker
(add-to-list 'load-path "~/.emacs.d/lisp/stock-ticker/stock-ticker.el") (require 'stock-ticker)
;; start up ;; M-x stock-ticker-global-mode (stock-ticker-global-mode +1)
;; If you want to set your own stock tickers: ;; (setq stock-ticker-symbols '("aapl" "goog" "fb")) (setq stock-tracker-list-of-stocks '("BBAS3.SA" "KLBN4.SA" "CXSE3.SA" "PETR4.SA" "TAEE3.SA" "CMIG3.SA"))
;; If you want to change the frequency with which the APIs are called for new data: (setq stock-ticker-update-interval 600)
;; Finally, if you want to change how fast the symbols are cycled through: (setq stock-ticker-display-interval 7)
;; ##########################################################################################
and receive this message:
[error] request--callback: peculiar error [error] request-default-error-callback: http://query.yahooapis.com/v1/public/yql?q=select%20%2A%20from%20yahoo.finance.quotes%20where%20symbol%20in%20%28%22%5Egspc%22%2C%22%5Edji%22%2C%22%5Eixic%22%2C%22%5Etnx%22%2C%22%5Enya%22%2C%22XAUUSD%3DX%22%2C%22EURUSD%3DX%22%29&env=http%3A%2F%2Fdatatables.org%2Falltables.env&format=json parse-error
Could anyone help, please?
TIA
Andre Luiz