assets_get_schedule
Retrieve trading session schedules for specific financial instruments on Russian markets to plan transactions during active hours.
Instructions
Получение расписания торгов для указанного инструмента
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | symbol в формате: SYMBOL@MIC (например, YDEX@MISX) |
Implementation Reference
- src/servers/assets.py:41-44 (handler)The MCP tool handler for 'assets_get_schedule'. It takes a Symbol input and returns ScheduleResponse by calling FinamClient.get_schedule.@assets_mcp.tool(tags={"assets"}) async def get_schedule(symbol: Symbol) -> ScheduleResponse: """Получение расписания торгов для указанного инструмента""" return await get_finam_client().get_schedule(symbol)
- src/main.py:14-14 (registration)Registers the assets_mcp tools under the 'assets_' prefix, making 'get_schedule' available as 'assets_get_schedule'.finam_mcp.mount(assets_mcp, prefix="assets")
- src/tradeapi/client.py:77-78 (helper)Helper method in FinamClient that proxies the call to the underlying finam_trade_api Client's assets.get_schedule.async def get_schedule(self, symbol: str): return await self.client.assets.get_schedule(symbol)
- src/servers/assets.py:41-41 (registration)Tool registration decorator on the handler function.@assets_mcp.tool(tags={"assets"})