get_market_losers
Identify stocks experiencing significant price declines to analyze market trends and potential investment opportunities.
Instructions
Get stocks with the largest price drops (top losers)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/market.ts:78-92 (handler)The 'get_market_losers' tool is registered within registerMarketTools, and its handler function performs an asynchronous fetch to the '/biggest-losers' FMP endpoint, returning a JSON-formatted response of top market losers.
server.registerTool( 'get_market_losers', { description: 'Get stocks with the largest price drops (top losers)', inputSchema: z.object({}), }, async () => { try { const data = await fetchFMP<MarketMover[]>('/biggest-losers'); return jsonResponse(data); } catch (error) { return errorResponse(error); } } );