get_batch_quotes
Fetch real-time stock quotes for multiple symbols in a single request through the Paper MCP Server, enabling efficient market data retrieval for AI-driven trading and analysis.
Instructions
Get real-time quotes for multiple symbols
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbols | Yes | Array of stock symbols |
Implementation Reference
- src/index.ts:496-500 (handler)Handler implementation for get_batch_quotes tool. Makes a POST request to the Paper Invest API /market-data/quotes/batch endpoint with the array of symbols to retrieve real-time quotes for multiple symbols.case 'get_batch_quotes': response = await api.post('/market-data/quotes/batch', { symbols: args.symbols }); break;
- src/index.ts:306-320 (schema)Schema definition for the get_batch_quotes tool, including name, description, and input schema requiring an array of stock symbols.{ name: 'get_batch_quotes', description: 'Get real-time quotes for multiple symbols', inputSchema: { type: 'object', properties: { symbols: { type: 'array', items: { type: 'string' }, description: 'Array of stock symbols' } }, required: ['symbols'] } },