recursively fetch quotes
TypeScript