On Feb 23, 2011, at 3:16 AM, Phoenix Rising wrote:
To re-iterate Robert's point above, if it's the conversion you're looking to do, I'd really recommend looking at a subscription-based web service that your application can "talk to" in order to perform the conversions, because global currency exchange rates fluctuate every day, sometimes multiple times per day. It would be a NIGHTMARE keeping up with that yourself, so a third party to do the conversions for you would be a real life-saver! Unfortunately I can't make any specific recommendations for that kind of service, but I'm sure there are plenty of companies out there who you could work with.
If you can live with once per day updates, not closing rates or anything specific, then this is a great resource: http://www.bankofcanada.ca/en/markets/csv/exchange_eng.csv
All it sets out to do is document the difference between currencies that day, nothing else.
I built a currency converter many years ago based on this file, and it's just CSV so it's very easy to parse and use. Since it's not SAAS and it's static (not analytical) I don't think they pay too much attention to the traffic numbers. My converter would just check to see if the current cached copy was out of date, and get a new one if needed, and then everything else was parsed into a hash and used to drive the conversions from a base currency to a target.
Walter -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.