"""
Feedback module for performance analysis

This module provides functionality to analyze trading performance,
calculate metrics, and generate reports.
"""

from openfund_agent.feedback.analyzer import PerformanceAnalyzer
from openfund_agent.feedback.notification import NotificationService
from openfund_agent.feedback.metrics import (
    calculate_win_rate,
    calculate_profit_factor,
    calculate_max_drawdown,
    calculate_sharpe_ratio,
    calculate_sortino_ratio,
)
from openfund_agent.feedback.serialization import (
    serialize_performance_report,
    serialize_to_json,
    format_for_claude,
    create_claude_prompt_context,
)

__all__ = [
    "PerformanceAnalyzer",
    "NotificationService",
    "calculate_win_rate",
    "calculate_profit_factor",
    "calculate_max_drawdown",
    "calculate_sharpe_ratio",
    "calculate_sortino_ratio",
    "serialize_performance_report",
    "serialize_to_json",
    "format_for_claude",
    "create_claude_prompt_context",
]
