Skip to content

Commit

Permalink
Add documentation for interface_version
Browse files Browse the repository at this point in the history
  • Loading branch information
xmatthias committed Aug 27, 2019
1 parent 0e62b8b commit d66fb86
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/strategy-customization.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down

0 comments on commit d66fb86

Please sign in to comment.