Update docs/strategy-callbacks.md

Co-authored-by: Matthias <xmatthias@outlook.com>
This commit is contained in:
Axel CHERUBIN
2023-09-17 03:06:00 -04:00
committed by GitHub
parent a7cd9d77f2
commit d81fdeb3ed

View File

@@ -522,7 +522,7 @@ class AwesomeStrategy(IStrategy):
# ... populate_* methods
def custom_entry_price(self, pair: str, trade: 'Trade', current_time: datetime, proposed_rate: float,
def custom_entry_price(self, pair: str, trade: Optional['Trade'], current_time: datetime, proposed_rate: float,
entry_tag: Optional[str], side: str, **kwargs) -> float:
dataframe, last_updated = self.dp.get_analyzed_dataframe(pair=pair,