get_exchanges
Retrieve exchange details and trading schedules to plan investment timing and manage portfolio activities across global markets.
Instructions
Get information about exchanges and their trading schedules
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:721-731 (handler)The MCP handler for the "get_exchanges" tool, which delegates to the Trading212Client.
case 'get_exchanges': { const exchanges = await client.getExchanges(); return { content: [ { type: 'text', text: JSON.stringify(exchanges, null, 2), }, ], }; } - src/client.ts:216-218 (handler)The implementation of the getExchanges method in the Trading212Client which performs the API request.
async getExchanges(): Promise<Exchange[]> { return this.request('/equity/metadata/exchanges', {}, z.array(ExchangeSchema)); }