Java application that fetches historical stock prices