jankcorn / hle-ofx-quotes

Automatically exported from code.google.com/p/hle-ofx-quotes
0 stars 1 forks source link

Australian stocks work for "Yahoo", but not "Yahoo Historical" #41

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. I have successfully been using the Yahoo quote source with VAS.AX and STW.AX 
which are on the Australian exchange.  
2. Attempt to use these same symbols on Yahoo Historical

What is the expected output? What do you see instead?
I get no output, but see the following on the console.

115126 [AWT-EventQueue-0] INFO  
com.le.tools.moneyutils.yahoo.GetHistoricalQuotesDialog$1.actionPerformed(GetHis
toricalQuotesDialog.java:103) - fromDate=Mon Nov 07 00:00:00 PST 2011
117590 [AWT-EventQueue-0] INFO  
com.le.tools.moneyutils.yahoo.GetHistoricalQuotesDialog$1.actionPerformed(GetHis
toricalQuotesDialog.java:103) - fromDate=Mon Nov 07 00:00:00 PST 2011
117590 [AWT-EventQueue-0] INFO  
com.le.tools.moneyutils.yahoo.GetHistoricalQuotesDialog$2.actionPerformed(GetHis
toricalQuotesDialog.java:125) - toDate=Sat Nov 12 00:00:00 PST 2011
117604 [pool-1-thread-1] INFO  
com.le.tools.moneyutils.yahoo.YahooHistoricalSourcePanel.getStockQuotes(YahooHis
toricalSourcePanel.java:37) - user selected, fromDate=Mon Nov 07 00:00:00 PST 
2011
117604 [pool-1-thread-1] INFO  
com.le.tools.moneyutils.yahoo.YahooHistoricalSourcePanel.getStockQuotes(YahooHis
toricalSourcePanel.java:38) - user selected, toDate=Sat Nov 12 00:00:00 PST 2011
117604 [pool-1-thread-1] INFO  
com.le.tools.moneyutils.yahoo.GetYahooHistoricalQuotes.<init>(GetYahooHistorical
Quotes.java:62) - fromDate=Mon Nov 07 00:00:00 PST 2011
117604 [pool-1-thread-1] INFO  
com.le.tools.moneyutils.yahoo.GetYahooHistoricalQuotes.<init>(GetYahooHistorical
Quotes.java:63) - toDate=Sat Nov 12 00:00:00 PST 2011
117604 [pool-1-thread-1] INFO  
com.le.tools.moneyutils.yahoo.GetYahooQuotes.getQuotes(GetYahooQuotes.java:105) 
- > getQuotes
117605 [pool-1-thread-1] INFO  
com.le.tools.moneyutils.yahoo.GetYahooQuotes.getQuotes(GetYahooQuotes.java:116) 
- stocks.size=2
117608 [pool-4-thread-2] INFO  
com.le.tools.moneyutils.yahoo.GetYahooHistoricalQuotes.createQueries(GetYahooHis
toricalQuotes.java:88) - Getting historical quotes for symbol=VAS.AX
117609 [pool-4-thread-2] INFO  
com.le.tools.moneyutils.yahoo.GetYahooHistoricalQuotes.createQueries(GetYahooHis
toricalQuotes.java:89) -     fromDate=Mon Nov 07 00:00:00 PST 2011
117609 [pool-4-thread-2] INFO  
com.le.tools.moneyutils.yahoo.GetYahooHistoricalQuotes.createQueries(GetYahooHis
toricalQuotes.java:90) -     toDate=Sat Nov 12 00:00:00 PST 2011
117670 [pool-4-thread-2] WARN  
com.le.tools.moneyutils.yahoo.GetYahooHistoricalQuotes.parseCurrentRecord(GetYah
ooHistoricalQuotes.java:218) - java.lang.NumberFormatException: empty String
117671 [pool-4-thread-2] WARN  
com.le.tools.moneyutils.yahoo.GetYahooHistoricalQuotes.parseCurrentRecord(GetYah
ooHistoricalQuotes.java:232) - java.text.ParseException: Unparseable date: ""
117671 [pool-4-thread-2] WARN  
com.le.tools.moneyutils.yahoo.GetYahooHistoricalQuotes.parseCurrentRecord(GetYah
ooHistoricalQuotes.java:218) - java.lang.NumberFormatException: empty String

What version of the product are you using? On what operating system?
hleOfxQuotes-Build_20111104_41-app.jar
Windows 7 64bit

Please provide any additional information below.
Maybe these Australian quotes are not supported by the historical service?  
What is the Yahoo API being used for this?

Original issue reported on code.google.com by btemple...@gmail.com on 12 Nov 2011 at 8:30

GoogleCodeExporter commented 8 years ago
The URL used is: 
http://ichart.finance.yahoo.com/table.csv?s=CSCO&d=10&e=13&f=2011&g=d&a=2&b=26&c
=1990&ignore=.csv
  s: stock symbol
  a, b, c: start month, date, year
  d, e, f: end month, date, year

I will add warning dialog if there is no prices found.

Original comment by hle...@gmail.com on 13 Nov 2011 at 3:47