Wordcloud
Strategy: TheSimpleStrategy
Downloaded: 20220818
Stoploss: -0.25
The "TheSimpleStrategy" is a backtesting strategy for trading. It uses several indicators to make buying and selling decisions. Here's a breakdown of what the strategy does: Minimal ROI: The strategy aims for a minimal return on investment (ROI) of 0.01.

This value can be adjusted based on market conditions.

Stoploss: The strategy has a predefined stoploss of -0.25, which means if a trade goes against the expected direction by 0.25, it will be stopped out.

Timeframe: The strategy operates on a 5-minute timeframe, meaning it analyzes price data in 5-minute intervals. Indicators used: MACD: The strategy calculates the Moving Average Convergence Divergence (MACD) indicator using the parameters macd_fast_period, macd_slow_period, and macd_signal_period. It compares the MACD line with the signal line to identify buying opportunities. RSI: The strategy calculates the Relative Strength Index (RSI) indicator with a time period of 7. It uses the RSI value to determine selling points. Buy and sell decisions: Buy: The strategy generates a buy signal when the following conditions are met: MACD is above 0. MACD is greater than the MACD signal line. Additional condition (not specified in the provided code). Sell: The strategy generates a sell signal when the RSI value is above a threshold specified by the "sell_rsi" parameter. Note: There are some missing parts in the code, such as the condition for generating buy signals ("& (dataframe['b'])") and the calculation of Bollinger Bands. These parts may contain additional criteria for buy signals or other indicators used in the strategy. Overall, the strategy combines MACD and RSI indicators to make buying and selling decisions in the backtesting process.

Traceback (most recent call last): File "/home/ftuser/.local/lib/python3.11/site-packages/pandas/core/indexes/base.py", line 3791, in get_loc return self._engine.get_loc(casted_key) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "index.pyx", line 152, in pandas._libs.index.IndexEngine.get_loc File "index.pyx", line 181, in pandas._libs.index.IndexEngine.get_loc File "pandas/_libs/hashtable_class_helper.pxi", line 7080, in pandas._libs.hashtable.PyObjectHashTable.get_item File "pandas/_libs/hashtable_class_helper.pxi", line 7088, in pandas._libs.hashtable.PyObjectHashTable.get_item KeyError: 'b' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/freqtrade/freqtrade/main.py", line 42, in main return_code = args['func'](args) ^^^^^^^^^^^^^^^^^^ File "/freqtrade/freqtrade/commands/optimize_commands.py", line 58, in start_backtesting backtesting.start() File "/freqtrade/freqtrade/optimize/backtesting.py", line 1401, in start min_date, max_date = self.backtest_one_strategy(strat, data, timerange) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/freqtrade/freqtrade/optimize/backtesting.py", line 1335, in backtest_one_strategy results = self.backtest( ^^^^^^^^^^^^^^ File "/freqtrade/freqtrade/optimize/backtesting.py", line 1213, in backtest data: Dict = self._get_ohlcv_as_lists(processed) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/freqtrade/freqtrade/optimize/backtesting.py", line 381, in _get_ohlcv_as_lists df_analyzed = self.strategy.ft_advise_signals(pair_data, {'pair': pair}) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/freqtrade/freqtrade/strategy/interface.py", line 1391, in ft_advise_signals dataframe = self.advise_entry(dataframe, metadata) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/freqtrade/freqtrade/strategy/interface.py", line 1425, in advise_entry df = self.populate_entry_trend(dataframe, metadata) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/freqtrade/freqtrade/strategy/interface.py", line 225, in populate_entry_trend return self.populate_buy_trend(dataframe, metadata) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/freqtrade/user_data/strategies/TheSimpleStrategy.py", line 56, in populate_buy_trend & (dataframe['b']) ~~~~~~~~~^^^^^ File "/home/ftuser/.local/lib/python3.11/site-packages/pandas/core/frame.py", line 3893, in __getitem__ indexer = self.columns.get_loc(key) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/ftuser/.local/lib/python3.11/site-packages/pandas/core/indexes/base.py", line 3798, in get_loc raise KeyError(key) from err KeyError: 'b'
stoploss: -0.25
timeframe: 5m
hash(sha256): 7101606f89cfc8898eaadb3e21b1ab359689b3c13db3e3fafcd5cc54d84cb5a2
indicators:
macdsignal upper mid lower close
rsi bb_middleband macd bb_lowerband bb_upperband

No similar strategies found. (based on used indicators)

last change: 2024-04-29 20:35:40