Merge pull request #20 from freqtrade/remove_hyperopt_reference
Remove hyperopt_reference
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
# --- Do not remove these libs ---
|
||||
from freqtrade.strategy.interface import IStrategy
|
||||
from typing import Dict, List
|
||||
from hyperopt import hp
|
||||
from functools import reduce
|
||||
from pandas import DataFrame
|
||||
# --------------------------------
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
# --- Do not remove these libs ---
|
||||
from freqtrade.strategy.interface import IStrategy
|
||||
from typing import Dict, List
|
||||
from hyperopt import hp
|
||||
from functools import reduce
|
||||
from pandas import DataFrame
|
||||
# --------------------------------
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
from freqtrade.strategy.interface import IStrategy
|
||||
from typing import Dict, List
|
||||
from hyperopt import hp
|
||||
from functools import reduce
|
||||
from pandas import DataFrame
|
||||
# --------------------------------
|
||||
@@ -8,7 +7,6 @@ from pandas import DataFrame
|
||||
import talib.abstract as ta
|
||||
import freqtrade.vendor.qtpylib.indicators as qtpylib
|
||||
from typing import Dict, List
|
||||
from hyperopt import hp
|
||||
from functools import reduce
|
||||
from pandas import DataFrame, DatetimeIndex, merge
|
||||
# --------------------------------
|
||||
@@ -142,4 +140,4 @@ class BinHV27(IStrategy):
|
||||
)
|
||||
),
|
||||
'sell'] = 1
|
||||
return dataframe
|
||||
return dataframe
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
# --- Do not remove these libs ---
|
||||
from freqtrade.strategy.interface import IStrategy
|
||||
from typing import Dict, List
|
||||
from hyperopt import hp
|
||||
from functools import reduce
|
||||
from pandas import DataFrame
|
||||
import numpy as np
|
||||
@@ -54,4 +53,4 @@ class BinHV45(IStrategy):
|
||||
no sell signal
|
||||
"""
|
||||
dataframe['sell'] = 0
|
||||
return dataframe
|
||||
return dataframe
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
# --- Do not remove these libs ---
|
||||
from freqtrade.strategy.interface import IStrategy
|
||||
from typing import Dict, List
|
||||
from hyperopt import hp
|
||||
from functools import reduce
|
||||
from pandas import DataFrame, Series, DatetimeIndex, merge
|
||||
# --------------------------------
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
# --- Do not remove these libs ---
|
||||
from freqtrade.strategy.interface import IStrategy
|
||||
from typing import Dict, List
|
||||
from hyperopt import hp
|
||||
from functools import reduce
|
||||
from pandas import DataFrame
|
||||
# --------------------------------
|
||||
@@ -9,7 +8,6 @@ from pandas import DataFrame
|
||||
import talib.abstract as ta
|
||||
import freqtrade.vendor.qtpylib.indicators as qtpylib
|
||||
from typing import Dict, List
|
||||
from hyperopt import hp
|
||||
from functools import reduce
|
||||
from pandas import DataFrame, DatetimeIndex, merge
|
||||
# --------------------------------
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
from freqtrade.strategy.interface import IStrategy
|
||||
from typing import Dict, List
|
||||
from hyperopt import hp
|
||||
from functools import reduce
|
||||
from pandas import DataFrame
|
||||
# --------------------------------
|
||||
@@ -83,4 +82,4 @@ class EMASkipPump(IStrategy):
|
||||
'sell'
|
||||
] = 1
|
||||
|
||||
return dataframe
|
||||
return dataframe
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
# --- Do not remove these libs ---
|
||||
from freqtrade.strategy.interface import IStrategy
|
||||
from typing import Dict, List
|
||||
from hyperopt import hp
|
||||
from functools import reduce
|
||||
from pandas import DataFrame
|
||||
# --------------------------------
|
||||
@@ -9,7 +8,6 @@ from pandas import DataFrame
|
||||
import talib.abstract as ta
|
||||
import freqtrade.vendor.qtpylib.indicators as qtpylib
|
||||
from typing import Dict, List
|
||||
from hyperopt import hp
|
||||
from functools import reduce
|
||||
from pandas import DataFrame, DatetimeIndex, merge
|
||||
# --------------------------------
|
||||
@@ -107,4 +105,4 @@ class Low_BB(IStrategy):
|
||||
dataframe.loc[
|
||||
(),
|
||||
'sell'] = 0
|
||||
return dataframe
|
||||
return dataframe
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
# --- Do not remove these libs ---
|
||||
from freqtrade.strategy.interface import IStrategy
|
||||
from typing import Dict, List
|
||||
from hyperopt import hp
|
||||
from functools import reduce
|
||||
from pandas import DataFrame
|
||||
# --------------------------------
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
# --- Do not remove these libs ---
|
||||
from freqtrade.strategy.interface import IStrategy
|
||||
from typing import Dict, List
|
||||
from hyperopt import hp
|
||||
from functools import reduce
|
||||
from pandas import DataFrame
|
||||
# --------------------------------
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
# --- Do not remove these libs ---
|
||||
from freqtrade.strategy.interface import IStrategy
|
||||
from typing import Dict, List
|
||||
from hyperopt import hp
|
||||
from functools import reduce
|
||||
from pandas import DataFrame, merge, DatetimeIndex
|
||||
# --------------------------------
|
||||
@@ -97,4 +96,4 @@ class ReinforcedAverageStrategy(IStrategy):
|
||||
df['date'] = df.index
|
||||
df.index = range(len(df))
|
||||
dataframe = merge(dataframe, df, on='date', how='left')
|
||||
return dataframe
|
||||
return dataframe
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
# --- Do not remove these libs ---
|
||||
from freqtrade.strategy.interface import IStrategy
|
||||
from typing import Dict, List
|
||||
from hyperopt import hp
|
||||
from functools import reduce
|
||||
from pandas import DataFrame
|
||||
# --------------------------------
|
||||
@@ -9,7 +8,6 @@ from pandas import DataFrame
|
||||
import talib.abstract as ta
|
||||
import freqtrade.vendor.qtpylib.indicators as qtpylib
|
||||
from typing import Dict, List
|
||||
from hyperopt import hp
|
||||
from functools import reduce
|
||||
from pandas import DataFrame, DatetimeIndex, merge
|
||||
# --------------------------------
|
||||
@@ -194,4 +192,4 @@ class ReinforcedQuickie(IStrategy):
|
||||
df['date'] = df.index
|
||||
df.index = range(len(df))
|
||||
dataframe = merge(dataframe, df, on='date', how='left')
|
||||
return dataframe
|
||||
return dataframe
|
||||
|
||||
@@ -1,14 +1,12 @@
|
||||
# --- Do not remove these libs ---
|
||||
from freqtrade.strategy.interface import IStrategy
|
||||
from typing import Dict, List
|
||||
from hyperopt import hp
|
||||
from functools import reduce
|
||||
from pandas import DataFrame
|
||||
# --------------------------------
|
||||
import talib.abstract as ta
|
||||
import freqtrade.vendor.qtpylib.indicators as qtpylib
|
||||
from typing import Dict, List
|
||||
from hyperopt import hp
|
||||
from functools import reduce
|
||||
from pandas import DataFrame, DatetimeIndex, merge
|
||||
# --------------------------------
|
||||
|
||||
@@ -1,15 +1,13 @@
|
||||
# --- Do not remove these libs ---
|
||||
from freqtrade.strategy.interface import IStrategy
|
||||
from typing import Dict, List
|
||||
from hyperopt import hp
|
||||
from functools import reduce
|
||||
from pandas import DataFrame
|
||||
# --------------------------------
|
||||
import talib.abstract as ta
|
||||
import freqtrade.vendor.qtpylib.indicators as qtpylib
|
||||
from typing import Dict, List
|
||||
from hyperopt import hp
|
||||
from functools import reduce
|
||||
from functools import rweduce
|
||||
from pandas import DataFrame, DatetimeIndex, merge
|
||||
# --------------------------------
|
||||
import talib.abstract as ta
|
||||
@@ -80,4 +78,4 @@ class Scalp(IStrategy):
|
||||
(qtpylib.crossed_above(dataframe['fastd'], 70))
|
||||
),
|
||||
'sell'] = 1
|
||||
return dataframe
|
||||
return dataframe
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
# --- Do not remove these libs ---
|
||||
from freqtrade.strategy.interface import IStrategy
|
||||
from typing import Dict, List
|
||||
from hyperopt import hp
|
||||
from functools import reduce
|
||||
from pandas import DataFrame
|
||||
# --------------------------------
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
# --- Do not remove these libs ---
|
||||
from freqtrade.strategy.interface import IStrategy
|
||||
from typing import Dict, List
|
||||
from hyperopt import hp
|
||||
from functools import reduce
|
||||
from pandas import DataFrame, DatetimeIndex, merge
|
||||
# --------------------------------
|
||||
|
||||
@@ -1,14 +1,12 @@
|
||||
# --- Do not remove these libs ---
|
||||
from freqtrade.strategy.interface import IStrategy
|
||||
from typing import Dict, List
|
||||
from hyperopt import hp
|
||||
from functools import reduce
|
||||
from pandas import DataFrame
|
||||
# --------------------------------
|
||||
import talib.abstract as ta
|
||||
import freqtrade.vendor.qtpylib.indicators as qtpylib
|
||||
from typing import Dict, List
|
||||
from hyperopt import hp
|
||||
from functools import reduce
|
||||
from pandas import DataFrame, DatetimeIndex, merge
|
||||
# --------------------------------
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
# --- Do not remove these libs ---
|
||||
from freqtrade.strategy.interface import IStrategy
|
||||
from typing import Dict, List
|
||||
from hyperopt import hp
|
||||
from functools import reduce
|
||||
from pandas import DataFrame
|
||||
# --------------------------------
|
||||
@@ -20,7 +19,7 @@ class strategy001(IStrategy):
|
||||
author@: Gerald Lonlas
|
||||
github@: https://github.com/freqtrade/freqtrade-strategies
|
||||
|
||||
How to use it?
|
||||
How to use it?
|
||||
> python3 ./freqtrade/main.py -s Strategy001
|
||||
"""
|
||||
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
# --- Do not remove these libs ---
|
||||
from freqtrade.strategy.interface import IStrategy
|
||||
from typing import Dict, List
|
||||
from hyperopt import hp
|
||||
from functools import reduce
|
||||
from pandas import DataFrame
|
||||
# --------------------------------
|
||||
@@ -17,7 +16,7 @@ class strategy002(IStrategy):
|
||||
author@: Gerald Lonlas
|
||||
github@: https://github.com/freqtrade/freqtrade-strategies
|
||||
|
||||
How to use it?
|
||||
How to use it?
|
||||
> python3 ./freqtrade/main.py -s Strategy002
|
||||
"""
|
||||
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
# --- Do not remove these libs ---
|
||||
from freqtrade.strategy.interface import IStrategy
|
||||
from typing import Dict, List
|
||||
from hyperopt import hp
|
||||
from functools import reduce
|
||||
from pandas import DataFrame
|
||||
# --------------------------------
|
||||
@@ -17,7 +16,7 @@ class strategy003(IStrategy):
|
||||
author@: Gerald Lonlas
|
||||
github@: https://github.com/freqtrade/freqtrade-strategies
|
||||
|
||||
How to use it?
|
||||
How to use it?
|
||||
> python3 ./freqtrade/main.py -s Strategy003
|
||||
"""
|
||||
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
# --- Do not remove these libs ---
|
||||
from freqtrade.strategy.interface import IStrategy
|
||||
from typing import Dict, List
|
||||
from hyperopt import hp
|
||||
from functools import reduce
|
||||
from pandas import DataFrame
|
||||
# --------------------------------
|
||||
@@ -16,7 +15,7 @@ class strategy004(IStrategy):
|
||||
author@: Gerald Lonlas
|
||||
github@: https://github.com/freqtrade/freqtrade-strategies
|
||||
|
||||
How to use it?
|
||||
How to use it?
|
||||
> python3 ./freqtrade/main.py -s Strategy004
|
||||
"""
|
||||
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
# --- Do not remove these libs ---
|
||||
from freqtrade.strategy.interface import IStrategy
|
||||
from typing import Dict, List
|
||||
from hyperopt import hp
|
||||
from functools import reduce
|
||||
from pandas import DataFrame
|
||||
# --------------------------------
|
||||
|
||||
Reference in New Issue
Block a user