Update interface version on remaining strategies
This commit is contained in:
@@ -21,6 +21,7 @@ class InformativeSample(IStrategy):
|
||||
> python3 freqtrade -s InformativeSample
|
||||
"""
|
||||
|
||||
INTERFACE_VERSION: int = 3
|
||||
# Minimal ROI designed for the strategy.
|
||||
# This attribute will be overridden if the config file contains "minimal_roi"
|
||||
minimal_roi = {
|
||||
|
||||
@@ -17,6 +17,7 @@ from functools import reduce
|
||||
class MultiMa(IStrategy):
|
||||
# 111/2000: 18 trades. 12/4/2 Wins/Draws/Losses. Avg profit 9.72%. Median profit 3.01%. Total profit 733.01234143 USDT ( 73.30%). Avg duration 2 days, 18:40:00 min. Objective: 1.67048
|
||||
|
||||
INTERFACE_VERSION: int = 3
|
||||
# Buy hyperspace params:
|
||||
buy_params = {
|
||||
"buy_ma_count": 4,
|
||||
|
||||
@@ -19,14 +19,15 @@ from technical.util import resample_to_interval, resampled_merge
|
||||
|
||||
|
||||
class PatternRecognition(IStrategy):
|
||||
# Pattern Recognition Strategy
|
||||
# Pattern Recognition Strategy
|
||||
# By: @Mablue
|
||||
# freqtrade hyperopt -s PatternRecognition --hyperopt-loss SharpeHyperOptLossDaily -e 1000
|
||||
#
|
||||
#
|
||||
|
||||
# 173/1000: 510 trades. 408/14/88 Wins/Draws/Losses. Avg profit 2.35%. Median profit 5.60%. Total profit 5421.34509618 USDT ( 542.13%). Avg duration 7 days, 11:54:00 min. Objective: -1.60426
|
||||
|
||||
|
||||
INTERFACE_VERSION: int = 3
|
||||
# Buy hyperspace params:
|
||||
buy_params = {
|
||||
"buy_pr1": "CDLHIGHWAVE",
|
||||
@@ -58,7 +59,7 @@ class PatternRecognition(IStrategy):
|
||||
buy_pr1 = CategoricalParameter(prs, default=prs[0], space="buy")
|
||||
buy_vol1 = CategoricalParameter([-100,100], default=0, space="buy")
|
||||
|
||||
|
||||
|
||||
|
||||
def populate_indicators(self, dataframe: DataFrame, metadata: dict) -> DataFrame:
|
||||
for pr in self.prs:
|
||||
|
||||
@@ -21,6 +21,7 @@ class Strategy001_custom_exit(IStrategy):
|
||||
> python3 ./freqtrade/main.py -s Strategy001_custom_exit
|
||||
"""
|
||||
|
||||
INTERFACE_VERSION: int = 3
|
||||
# Minimal ROI designed for the strategy.
|
||||
# This attribute will be overridden if the config file contains "minimal_roi"
|
||||
minimal_roi = {
|
||||
|
||||
@@ -23,6 +23,7 @@ class Supertrend(IStrategy):
|
||||
# Buy params, Sell params, ROI, Stoploss and Trailing Stop are values generated by 'freqtrade hyperopt --strategy Supertrend --hyperopt-loss ShortTradeDurHyperOptLoss --timerange=20210101- --timeframe=1h --spaces all'
|
||||
# It's encourage you find the values that better suites your needs and risk management strategies
|
||||
|
||||
INTERFACE_VERSION: int = 3
|
||||
# Buy hyperspace params:
|
||||
buy_params = {
|
||||
"buy_m1": 4,
|
||||
|
||||
@@ -18,6 +18,7 @@ class ADXMomentum(IStrategy):
|
||||
|
||||
"""
|
||||
|
||||
INTERFACE_VERSION: int = 3
|
||||
# Minimal ROI designed for the strategy.
|
||||
# adjust based on market conditions. We would recommend to keep it low for quick turn arounds
|
||||
# This attribute will be overridden if the config file contains "minimal_roi"
|
||||
|
||||
@@ -19,6 +19,7 @@ class AdxSmas(IStrategy):
|
||||
|
||||
"""
|
||||
|
||||
INTERFACE_VERSION: int = 3
|
||||
# Minimal ROI designed for the strategy.
|
||||
# adjust based on market conditions. We would recommend to keep it low for quick turn arounds
|
||||
# This attribute will be overridden if the config file contains "minimal_roi"
|
||||
|
||||
@@ -10,6 +10,7 @@ import freqtrade.vendor.qtpylib.indicators as qtpylib
|
||||
|
||||
|
||||
class CCIStrategy(IStrategy):
|
||||
INTERFACE_VERSION: int = 3
|
||||
# Minimal ROI designed for the strategy.
|
||||
# This attribute will be overridden if the config file contains "minimal_roi"
|
||||
minimal_roi = {
|
||||
|
||||
@@ -29,6 +29,7 @@ class Low_BB(IStrategy):
|
||||
buy after crossing .98 * lower_bb and sell if trailing stop loss is hit
|
||||
"""
|
||||
|
||||
INTERFACE_VERSION: int = 3
|
||||
# Minimal ROI designed for the strategy.
|
||||
# This attribute will be overridden if the config file contains "minimal_roi"
|
||||
minimal_roi = {
|
||||
|
||||
@@ -29,7 +29,7 @@ class MACDStrategy(IStrategy):
|
||||
- Sell side: CCI between 0 and 700
|
||||
|
||||
"""
|
||||
INTERFACE_VERSION = 2
|
||||
INTERFACE_VERSION: int = 3
|
||||
|
||||
# Minimal ROI designed for the strategy.
|
||||
# This attribute will be overridden if the config file contains "minimal_roi"
|
||||
|
||||
Reference in New Issue
Block a user