From d81fdeb3ed4c1f6c4d7ae5873b1b2411db31421b Mon Sep 17 00:00:00 2001 From: Axel CHERUBIN Date: Sun, 17 Sep 2023 03:06:00 -0400 Subject: [PATCH] Update docs/strategy-callbacks.md Co-authored-by: Matthias --- docs/strategy-callbacks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/strategy-callbacks.md b/docs/strategy-callbacks.md index 321874f6f..8e7bee5f9 100644 --- a/docs/strategy-callbacks.md +++ b/docs/strategy-callbacks.md @@ -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,