INNER CODE UNIT · Python

_key

jptsantossilva/BEC · bec/main.py:140

    def _key(symbol: str, timeframe: str) -> tuple[str, str]:
        return str(symbol).strip().upper(), str(timeframe).strip()

    def _record_failure(
        self,
        key: tuple[str, str],
        *,
        reason: str,
        required: int,
        available: int = 0,
        error_type: str = "",
    ) -> None:
        self.failures.setdefault(
            key,
            {
                "reason": reason,
                "required": int(required),
                "available": int(available),

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…