Initial commit of integrated agent system

This commit is contained in:
cillin
2026-03-30 17:46:44 +08:00
commit 0fa413380c
337 changed files with 75268 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
from dataclasses import dataclass
@dataclass(frozen=True)
class TradingSessionKey:
date: str
ticker: str | None = None
def __post_init__(self):
if not self.date:
raise ValueError("Session must have a date")
def key(self) -> str:
return f"{self.date}:{self.ticker or 'all'}"