strategy callback on_whitelist_update

This commit is contained in:
Sam Germain
2022-04-01 09:25:03 -06:00
parent 0b90e1d309
commit bf7da35e31
2 changed files with 11 additions and 0 deletions

View File

@@ -209,6 +209,13 @@ class IStrategy(ABC, HyperStrategyMixin):
"""
pass
def on_whitelist_update(self, **kwargs) -> None:
"""
Called every time the whitelist updates
:param **kwargs: Ensure to keep this here so updates to this won't break your strategy.
"""
pass
def check_buy_timeout(self, pair: str, trade: Trade, order: Order,
current_time: datetime, **kwargs) -> bool:
"""