The RenkoYolo strategy is a trading strategy that uses the Renko charting technique and a combination of technical indicators to generate buy signals. Here is a breakdown of what the strategy does:
It imports necessary libraries and modules for indicator calculations. It defines the buy hyperspace parameters and sell hyperspace parameters, which can be adjusted to optimize the strategy.
It sets the minimal ROI (Return on Investment) table, which defines the target profit percentages at different time intervals.
It sets the stop loss value, which determines the maximum tolerable loss before exiting a trade.
It sets the trailing stop parameter to False, indicating that the strategy does not use a trailing stop. It defines the timeframe for the strategy, which is set to 15 minutes. It enables the use of a sell signal and specifies that profits should only be taken on sell signals. It ignores the ROI (Return on Investment) table if a buy signal is present. It defines the indicators to be populated in the DataFrame: ADX (Average Directional Index) and Aroon. It populates the buy trend based on specific conditions using the indicators and buy parameters. It populates the sell trend, but in this strategy, there is no specific sell signal. Overall, the RenkoYolo strategy aims to generate buy signals based on the ADX and Aroon indicators. It uses predefined parameters and minimal ROI targets to determine entry and exit points for trades.
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/RenkoYolo.py", line 50, in populate_buy_trend
(dataframe['adx'] > params['adx']) &
~~~~~~^^^^^^^
KeyError: 'adx'