Files
The-Ouroboros/src/notifications/__init__.py
agentson 73e1d0a54e
Some checks failed
CI / test (pull_request) Has been cancelled
feat: implement TelegramClient core module (issue #31)
Add TelegramClient for real-time trading notifications:
- NotificationPriority enum (LOW/MEDIUM/HIGH/CRITICAL)
- LeakyBucket rate limiter (1 msg/sec)
- 8 notification methods (trade, circuit breaker, fat finger, market open/close, system start/shutdown, errors)
- Graceful degradation (optional API, never crashes)
- Session management pattern from KISBroker
- Comprehensive README with setup guide and troubleshooting

Follows NewsAPI pattern for optional APIs.
Uses existing aiohttp dependency.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-04 21:29:46 +09:00

6 lines
142 B
Python

"""Real-time notifications for trading events."""
from src.notifications.telegram_client import TelegramClient
__all__ = ["TelegramClient"]