From de8e8690387f6f52eed7f54972df0a311a03fdc1 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 20 Mar 2022 09:16:34 +0100 Subject: [PATCH] update missing "side" argument --- 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 d7aa7dfc7..4ee36e73d 100644 --- a/docs/strategy-callbacks.md +++ b/docs/strategy-callbacks.md @@ -630,7 +630,7 @@ class DigDeeperStrategy(IStrategy): # This is called when placing the initial order (opening trade) def custom_stake_amount(self, pair: str, current_time: datetime, current_rate: float, proposed_stake: float, min_stake: float, max_stake: float, - entry_tag: Optional[str], **kwargs) -> float: + entry_tag: Optional[str], side: str, **kwargs) -> float: # We need to leave most of the funds for possible further DCA orders # This also applies to fixed stakes