From 476c6416ccc9056d824d29951ee4782d6a0e9a3f Mon Sep 17 00:00:00 2001 From: Sam Germain Date: Fri, 1 Apr 2022 05:59:59 -0600 Subject: [PATCH] docs/strategy-customization enter_short and exit_short --- docs/strategy-customization.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/strategy-customization.md b/docs/strategy-customization.md index c33ec5fb9..b032cef21 100644 --- a/docs/strategy-customization.md +++ b/docs/strategy-customization.md @@ -205,7 +205,7 @@ Edit the method `populate_entry_trend()` in your strategy file to update your en It's important to always return the dataframe without removing/modifying the columns `"open", "high", "low", "close", "volume"`, otherwise these fields would contain something unexpected. -This method will also define a new column, `"enter_long"`, which needs to contain 1 for entries, and 0 for "no action". `enter_long` column is a mandatory column that must be set even if the strategy is shorting only. +This method will also define a new column, `"enter_long"` (`"enter_short"` for shorts), which needs to contain 1 for entries, and 0 for "no action". `enter_long` column is a mandatory column that must be set even if the strategy is shorting only. Sample from `user_data/strategies/sample_strategy.py`: @@ -268,7 +268,7 @@ Please note that the sell-signal is only used if `use_sell_signal` is set to tru It's important to always return the dataframe without removing/modifying the columns `"open", "high", "low", "close", "volume"`, otherwise these fields would contain something unexpected. -This method will also define a new column, `"exit_long"`, which needs to contain 1 for sells, and 0 for "no action". +This method will also define a new column, `"exit_long"` (`"exit_short"` for shorts), which needs to contain 1 for exits, and 0 for "no action". Sample from `user_data/strategies/sample_strategy.py`: