Skip to content

Conversation

@jamiesun
Copy link
Contributor

描述

变更类型

  • Bug 修复
  • 新功能
  • 代码重构
  • 文档更新
  • 性能优化
  • 测试改进
  • 其他 (请说明):

测试

  • 已通过单元测试
  • 已通过集成测试
  • 已手动测试

检查清单

  • 代码遵循项目的代码风格
  • 已添加必要的测试
  • 所有测试通过
  • 已更新相关文档
  • 变更日志已更新(如适用)

相关 Issue

额外说明

- Add get_candles_snapshot_bulk method to HyperliquidServices
- Implement MCP tool with Pydantic validation for time parameters
- Support days/start_time/end_time with mutual exclusivity
- Add per-coin limit and error handling for partial failures
- Include unit and integration tests with SDK stubs
- Resolves #23
- Implement get_candles_snapshot MCP tool to fetch candlestick data for multiple coins
- Add CandlesSnapshotParams Pydantic model with time parameter validation
- Support flexible time range specification (days or start_time/end_time)
- Add optional limit parameter to restrict number of candles per coin
- Implement get_candles_snapshot_bulk() service method with error handling
- Add unit tests for service layer (test_candles_snapshot.py)
- Add integration tests for MCP tool layer (test_candles_snapshot_tool.py)
- Add HTTP test utility (test_http_tools.py) for SSE endpoint validation
- Add tool registration verification script (test_tool_registration.py)
- Add startup logging to display registered tools count
- Fix .venv synchronization issue by removing old virtual environment

Resolves #23
@jamiesun jamiesun merged commit 4be4c77 into main Oct 30, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants