From d66fb86449eccca42637177d0764f1a2eebe5ae2 Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 27 Aug 2019 06:32:01 +0200 Subject: [PATCH] Add documentation for interface_version --- docs/strategy-customization.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/strategy-customization.md b/docs/strategy-customization.md index 9e32ded18..5cf3784ef 100644 --- a/docs/strategy-customization.md +++ b/docs/strategy-customization.md @@ -36,9 +36,14 @@ A strategy file contains all the information needed to build a good strategy: - Minimal ROI recommended - Stoploss strongly recommended -The bot also include a sample strategy called `TestStrategy` you can update: `user_data/strategies/test_strategy.py`. +The bot includes a sample strategy called `TestStrategy` you can update: `user_data/strategies/test_strategy.py`. You can test it with the parameter: `--strategy TestStrategy` +Additionally, there is an attribute called `INTERFACE_VERSION`, which defines the version of the strategy interface the bot should use. +The current version is 2 - which is also the default when it's not set explicitly in the strategy. + +Future versions will require this to be set. + ```bash freqtrade --strategy AwesomeStrategy ```