Merge branch 'master' into 'master'
Adding VET and changing name of cake strategy See merge request unitoo/crypto/freqtrade-strategies!5
This commit is contained in:
commit
4209d429ba
|
@ -13,7 +13,7 @@ import talib.abstract as ta
|
||||||
import freqtrade.vendor.qtpylib.indicators as qtpylib
|
import freqtrade.vendor.qtpylib.indicators as qtpylib
|
||||||
|
|
||||||
|
|
||||||
class BestProfitLowBudget(IStrategy):
|
class CAKE_1(IStrategy):
|
||||||
"""
|
"""
|
||||||
This is a strategy template to get you started.
|
This is a strategy template to get you started.
|
||||||
More information in https://github.com/freqtrade/freqtrade/blob/develop/docs/bot-optimization.md
|
More information in https://github.com/freqtrade/freqtrade/blob/develop/docs/bot-optimization.md
|
||||||
|
|
|
@ -13,7 +13,7 @@ import talib.abstract as ta
|
||||||
import freqtrade.vendor.qtpylib.indicators as qtpylib
|
import freqtrade.vendor.qtpylib.indicators as qtpylib
|
||||||
|
|
||||||
|
|
||||||
class BestProfitLowBudget(IStrategy):
|
class CAKE_2(IStrategy):
|
||||||
"""
|
"""
|
||||||
This is a strategy template to get you started.
|
This is a strategy template to get you started.
|
||||||
More information in https://github.com/freqtrade/freqtrade/blob/develop/docs/bot-optimization.md
|
More information in https://github.com/freqtrade/freqtrade/blob/develop/docs/bot-optimization.md
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
### VET/USDT
|
||||||
|
|
||||||
|
| File | Start date | End date | Tot. Profit | Avg. Profit | Objective |
|
||||||
|
| ---- | ---------- | -------- | ----------- | ----------- | --------- |
|
||||||
|
| [VET_1](USDT/VET_1.py) | 2021-02-15 06:00:00 | 2021-04-26 09:55:00 | 230.33% | 1.18% | -14.7 |
|
|
@ -13,7 +13,7 @@ import talib.abstract as ta
|
||||||
import freqtrade.vendor.qtpylib.indicators as qtpylib
|
import freqtrade.vendor.qtpylib.indicators as qtpylib
|
||||||
|
|
||||||
|
|
||||||
class VET_Feb2021(IStrategy):
|
class VET_1(IStrategy):
|
||||||
"""
|
"""
|
||||||
This is a strategy template to get you started.
|
This is a strategy template to get you started.
|
||||||
More information in https://github.com/freqtrade/freqtrade/blob/develop/docs/bot-optimization.md
|
More information in https://github.com/freqtrade/freqtrade/blob/develop/docs/bot-optimization.md
|
||||||
|
@ -36,15 +36,15 @@ class VET_Feb2021(IStrategy):
|
||||||
# Minimal ROI designed for the strategy.
|
# Minimal ROI designed for the strategy.
|
||||||
# This attribute will be overridden if the config file contains "minimal_roi".
|
# This attribute will be overridden if the config file contains "minimal_roi".
|
||||||
minimal_roi = {
|
minimal_roi = {
|
||||||
"176": 0,
|
"155": 0,
|
||||||
"62": 0.01208,
|
"90": 0.02968,
|
||||||
"21": 0.02821,
|
"32": 0.09639,
|
||||||
"0": 0.07683
|
"0": 0.27905
|
||||||
}
|
}
|
||||||
|
|
||||||
# Optimal stoploss designed for the strategy.
|
# Optimal stoploss designed for the strategy.
|
||||||
# This attribute will be overridden if the config file contains "stoploss".
|
# This attribute will be overridden if the config file contains "stoploss".
|
||||||
stoploss = -0.34245
|
stoploss = -0.22321
|
||||||
|
|
||||||
# Trailing stoploss
|
# Trailing stoploss
|
||||||
trailing_stop = False
|
trailing_stop = False
|
||||||
|
@ -339,8 +339,7 @@ class VET_Feb2021(IStrategy):
|
||||||
"""
|
"""
|
||||||
dataframe.loc[
|
dataframe.loc[
|
||||||
(
|
(
|
||||||
(dataframe['fastd'] < 23) &
|
(dataframe['fastd'] < 44) &
|
||||||
(dataframe['adx'] > 20) &
|
|
||||||
(dataframe['close'] < dataframe['bb_lowerband'])
|
(dataframe['close'] < dataframe['bb_lowerband'])
|
||||||
#(qtpylib.crossed_above(dataframe['rsi'], 30)) # Signal: RSI crosses above 30
|
#(qtpylib.crossed_above(dataframe['rsi'], 30)) # Signal: RSI crosses above 30
|
||||||
#(dataframe['tema'] <= dataframe['bb_middleband']) & # Guard: tema below BB middle
|
#(dataframe['tema'] <= dataframe['bb_middleband']) & # Guard: tema below BB middle
|
||||||
|
@ -360,9 +359,8 @@ class VET_Feb2021(IStrategy):
|
||||||
"""
|
"""
|
||||||
dataframe.loc[
|
dataframe.loc[
|
||||||
(
|
(
|
||||||
(dataframe['fastd'] > 96) &
|
(dataframe['fastd'] > 75) &
|
||||||
(dataframe['mfi'] > 85) &
|
(qtpylib.crossed_above(dataframe['sar'], dataframe['close']))
|
||||||
(dataframe['close'] > dataframe['bb_upperband'])
|
|
||||||
#(qtpylib.crossed_above(dataframe['rsi'], 70)) # Signal: RSI crosses above 70
|
#(qtpylib.crossed_above(dataframe['rsi'], 70)) # Signal: RSI crosses above 70
|
||||||
#(dataframe['tema'] > dataframe['bb_middleband']) & # Guard: tema above BB middle
|
#(dataframe['tema'] > dataframe['bb_middleband']) & # Guard: tema above BB middle
|
||||||
#(dataframe['tema'] < dataframe['tema'].shift(1)) & # Guard: tema is falling
|
#(dataframe['tema'] < dataframe['tema'].shift(1)) & # Guard: tema is falling
|
Loading…
Reference in New Issue