From 045225beefdb48613ef0be145a1ac5b20dd9676a Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 26 Dec 2021 15:34:37 +0100 Subject: [PATCH] Slightly improve doc formatting --- docs/configuration.md | 5 +++-- docs/plotting.md | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/configuration.md b/docs/configuration.md index a445e6869..340ae2e72 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -305,11 +305,12 @@ To allow the bot to trade all the available `stake_currency` in your account (mi It is therefore important to set `dry_run_wallet` to a sensible value (like 0.05 or 0.01 for BTC and 1000 or 100 for USDT, for example), otherwise, it may simulate trades with 100 BTC (or more) or 0.05 USDT (or less) at once - which may not correspond to your real available balance or is less than the exchange minimal limit for the order amount for the stake currency. #### Dynamic stake amount with position adjustment + When you want to use position adjustment with unlimited stakes, you must also implement `custom_stake_amount` to a return a value depending on your strategy. Typical value would be in the range of 25% - 50% of the proposed stakes, but depends highly on your strategy and how much you wish to leave into the wallet as position adjustment buffer. -
+ For example if your position adjustment assumes it can do 2 additional buys with the same stake amounts then your buffer should be 66.6667% of the initially proposed unlimited stake amount. -
+ Or another example if your position adjustment assumes it can do 1 additional buy with 3x the original stake amount then `custom_stake_amount` should return 25% of proposed stake amount and leave 75% for possible later position adjustments. --8<-- "includes/pricing.md" diff --git a/docs/plotting.md b/docs/plotting.md index b81d57b7e..38635ae6e 100644 --- a/docs/plotting.md +++ b/docs/plotting.md @@ -273,7 +273,7 @@ def plot_config(self): !!! Warning `plotly` arguments are only supported with plotly library and will not work with freq-ui. -!!! Note +!!! Note "Trade position adjustments" If `position_adjustment_enable` / `adjust_trade_position()` is used, the trade initial buy price is averaged over multiple orders and the trade start price will most likely appear outside the candle range. ## Plot profit