yahoo-finance

Is YQL / datatables.org down as of May 17-18, 2017?

那年仲夏 提交于 2019-12-12 08:49:29
问题 During the past 1-2 days, the http query that I used to download historical stock prices from Yahoo Finance has not been working. The link I have been using is the first one below but I have also tried out the other three (since I saw other people using them): http://real-chart.finance.yahoo.com/table.csv?s=TRQ&d=6&e=3&f=2016&g=d&a=5&b=25&c=2016&ignore=.csv https://real-chart.finance.yahoo.com/table.csv?s=TRQ&d=6&e=3&f=2016&g=d&a=5&b=25&c=2016&ignore=.csv http://ichart.finance.yahoo.com/table

Open URI - Invalid URI Error, encoding/escaping not affecting

岁酱吖の 提交于 2019-12-12 05:48:47
问题 I'm building out a YahooFinance Api and keep hitting a brick wall when trying to use open URI. Code: uri = ("http://ichart.finance.yahoo.com/table.csv?s=#{URI.escape(code)}&a=#{start_month}&b=#{start_day}&c=#{start_year}&d=#{end_month}&e=#{end_day}&f=#{end_year}&g=d&ignore=.csv") puts "#{uri}" conn = open(uri) Error: `split': bad URI(is not URI?): http://ichart.finance.yahoo.com/table.csv?s=%255EIXIC&a=00&b=1&c=1994&d=09&e=14&f=2014&g=d&ignore=.csv} (URI::InvalidURIError) I have tried URI

Displaying ajax results from yahoo finance using underscore.js

为君一笑 提交于 2019-12-12 05:18:48
问题 Script is successfully retrieving data but I can not get the results of the "row" to display using underscore.js. The specific point of failure is the "var = resultContentTemplate". Can not figure this out. $(document).ready(function(){ var symbols = symbols || ['GOOG','A','AA','AAN']; var yqlUrl = "http://query.yahooapis.com/v1/public/yql"; var historicalUrl = 'http://finance.yahoo.com/d/quotes.csv'; var queryTemplate = _.template("select * from csv where url='" + historicalUrl + "?s=<%=

Java URLConnection returns null for valid URL

*爱你&永不变心* 提交于 2019-12-12 04:33:38
问题 I've been collecting stock market data for a project, and have been doing so for the past few months. However, as of a couple of days ago the URLConnection I've been using to download data from Yahoo has been null, despite having made no changes and it having worked perfectly before that. The URL from Yahoo downloads a csv file which I read and print out, and the URL is valid and works if I go to it on my browser, yet when I connect to it in my code, the URLConnection is null. Trying with

Using Python 3 to Retrieve Stock Information From Yahoo Finance Site

荒凉一梦 提交于 2019-12-12 03:44:17
问题 I have been trying to port a script which will request fundamental data from Yahoo Finance site, but I would like to look for specific items instead of the entire reports, like price to book ratios, for example. So, I have followed a tutorial from Sentdex on how to do that. The problem is that the example code is written for Python 2.7 and I am trying to make that work for Python 3, and of course expand on it by adding more features. Here is how it is looking so far: import time import urllib

Issue with AngularJS and financial quote

雨燕双飞 提交于 2019-12-12 02:17:33
问题 I got an issue with my Angular request. angular.module('google-chart-example', []).controller("MainCtrl", function ($scope,$http,$log) { $scope.infos = ""; //$http.get('http://ip.jsontest.com') //$http.get('https://finance.google.com/finance/info?q=TSE:PXT') $http.get('http://query.yahooapis.com/v1/public/yql?q=select * from yahoo.finance.quotes where symbol in ("AAPL")&format=json') .success(function(data) { //alert ("toto"); $scope.infos = data; }) .error(function(data) { alert ("data="

PHP code for Yahoo API for downloading CSV file

夙愿已清 提交于 2019-12-11 16:18:40
问题 I have been using the Yahoo Financial API to download historical stock data from Yahoo. As has been reported on this site, as of mid May, the old API was discontinued. There have been many posts addressed the the form of the new call, e.g.: https://query1.finance.yahoo.com/v7/finance/download/AAPL?period1=315561600&period2=1496087439&interval=1d&events=history&crumb=XXXXXXXXXXX As well as methods for obtaining the crumb: Yahoo Finance URL not working But I must be misunderstanding what the

How can I download option data given the new format introduced today. 10/23/14?

一世执手 提交于 2019-12-11 14:19:36
问题 Yahoo just broke all my option programs, dozens of them! I used to download raw option pages in perl and parse them. Today, 10/23/14, Yahoo introduced a new format for their option pages. A downloaded page now has no data, just javascript that loads stuff on the fly. A browser (Firefox) processes that, and source viewed in the browser shows all the data, but I have no way of getting that into perl. Is there some perl module which will simulate whatever the browser is doing, and hand me the

404 for certain .csv links in Yahoo Finance

本小妞迷上赌 提交于 2019-12-11 12:18:23
问题 For example, http://ichart.finance.yahoo.com/table.csv?g=d&ignore=.csv&e=14&d=00&f=2016&b=2&a=1&c=2013&s=SAN.PA returns 404 to my server or HTTP checkers (even with user agent set to my browser). But if I try this in my browser, I get 200 and it starts downloading the .csv. Meanwhile, for most of the assets it works perfectly. Should I use proxy, try some sophisticated user agent or even download the .csv client side? Edit: http://real-chart.finance.yahoo.com has the same behaviour. 来源: https

OAuth with yahoo finance

我的梦境 提交于 2019-12-11 09:07:56
问题 I'm developping an iPhone application and i'm trying to authenticate and authorize the user to connect to yahoo finance to view his portfolio. Is it possible for me to authenticate a user using OAuth, then display the user's yahoo finance portfolio on a TableView? Many thanks. Is there any other service like google finance that I can use to display user's finance portfolio? 回答1: I don't believe that Yahoo Finance has any APIs that would allow you to retrieve a user's portfolio. The last word