From 479b560549954589b4b7acd7df65ec4f3c680ce0 Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 1 Feb 2022 06:15:57 +0100 Subject: [PATCH] Add missing entry_tag argument to custom_entry_tag documentation --- 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 1904dd206..bff5bd998 100644 --- a/docs/strategy-callbacks.md +++ b/docs/strategy-callbacks.md @@ -54,7 +54,7 @@ Called before entering a trade, makes it possible to manage your position size w class AwesomeStrategy(IStrategy): def custom_stake_amount(self, pair: str, current_time: datetime, current_rate: float, proposed_stake: float, min_stake: float, max_stake: float, - **kwargs) -> float: + entry_tag: Optional[str], **kwargs) -> float: dataframe, _ = self.dp.get_analyzed_dataframe(pair=pair, timeframe=self.timeframe) current_candle = dataframe.iloc[-1].squeeze()