yahoo-finance

Yahoo finance API Quotes wrong date randomly - between today and yesterday days ago

陌路散爱 提交于 2019-12-05 20:55:11
I am using the yahoo finance API to get the price quotes from the market that has closed. I usually run the API at about 11pm at night (USA time). The API will return today's market data some times and yesterdays market data sometimes. It seems to be random and if you run it a few times in a row you can see it randomly switching between these dates. How can I get it to consistently return the latest quotes and not yesterday's quotes? 来源: https://stackoverflow.com/questions/39177284/yahoo-finance-api-quotes-wrong-date-randomly-between-today-and-yesterday-days

Downloading Stock quotes to App

心已入冬 提交于 2019-12-05 06:14:57
问题 I'm new to iOS programming and want to display stock quotes and stock details in the iPad app I'm designing. I am looking at two options Im looking at google finance or yahoo finance. How would I go about sending a url request to their sites and then handling the reply in Xcode? I see that yahoo have a YQL service but I can't wrap my head around how I would get it to work despite reading some yahoo documentation online so Im looking to avoid it. Ive had a look at the google api but I can't

Adding a Filter and Init Params Progmatically

一世执手 提交于 2019-12-05 04:34:10
问题 I need to copy the contents of a web.xml to the WebAppInitializer.class (Java Configuration Class). I have copied the YahooFilter Class from web.xml (see code) but I am not sure how to add the init-params pragmatically. I have pasted the web.xml and snippet of the Java Configuration class below. Can somebody take a look and provide some feedback? <web-app> <display-name>sample</display-Aname> <filter> <filter-name>YOSFilter</filter-name> <filter-class>com.yahoo.yos.YahooFilter</filter-class>

How should I properly use Selenium

非 Y 不嫁゛ 提交于 2019-12-04 19:24:46
I'm trying to get one number from Yahoo Finance ( http://finance.yahoo.com/quote/AAPL/financials?p=AAPL ), Balance Sheet, Total Stockholder Equity. If I inspect the element I get this: <span data-reactid=".1doxyl2xoso.1.$0.0.0.3.1.$main-0-Quote-Proxy.$main-0-Quote.0.2.0.2:1:$BALANCE_SHEET.0.0.$TOTAL_STOCKHOLDER_EQUITY.1:$0.0.0">119,355,000</span> I would like to get, scrap the number: 119,355,000. If I understand correctly, web page is coded in Java Script and I need to use Selenium to get to the desired number. My attempt (I'm complete beginner) is not working no matter what I do, Bellow are

Yahoo fetching currency in Matlab?

萝らか妹 提交于 2019-12-04 17:09:34
Does anyone know how to get a range of dates that works for fetching currency pairs from Yahoo ? The code below works fine for capturing the latest rates needed? I am looking for a complete time series or matrix of the same info for a range of dates. I tried using the examples from Mathworks.com but get errors displayed below. This code works fine: Connect = yahoo; k = {'USDJPY=X' 'USDEUR=X' 'USDCAD=X' 'USDGBP=X'}; data = fetch(Connect, k) where USDJPY=X = USD to JPY USDEUR=X = USD to EUR etc... If I do a range of dates, I get this error: >> data = fetch(Connect, k, '24-Oct-2003',datestr(now))

How to understand this raw HTML of Yahoo! Finance when retrieving data using Python?

会有一股神秘感。 提交于 2019-12-04 12:49:56
问题 I've been trying to retrieve stock price from Yahoo! Finance, like for Apple Inc.. My code is like this:(using Python 2) import requests from bs4 import BeautifulSoup as bs html='http://finance.yahoo.com/quote/AAPL/profile?p=AAPL' r = requests.get(html) soup = bs(r.text) The problem is when I see raw HTML behind this webpage, the class is dynamic, see figure below. This makes it hard for BeautifulSoup to get tags. How to understand the class and how to get data? HTML of Yahoo! Finance page PS

How to retrieve BSE/NSE listed stock's price from finance.yahoo.com

余生颓废 提交于 2019-12-04 11:22:16
I'm developing an application for stocks displaying through finance.yahoo.com in Java using Spring framework. But it only provides share values from NYSE, Nasdaq-NM, etc. How can I retrieve the values of share by specify NSE or BSE? You can retrieve the components of BSE and NSE with these two links: http://in.finance.yahoo.com/gainers?e=bo and http://in.finance.yahoo.com/losers?e=bo ( Gainers and Losers ). Once you have your full list of stocks, just use your link to retrieve data, for example: http://download.finance.yahoo.com/d/quotes.csv?s=BOBSL.BO,JAIPAN.BO,SANGHIIN.BO&f=snl1d1t1ohgdrx

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

房东的猫 提交于 2019-12-04 06:08:59
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.csv?s=TRQ&d=6&e=3&f=2016&g=d&a=5&b=25&c=2016&ignore=.csv https://ichart.finance.yahoo.com/table.csv?s

Yahoo Finance API

こ雲淡風輕ζ 提交于 2019-12-04 04:40:32
问题 How to fetch the complete list of Yahoo Finance Stock symbol using YQL ??? not trying to fetch a single stock quote. I am trying to find the whole complete list of available stock symbol. E.g. all Stock Symbol from NYSE, NASDAQ. 回答1: Yahoo Finance may not help you much in this. You can get all the stock symbol from the exchange and later use the standard stock symbol in Yahoo Finance API or any other finance API to get the required details. You can use the following link to download the list

Google Finance API for getting quote has stopped working today. Is there an alternate to get quote every minute? [closed]

北城以北 提交于 2019-12-04 04:03:23
Below URL has stopped working from today. Any alternate ? Get Quote from Google Finance I was using it for a long time, it looks like google has stopped it. It was very useful. The best part was you could download live prices for multiple scrips in one request. Alternatives for Indian Markets : Intraday one minute ohlcv data Zerodha API Upstox API 来源: https://stackoverflow.com/questions/46071595/google-finance-api-for-getting-quote-has-stopped-working-today-is-there-an-alte