Add sell_profit_offset parameter

Allows defining positive offsets before enabling the sell signal
This commit is contained in:
Matthias
2021-01-11 19:30:07 +01:00
parent dbc25f00ac
commit 63a579dbab
6 changed files with 11 additions and 5 deletions

View File

@@ -79,6 +79,7 @@ class StrategyResolver(IResolver):
("use_sell_signal", True, 'ask_strategy'),
("sell_profit_only", False, 'ask_strategy'),
("ignore_roi_if_buy_signal", False, 'ask_strategy'),
("sell_profit_offset", 0.0, 'ask_strategy'),
("disable_dataframe_checks", False, None),
]
for attribute, default, subkey in attributes: