Update current functions to give data relevant to only the registered region

This commit is contained in:
2024-12-07 16:21:52 -08:00
parent 895e50bdd3
commit c064c6bade
4 changed files with 48 additions and 20 deletions

View File

@@ -30,6 +30,10 @@ class History:
def last_price_datum(self) -> Tuple[datetime.datetime, int] | None:
return self._latest_price_datum
@property
def last_price_movement(self) -> int:
return self._last_price_movement
@property
def history(self) -> List[Tuple[datetime.datetime, int]]:
return self._history