Update current functions to give data relevant to only the registered region
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user