yahoo-finance

Display stock performance in android

ε祈祈猫儿з 提交于 2019-12-11 07:07:26
问题 Could anyone please advise me what would be the best way to display the performance of a particular stock in an android app. I would be interested to know if any one has used any particular libraries. I use a yahoo finance CSV parser to fetch the stock info. Thanks. 回答1: I don't know of any good libraries specifically dealing with stock information, but I am assuming you are interested in charting? There are a bunch of options for producing charts for Android apps: Graphview - A custom View

Getting 400 volley server error which is working from Rest client successfully

只愿长相守 提交于 2019-12-11 03:28:52
问题 Am getting 400 server error for volley get request for below url http://query.yahooapis.com/v1/public/yql?q=select * from yahoo.finance.xchange where pair in ('AEDALL')&format=json&env=store://datatables.org/alltableswithkeys&callback= when i hit the same url from rest client its giving json response Here is my code for volley request private void convertCurrenctVolleyTask(String from, final String to, final String amount) { String url_yahoo = "http://query.yahooapis.com/v1/public/yql?q

Does Yahoo finance have data request upper limit. Is there an alternative or workaround?

浪尽此生 提交于 2019-12-11 03:05:03
问题 Hi there I have scanned this site and Google for any latest updates on downloading stock info from Yahoo Finance. I have not had much success. As I am testing my app, I came across an 404 server not found exception using the following C# code snippet: string urlTemplate = @"http://ichart.finance.yahoo.com/table.csv?s=[symbol]&a=" + "[startMonth]&b=[startDay]&c=[startYear]&d=[endMonth]&e=" + "[endDay]&f=[endYear]&g=d&ignore=.csv"; ... WebClient wc = new WebClient(); try { history = wc

Error in downloading csv from new Yahoo Finance historical data

ぐ巨炮叔叔 提交于 2019-12-11 01:49:13
问题 I've tried to make some code work for the new yahoo finances historical data now that the old API is officially dead. Code is as follows: Private Function DownloadData(ByVal StockSymbol As String) Try 'https://query1.finance.yahoo.com/v7/finance/download/CPG.TO?period1=1492824351&period2=1495416351&interval=1d&events=history&crumb=M3Ig5MvcK77 Dim Period1 As Integer = (New DateTime(2007, 1, 1, 0, 0, 0) - New DateTime(1980, 1, 1, 0, 0, 0)).TotalSeconds Dim Period2 As Integer = (DateTime.UtcNow

Different results for the same query from yahoo.finance.quotes. (YQL)

寵の児 提交于 2019-12-10 22:52:22
问题 I'm using YQL to retrieve some financial data. And I have noticed that lately I'm getting different results for the same query from yahoo.finance.quotes. For example: Query for oil price done 5 times. "LastTradeWithTime": "9:09pm - <b>38.29</b>", "LastTradeWithTime": "1:33am - <b>38.66</b>", "LastTradeWithTime": "2:32am - <b>38.72</b>", "LastTradeWithTime": "2:32am - <b>38.72</b>", "LastTradeWithTime": "9:09pm - <b>38.29</b>", (But when you test the same query from the YQL console all results

module 'pandas_datareader' has no attribute 'get_data_yahoo'

孤街浪徒 提交于 2019-12-10 18:13:18
问题 I'm trying to get stock market history using pandas-datareader as specified in this SO question. I've installed pandas-datareader with: conda install -c https://conda.anaconda.org/anaconda pandas-datareader I'm running on windows 10, with pycharm, and anaconda3 interpreter I'm trying to run the very basic: import pandas_datareader as pdr pdr.get_data_yahoo('AAPL') But I get an error: File "D:/Dropbox/Duo/documents docs/Projects/F500AquisitionQuality/m_and_a_quality/stock_utils.py", line 2, in

How can I consistently convert strings like “3.71B” and “4M” to numbers in Python?

点点圈 提交于 2019-12-10 14:27:43
问题 I have some rather mangled code that almost produces the tangible price/book from Yahoo Finance for companies (a nice module called ystockquote gets the intangible price/book value already). My problem is this: For one of the variables in the calculation, shares outstanding I'm getting strings like 10.89B and 4.9M , where B and M stand respectively for billion and million . I'm having trouble converting them to numbers, here's where I'm at: shares=''.join(node.findAll(text=True)).strip()

Are the yahoo.finance related data api's change (YQL Console)?

泄露秘密 提交于 2019-12-10 13:11:59
问题 I am trying to use yql for yahoo financial data. I checked the Show Community Table on the YQL console to see the database under the Yahoo tag. I can see the tables under it but i am not getting results here it is as follows::: select * from yahoo.finance.analystestimate where symbol in ('YHOO') { "query": { "count": 1, "created": "2016-03-28T10:25:01Z", "lang": "en-US", "diagnostics": { "url": [ { "execution-start-time": "1", "execution-stop-time": "767", "execution-time": "766", "content":

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

删除回忆录丶 提交于 2019-12-09 17:12:36
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 2 years ago . Below URL has stopped working from today. Any alternate ? Get Quote from Google Finance 回答1: 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

Retrieving stock updates using Yahoo Finance

时光毁灭记忆、已成空白 提交于 2019-12-09 07:11:16
问题 Basically what i am trying do is retrieving stock quotes for specific company . In my code I am giving symbol of specific company( eg:FB ) in a textbox(symb) and when i click the button(getupdate) it should list out details regarding that specific stock which i enter the text box . Here's my code : <html> <head> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"> </script> <script> $(document).ready(function($){ $('getupdate').click(function() { var symbol = $('input[id