Extract stockRetriever functionality