Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #4040

Re: FinancialData still broken

From "Chris Degnen" <degnen@cwgsy.net>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: FinancialData still broken
Date 2011-07-29 08:44 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <j0trt1$d4e$1@smc.vnet.net> (permalink)

Show all headers | View raw


DrMajorBob wrote:
> 
Armand Tamzarian wrote:  
>>
>> Would it be easier to just get the data from Yahoo rather than have to
>> worry about fixes and innoculations?
> 
> I don't know how to do that, but I suspect it's Yahoo sending erroneous  
> prices, anyway.

You can get quotes from Yahoo like this:

quotes = Import[
   "http://download.finance.yahoo.com/d/quote.csv?s=\
CLU11.NYM+^GSPC+^FTSE&f=abdlohg"];
(*www.mathematicacookbook.com/downloads/YahooDataDownload.htm*)
TableForm[
 Map[List, MapThread[StringJoin, {{"WTI - ", "S&P - ", "FTSE - "},
    StringReplace[quotes[[All, 4]], {"<b>" -> "", "</b>" -> ""}]}]],
 TableHeadings -> {None, {"Last Trade"}}]


Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: FinancialData still broken "Chris Degnen" <degnen@cwgsy.net> - 2011-07-29 08:44 +0000

csiph-web