Updating CAKE_4

This commit is contained in:
Claudio Maradonna 2021-04-28 22:12:02 +02:00
parent 5ef17bea8f
commit 5ba96f58e7
Signed by: claudiomaradonna
GPG Key ID: 0CBA58694C5680D9
2 changed files with 9 additions and 9 deletions

View File

@ -5,4 +5,4 @@
| [CAKE_1](USDT/CAKE_1.py) | 2021-02-19 06:00:00 | 2021-04-24 09:55:00 | 188.51% | 1.20% | -56.31932 |
| [CAKE_2](USDT/CAKE_2.py) | 2021-02-19 06:00:00 | 2021-04-26 07:25:00 | 192.04% | 1.24% | -56.51255 |
| [CAKE_3](USDT/CAKE_3.py) | 2021-02-19 06:00:00 | 2021-04-27 06:40:00 | 200.71% | 1.27% | -56.81330 |
| [CAKE_4](USDT/CAKE_4.py) | 2021-03-27 21:30:00 | 2021-04-28 09:20:00 | 111.22% | 1.24% | -80.19203 |
| [CAKE_4](USDT/CAKE_4.py) | 2021-03-27 21:30:00 | 2021-04-28 19:05:00 | 112.28% | 1.23% | -81.77138 |

View File

@ -36,14 +36,14 @@ class CAKE_4(IStrategy):
# Minimal ROI designed for the strategy.
# This attribute will be overridden if the config file contains "minimal_roi".
minimal_roi = {
"0": 0.07515,
"28": 0.05573,
"85": 0.01569,
"0": 0.22932,
"22": 0.07192,
"78": 0.01553,
"195": 0
}
# Stoploss:
stoploss = -0.28488
stoploss = -0.25675
# Trailing stop:
trailing_stop = True
@ -360,19 +360,19 @@ class CAKE_4(IStrategy):
"""
dataframe.loc[
(
(dataframe['adx'] < 89) &
#(dataframe['adx'] < 89) &
#(dataframe['fastd'] > 85) &
#(dataframe['mfi'] > 99) &
(dataframe['rsi'] > 66) &
(dataframe['rsi'] > 77) &
#(dataframe['close'] > dataframe['bb_upperband'])
(qtpylib.crossed_above(dataframe['macdsignal'], dataframe['macd']))
#(qtpylib.crossed_above(dataframe['macdsignal'], dataframe['macd']))
#(dataframe['fastd'] > 85) &
#(dataframe['mfi'] > 82) &
#(dataframe['rsi'] > 96) &
#(qtpylib.crossed_above(dataframe['macdsignal'], dataframe['macd']))
#(qtpylib.crossed_above(dataframe['sar'], dataframe['close']))
(qtpylib.crossed_above(dataframe['sar'], dataframe['close']))
#(qtpylib.crossed_above(dataframe['rsi'], 70)) & # Signal: RSI crosses above 70
#(dataframe['tema'] > dataframe['bb_middleband']) & # Guard: tema above BB middle
#(dataframe['tema'] < dataframe['tema'].shift(1)) & # Guard: tema is falling