INTERFACE_VERSION to 3

This commit is contained in:
Matthias
2022-03-05 14:26:18 +01:00
parent ee77ae3ada
commit 72fd937a74
6 changed files with 7 additions and 5 deletions

View File

@@ -35,7 +35,7 @@ The bot also include a sample strategy called `SampleStrategy` you can update: `
You can test it with the parameter: `--strategy SampleStrategy`
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.
The current version is 3 - which is also the default when it's not set explicitly in the strategy.
Future versions will require this to be set.

View File

@@ -20,6 +20,7 @@ If you intend on using markets other than spot markets, please migrate your stra
* Introduced new `leverage` callback
* `@informative` decorator now takes an optional `candle_type` argument
* helper methods `stoploss_from_open` and `stoploss_from_absolute` now take `is_short` as additional argument.
* `INTERFACE_VERSION` should be set to 3.
## Extensive explanation