diff --git a/docs/leverage.md b/docs/leverage.md index 5481c1997..79d3c9842 100644 --- a/docs/leverage.md +++ b/docs/leverage.md @@ -13,8 +13,7 @@ Please only use advanced trading modes when you know how freqtrade (and your strategy) works. Also, never risk more than what you can afford to lose. - -Please read the [strategy migration guide](https://www.freqtrade.io/en/latest/strategy_migration/#strategy-migration-between-v2-and-v3) to migrate your strategy from a freqtrade v2 strategy, to v3 strategy that can short and trade futures +Please read the [strategy migration guide](strategy_migration.md#strategy-migration-between-v2-and-v3) to migrate your strategy from a freqtrade v2 strategy, to v3 strategy that can short and trade futures. ## Shorting @@ -22,7 +21,7 @@ Shorting is not possible when trading with [`trading_mode`](#understand-tradingm For a strategy to short, the strategy class must set the class variable `can_short = True` -Please read [strategy customization](https://www.freqtrade.io/en/latest/strategy-customization/#entry-signal-rules) for instructions on how to set signals to enter and exit short trades +Please read [strategy customization](strategy-customization.md#entry-signal-rules) for instructions on how to set signals to enter and exit short trades. ## Understand `trading_mode` diff --git a/docs/strategy-customization.md b/docs/strategy-customization.md index b032cef21..d413c60ef 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"` (`"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. +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` is a mandatory column that must be set even if the strategy is shorting only. Sample from `user_data/strategies/sample_strategy.py`: