From a09637cbe1182ba1290470d8a2f8dfbae4d65dfe Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 5 Apr 2022 20:25:31 +0200 Subject: [PATCH] Update migration documentation with new settings --- docs/strategy_migration.md | 32 ++++++++++++++++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) diff --git a/docs/strategy_migration.md b/docs/strategy_migration.md index 31cbb71e0..9aeec5ae2 100644 --- a/docs/strategy_migration.md +++ b/docs/strategy_migration.md @@ -61,8 +61,11 @@ You can use the quick summary as checklist. Please refer to the detailed section * `sell` -> `exit` * `sell_fill` -> `exit_fill` * `sell_cancel` -> `exit_cancel` - - + * Strategy/config settings: + * `use_sell_signal` -> `use_exit_signal` + * `sell_profit_only` -> `exit_profit_only` + * `sell_profit_offset` -> `exit_profit_offset` + * `ignore_roi_if_buy_signal` -> `ignore_roi_if_entry_signal` ## Extensive explanation @@ -360,6 +363,31 @@ After: } ``` +#### Strategy level settings + +* `use_sell_signal` -> `use_exit_signal` +* `sell_profit_only` -> `exit_profit_only` +* `sell_profit_offset` -> `exit_profit_offset` +* `ignore_roi_if_buy_signal` -> `ignore_roi_if_entry_signal` + +``` python hl_lines="2-5" + # These values can be overridden in the config. + use_sell_signal = True + sell_profit_only = True + sell_profit_offset: 0.01 + ignore_roi_if_buy_signal = False +``` + +After: + +``` python hl_lines="2-5" + # These values can be overridden in the config. + use_exit_signal = True + exit_profit_only = True + exit_profit_offset: 0.01 + ignore_roi_if_entry_signal = False +``` + #### `unfilledtimeout` `unfilledtimeout` have changed all wordings from `buy` to `entry` - and `sell` to `exit`.