Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NWEv6_new.py indicator merge error while running #4

Open
jashan1498 opened this issue May 28, 2022 · 5 comments
Open

NWEv6_new.py indicator merge error while running #4

jashan1498 opened this issue May 28, 2022 · 5 comments

Comments

@jashan1498
Copy link

jashan1498 commented May 28, 2022

got this error while running/backtesting the v6_new strat

running it on :
timeframe : 5m

Traceback (most recent call last):
  File "/freqtrade/freqtrade/main.py", line 37, 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 1161, in start
    min_date, max_date = self.backtest_one_strategy(strat, data, timerange)
  File "/freqtrade/freqtrade/optimize/backtesting.py", line 1059, in backtest_one_strategy
    preprocessed = self.strategy.advise_all_indicators(data)
  File "/freqtrade/freqtrade/strategy/interface.py", line 1081, in advise_all_indicators
    return {pair: self.advise_indicators(pair_data.copy(), {'pair': pair}).copy()
  File "/freqtrade/freqtrade/strategy/interface.py", line 1081, in <dictcomp>
    return {pair: self.advise_indicators(pair_data.copy(), {'pair': pair}).copy()
  File "/freqtrade/freqtrade/strategy/interface.py", line 1096, in advise_indicators
    dataframe = _create_and_merge_informative_pair(
  File "/freqtrade/freqtrade/strategy/informative_decorator.py", line 134, in _create_and_merge_informative_pair
    dataframe = merge_informative_pair(dataframe, inf_dataframe, strategy.timeframe, timeframe,
  File "/freqtrade/freqtrade/strategy/strategy_helper.py", line 48, in merge_informative_pair
    raise ValueError("Tried to merge a faster timeframe to a slower timeframe."
ValueError: Tried to merge a faster timeframe to a slower timeframe.This would create new rows, and can throw off your regular indicators.
@Deleriumdelicious
Copy link

I'm running the previous and new version in dry-run but I don't have any trade the last couple of days. Bot is running though and there are more than enough pairs in the whitelist. Is it correct no trades have happened the last couple of days?

@Deleriumdelicious
Copy link

Can you also please specify which additional dependencies we have to install next to the ones that are already included in Freqtrade?

@Deleriumdelicious
Copy link

@jashan1498 , did you already solve the error in the meantime perhaps? @anakein can you please help us with this issue? Are there certain settings or configs we have to adjust?

@simwai
Copy link

simwai commented Dec 17, 2022

You just need to use 1m timeframe

@Jeerjmin
Copy link

Why backtest show negative profit ? But dry-run works well with positive?
@anakein

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants