# app/src/trading/decision/protocol.py

from __future__ import annotations

from typing import Protocol

from src.trading.market_intelligence.common.models import CoordinatorResult
from src.trading.decision.models import TradingDecision


class TradingProtocol(Protocol):
    """Контракт Trading Layer."""

    async def decide(
        self,
        coordinator_result: CoordinatorResult,
    ) -> TradingDecision:
        """Принять торговое решение на основе CoordinatorResult."""
        ...