Wordcloud
Strategy: BuyNStoplossNProfit
Downloaded: 20220817
Stoploss: -0.99
The "BuyNStoplossNProfit" strategy is designed for backtesting trading strategies on a website. Here's a short description of what the strategy does: The strategy calculates a profit threshold based on the buy price, stop loss, and profit rate. It determines the distance percentage between the current price and a green line price.

The strategy has a minimal return on investment (ROI) of 10%.

It uses a stop loss of -0.99, indicating a high risk tolerance.

The timeframe for the strategy is set to 1 hour. The strategy keeps track of whether it has bought once, triggered a stop loss, or reached the profit target. The strategy sends notifications for buying, stop loss, and profit events using the "notify-send" command. It defines a buy zone with a top and bottom price. It populates indicators based on the buy and sell criteria. If the current price is within the buy zone and it hasn't bought once, the strategy triggers a buy and sends a notification. If the current price falls below the buy zone's bottom price and it hasn't triggered a stop loss once, the strategy triggers a stop loss and sends a notification. The strategy calculates a profit threshold based on the open rate, buy zone's bottom price, and a profit rate of 1.9. If the current price reaches the profit threshold and it hasn't reached the profit target once, the strategy triggers a sell and sends a notification. The strategy populates the buy and sell criteria in the dataframe. This strategy aims to identify buying opportunities within a specific price range, while implementing a stop loss and a profit target for risk management.

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 57, in start_backtesting backtesting = Backtesting(config) ^^^^^^^^^^^^^^^^^^^ File "/freqtrade/freqtrade/optimize/backtesting.py", line 113, in __init__ self.strategylist.append(StrategyResolver.load_strategy(self.config)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/freqtrade/freqtrade/resolvers/strategy_resolver.py", line 48, in load_strategy strategy: IStrategy = StrategyResolver._load_strategy( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/freqtrade/freqtrade/resolvers/strategy_resolver.py", line 269, in _load_strategy strategy = StrategyResolver._load_object( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/freqtrade/freqtrade/resolvers/iresolver.py", line 156, in _load_object return module(**kwargs) ^^^^^^^^^^^^^^^^ File "/freqtrade/user_data/strategies/BuyNStoplossNProfit.py", line 40, in __init__ self.buy_zone_price_top = float(config['buy_zone_price_top']) ~~~~~~^^^^^^^^^^^^^^^^^^^^^^ KeyError: 'buy_zone_price_top'
stoploss: -0.99
timeframe: 1h
hash(sha256): 224207c2d6840537e87bf383d9d70f226bab2378a19b34529b631bdb146f5b89
indicators:
sell_criteria buy_criteria buy_zone_price_top buy_zone_price_bottom

No similar strategies found. (based on used indicators)

last change: 2024-07-27 09:44:47