MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Financial Data - Currencies

  • To: mathgroup at smc.vnet.net
  • Subject: [mg106091] Re: [mg106062] Financial Data - Currencies
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Fri, 1 Jan 2010 05:35:03 -0500 (EST)
  • Reply-to: hanlonr at cox.net

cd[x_] := 
 CountryData[x, #] & /@
  {"Name", "CurrencyName", "CurrencyCode"}

Module[
 {data = cd /@ CountryData[]},
 Manipulate[
  Grid[
   SortBy[
    Select[data, StringTake[#[[sb]], 1] == sel &],
    #[[sb]] &],
   Alignment -> Left],
  {{sb, 1, SortBy},
   {1 -> "Country", 2 -> "Currency", 3 -> "Code"}},
  {{sel, "A", "Select"}, CharacterRange["A", "Z"]}]]


Bob Hanlon

---- robert prince-wright <robertprincewright at yahoo.com> wrote: 

=============
Does anyone know how to get the names corresponding to the currencies available from FinancialData? If you use the command below you get a list of 153 currencies - some of which are obscure so i was hoping to generate the names!

currencyTickers = FinancialData["Currencies"]

Also, why does FinancialData not give historical data for say GBP/USD? EUR/USD works, albeit over a limited time span, so you would think the data would be there for sterling. Several others don't work either.... perhaps this is a data server issue?



R



  • Prev by Date: Re: bar chart ticks not placed well?
  • Next by Date: Re: List to Expression
  • Previous by thread: Re: bar chart ticks not placed well?
  • Next by thread: Re: Financial Data - Currencies