ボラティリティを計算するウェブサービス

最近WCFをしようして株式取引市場の価格データを元にしてボラティリティを算定するサービスを作ろうとしています。
The components will consist of:
1. Price database (probably a file)
2. Volatility computation class - will compute daily returns, average return, and volatility for a time period
3. Volatility service - takes start and end dates from a client and returns an array of prices and volatility
4. Client which can invoke the web service. It will also use Windows Presentation Framework UI to display the price data and volatility graphically.