Fix: Analytics Worker berechnet jetzt alle Tabellen pro Tag
Some checks failed
Deployment / deploy-docker (push) Has been cancelled

This commit is contained in:
Melchior Reimers
2026-01-29 14:53:57 +01:00
parent 2ac24cd5ea
commit 79a80141e9

View File

@@ -19,7 +19,11 @@ class BaseExchange(abc.ABC):
def fetch_latest_trades(self) -> List[Trade]:
pass
@property
@abc.abstractmethod
def name(self) -> str:
pass
def fetch_trades_generator(self, **kwargs):
"""Standard generator implementation that yields batches from fetch_latest_trades.
Subclasses should override this if they can stream data more efficiently."""
yield self.fetch_latest_trades(**kwargs)