Fix: Analytics Worker berechnet jetzt alle Tabellen pro Tag
Some checks failed
Deployment / deploy-docker (push) Has been cancelled
Some checks failed
Deployment / deploy-docker (push) Has been cancelled
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user