Introducing exchange rate

how can I automate the process of introducing exchange rate?

I’m thinking of a script or something

Well i guess that a good idea to automate the process would be building a component that read a webservice that provides the exchange rate and then with that information on hand, update the currency value.