Home Creators Posts Import Register Favorites Logout
haven't archived this post yet. have a subscription? use the importer!

Downloads

  • 273449005.mp4

Missing 1 video, as this post has not yet been imported.

Content


Look-ahead  bias is a subtle yet critical concept to understand when analyzing  financial markets, whether you're dealing with equities, stocks,  options, forex, or cryptocurrencies. This bias occurs when a strategy is  tested using information that would not have been available at the time  of trading. In other words, it's like unintentionally peeking into the  future when making a decision in the present.


Imagine you're a time traveler with tomorrow's newspaper in your  hands today. If you use that future information to make decisions today,  you have an unfair advantage, right? That's essentially what look-ahead  bias introduces in trading algorithms and financial models. It makes a  strategy appear more effective than it truly is because it uses  information that wouldn't be accessible in real-time trading.

For example, if an algorithm incorporates the end-of-day price as a  signal to make trades at the start of the day, it's indulging in  look-ahead bias because, in reality, the end-of-day price wouldn't be  known at the start. This bias can lead to overly optimistic backtesting  results, making a strategy seem profitable on paper when it might not be  in live markets.

It's crucial for traders and analysts to meticulously ensure that  their models only use information that would be available at the moment  of decision-making to avoid this bias. Proper data alignment, careful  construction of historical databases, and strict adherence to  chronological order in simulation and backtesting processes are  essential steps to prevent look-ahead bias and ensure the integrity and  reliability of trading strategies.

By understanding and avoiding look-ahead bias, traders can develop  more accurate and realistic models, which is essential for navigating  the complex and fast-paced world of financial markets with confidence  and success.

The reason for this video is the feedback I got from my last strategy testing video.

There I tested the Machete strategy and people from the community  notified me that these unrealistic spectacular results were caused by  lookahead bias that this algo has.

And although I explicitly warned about this in the video this  feedback made me wonder if there is any way to detect if an algorithm  has lookahead bias.

Luckily for us there is a function in Freqtrade bot that helps us with detecting this bias.

It has been introduced in version 2023.6.

I consulted the Freqtrade documentation on this lookahead-analysis and there it also states that it is easy to introduce lookahead bias in your algorithm. But it is hard to decect that you created this bias afterwards. Except for results that maybe look too good to be true.

The documentation even literally states that "If the programmer is  not careful or oblivious how things work internally (which sometimes can  be really hard to find out) then it will just look into the future  making the strategy amazing but not realistic."

So, when testing someone elses algorithm with lots and lots of buy and sell signals, it is even harder to detect lookahead bias.

Hopefully the Freqtrade lookahead-analysis function provides enough  information to add an extra warning to the results i have when testing  future trading strategies.

Reading the documentation states that:

It will start with a backtest of all pairs to generate a  baseline for indicators and entries/exits. After the backtest ran, it  will look if the minimum-trade-amount is met and if not cancel the  lookahead-analysis for this strategy.After setting the baseline it will then do additional runs for every  entry and exit separately. When a verification-backtest is done, it will  compare the indicators as the signal (either entry or exit) and report  the bias. After all signals have been verified or falsified a  result-table will be generated for the user to see.

So what I understand from this is that the function starts by  performing a regular backtest, considering all available data to  establish a baseline for your strategy's performance.

And after the initial backtest, the function then conducts a series  of additional backtests. but, it slightly alters the data each time to  simulate real-time conditions. It removes future data that wouldn't be  available at the time of trade execution to see if your strategy's  performance changes.

The function compares the results of these lookahead backtests with  the initial baseline. And if your strategy performs significantly better  in the initial backtest (where it had access to all data), it might be  because it's using future information, indicating lookahead bias.

Strategies without bias

So what happens if I use this command with a strategy that I suspect does not have lookahead bias?

Since this command is very similar to the backtesting function I used  the following command to find out if the next algo code has bias.

freqtrade lookahead-analysis -c user_data/spot_config.json --timerange 20190101- --timeframe 1d -s Low_BB --minimum-trade-amount 5 --lookahead-analysis-exportfilename user_data/logs/low_BB.csv

Well I had to test out a little bit what the exact command should be  to give me the correct output and I came up with the following command:


freqtrade lookahead-analysis # The lookahead command
-c # The configuration to use
-s # the name of the strategy itself. If your strategy is in another location, use the --strategy-path option here.
--timerange # not using a timerange would lead to the analysis using all the data
--timeframe # and the timeframe to use. I suspect that bias should occur on all timeframes since it is baked into the algo. But testing on higher timeframes can lead to faster throughput and therefore faster results.

So as you see, this command can use a lot of commands that are similar of Backtesting.

The command also has the following settings to avoid users accidentally generating false positives.

--cache is forced to "none".
--max-open-trades is forced to be at least equal to the number of pairs.
--dry-run-wallet is forced to be basically infinite (1 billion).
--stake-amount is forced to be a static 10000 (10k).

A nice addition is that lookahead analysis also supports the analysis of freqai strategies.

So let's show the first example where there is no bias detected...

freqtrade lookahead-analysis -c /opt/freqtrade/user_data/spot_config.json --strategy-path /opt/freqtrade/user_data/strategies -s Low_BB --timerange 20190101- --timeframe 1d


freqtrade lookahead-analysis -c user_data/spot_config.json --timerange 20190101- --timeframe 1d -s Low_BB --minimum-trade-amount 5 --lookahead-analysis-exportfilename user_data/logs/low_BB.csv
2024-02-02 09:58:08,528 - freqtrade - INFO - freqtrade 2023.7
2024-02-02 09:58:08,529 - freqtrade.configuration.load_config - INFO - Using config: user_data/spot_config.json ...
2024-02-02 09:58:08,529 - freqtrade.loggers - INFO - Verbosity set to 0
2024-02-02 09:58:08,529 - freqtrade.configuration.configuration - INFO - Parameter -i/--timeframe detected ... Using timeframe: 1d ...
2024-02-02 09:58:08,529 - freqtrade.configuration.configuration - INFO - Parameter --timerange detected: 20190101- ...
2024-02-02 09:58:08,530 - freqtrade.configuration.configuration - INFO - Using user-data directory: /opt/freqtrade/user_data ...
2024-02-02 09:58:08,530 - freqtrade.configuration.configuration - INFO - Using data directory: /opt/freqtrade/user_data/data/binance ...
2024-02-02 09:58:08,530 - freqtrade.configuration.configuration - INFO - Overriding timeframe with Command line argument
2024-02-02 09:58:08,530 - freqtrade.configuration.configuration - INFO - Parameter --cache=day detected ...
2024-02-02 09:58:08,530 - freqtrade.configuration.configuration - INFO - Saving lookahead analysis results into user_data/logs/low_BB.csv ...
2024-02-02 09:58:08,530 - freqtrade.configuration.configuration - INFO - Filter trades by timerange: 20190101-
2024-02-02 09:58:08,530 - freqtrade.configuration.configuration - INFO - Minimum Trade amount: 5
2024-02-02 09:58:08,530 - freqtrade.configuration.configuration - INFO - Path to store lookahead-analysis-results: user_data/logs/low_BB.csv
2024-02-02 09:58:08,530 - freqtrade.exchange.check_exchange - INFO - Checking exchange...
2024-02-02 09:58:08,533 - freqtrade.exchange.check_exchange - INFO - Exchange "binance" is officially supported by the Freqtrade development team.
2024-02-02 09:58:08,533 - freqtrade.configuration.configuration - INFO - Using pairlist from configuration.
2024-02-02 09:58:08,533 - freqtrade.configuration.config_validation - INFO - Validating configuration ...
2024-02-02 09:58:08,534 - freqtrade.optimize.lookahead_analysis_helpers - INFO - Max_open_trades were less than amount of pairs. Set max_open_trades to amount of pairs just to avoid false positives.
2024-02-02 09:58:08,534 - freqtrade.optimize.lookahead_analysis_helpers - INFO - Dry run wallet was not set to 1 billion, pushing it up there just to avoid false positives
2024-02-02 09:58:08,534 - freqtrade.optimize.lookahead_analysis_helpers - INFO - backtest_cache = day detected. Inside lookahead-analysis it is enforced to be 'none'. Changed it to 'none'
2024-02-02 09:58:08,574 - freqtrade.resolvers.iresolver - WARNING - Could not import /opt/freqtrade/user_data/strategies/example-baseline.py.py due to 'invalid syntax (example-baseline.py.py, line 21)'
Add {
       "method": "AgeFilter",
       "min_days_listed": 30
},
to your pairlists in config (Under StaticPairList)
2024-02-02 09:58:08,581 - NostalgiaForInfinityX - INFO - pandas_ta successfully imported
2024-02-02 09:58:08,588 - freqtrade.optimize.lookahead_analysis_helpers - INFO - Bias test of Low_BB.py started.
2024-02-02 09:58:08,588 - freqtrade.exchange.exchange - INFO - Instance is running with dry_run enabled
2024-02-02 09:58:08,588 - freqtrade.exchange.exchange - INFO - Using CCXT 4.0.36
2024-02-02 09:58:08,594 - freqtrade.exchange.exchange - INFO - Using Exchange "Binance"
2024-02-02 09:58:13,821 - freqtrade.resolvers.exchange_resolver - INFO - Using resolved exchange 'Binance'...
2024-02-02 09:58:13,821 - freqtrade.resolvers.iresolver - INFO - Using resolved strategy Low_BB from '/opt/freqtrade/user_data/strategies/Low_BB.py'...
2024-02-02 09:58:13,822 - freqtrade.strategy.hyper - INFO - Loading parameters from file /opt/freqtrade/user_data/strategies/Low_BB.json
2024-02-02 09:58:13,822 - freqtrade.resolvers.strategy_resolver - INFO - Override strategy 'timeframe' with value in config file: 1d.
2024-02-02 09:58:13,822 - freqtrade.resolvers.strategy_resolver - INFO - Override strategy 'stake_currency' with value in config file: USDT.
2024-02-02 09:58:13,822 - freqtrade.resolvers.strategy_resolver - INFO - Override strategy 'stake_amount' with value in config file: unlimited.
2024-02-02 09:58:13,822 - freqtrade.resolvers.strategy_resolver - INFO - Override strategy 'unfilledtimeout' with value in config file: {'entry': 10, 'exit': 10, 'exit_timeout_count': 0, 'unit': 'minutes'}.
2024-02-02 09:58:13,822 - freqtrade.resolvers.strategy_resolver - INFO - Override strategy 'max_open_trades' with value in config file: 50.
2024-02-02 09:58:13,822 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using minimal_roi: {'0': 0.181, '120': 0.083, '288': 0.058, '618': 0}
2024-02-02 09:58:13,822 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using timeframe: 1d
2024-02-02 09:58:13,822 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using stoploss: -0.02
2024-02-02 09:58:13,822 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using trailing_stop: False
2024-02-02 09:58:13,822 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using trailing_stop_positive_offset: 0.0
2024-02-02 09:58:13,822 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using trailing_only_offset_is_reached: False
2024-02-02 09:58:13,823 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using use_custom_stoploss: False
2024-02-02 09:58:13,823 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using process_only_new_candles: True
2024-02-02 09:58:13,823 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using order_types: {'entry': 'limit', 'exit': 'limit', 'stoploss': 'limit', 'stoploss_on_exchange': False, 'stoploss_on_exchange_interval': 60}
2024-02-02 09:58:13,823 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using order_time_in_force: {'entry': 'GTC', 'exit': 'GTC'}
2024-02-02 09:58:13,823 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using stake_currency: USDT
2024-02-02 09:58:13,823 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using stake_amount: unlimited
2024-02-02 09:58:13,823 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using protections: []
2024-02-02 09:58:13,823 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using startup_candle_count: 0
2024-02-02 09:58:13,823 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using unfilledtimeout: {'entry': 10, 'exit': 10, 'exit_timeout_count': 0, 'unit': 'minutes'}
2024-02-02 09:58:13,823 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using use_exit_signal: True
2024-02-02 09:58:13,823 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using exit_profit_only: False
2024-02-02 09:58:13,823 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using ignore_roi_if_entry_signal: False
2024-02-02 09:58:13,823 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using exit_profit_offset: 0.0
2024-02-02 09:58:13,823 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using disable_dataframe_checks: False
2024-02-02 09:58:13,823 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using ignore_buying_expired_candle_after: 0
2024-02-02 09:58:13,823 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using position_adjustment_enable: False
2024-02-02 09:58:13,823 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using max_entry_position_adjustment: -1
2024-02-02 09:58:13,823 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using max_open_trades: 50
2024-02-02 09:58:13,823 - freqtrade.configuration.config_validation - INFO - Validating configuration ...
2024-02-02 09:58:13,825 - freqtrade.resolvers.iresolver - INFO - Using resolved pairlist StaticPairList from '/opt/freqtrade/freqtrade/plugins/pairlist/StaticPairList.py'...
2024-02-02 09:58:13,877 - freqtrade.strategy.hyper - INFO - No params for buy found, using default values.
2024-02-02 09:58:13,877 - freqtrade.strategy.hyper - INFO - No params for sell found, using default values.
2024-02-02 09:58:13,877 - freqtrade.strategy.hyper - INFO - No params for protection found, using default values.
2024-02-02 09:58:13,882 - freqtrade.data.history.idatahandler - WARNING - BTC/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-02-02 09:58:13,893 - freqtrade.data.history.idatahandler - WARNING - ETH/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-02-02 09:58:13,901 - freqtrade.data.history.idatahandler - WARNING - BNB/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-02-02 09:58:13,908 - freqtrade.data.history.idatahandler - WARNING - SOL/USDT, spot, 1d, data starts at 2020-08-11 00:00:00
2024-02-02 09:58:13,908 - freqtrade.data.history.idatahandler - WARNING - SOL/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-02-02 09:58:13,916 - freqtrade.data.history.idatahandler - WARNING - ADA/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-02-02 09:58:13,924 - freqtrade.data.history.idatahandler - WARNING - XRP/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-02-02 09:58:13,931 - freqtrade.data.history.idatahandler - WARNING - DOT/USDT, spot, 1d, data starts at 2020-08-18 00:00:00
2024-02-02 09:58:13,932 - freqtrade.data.history.idatahandler - WARNING - DOT/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-02-02 09:58:13,939 - freqtrade.data.history.idatahandler - WARNING - AVAX/USDT, spot, 1d, data starts at 2020-09-22 00:00:00
2024-02-02 09:58:13,939 - freqtrade.data.history.idatahandler - WARNING - AVAX/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-02-02 09:58:13,946 - freqtrade.data.history.idatahandler - WARNING - DOGE/USDT, spot, 1d, data starts at 2019-07-05 00:00:00
2024-02-02 09:58:13,947 - freqtrade.data.history.idatahandler - WARNING - DOGE/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-02-02 09:58:13,954 - freqtrade.data.history.idatahandler - WARNING - SHIB/USDT, spot, 1d, data starts at 2021-05-10 00:00:00
2024-02-02 09:58:13,954 - freqtrade.data.history.idatahandler - WARNING - SHIB/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-02-02 09:58:13,961 - freqtrade.data.history.idatahandler - WARNING - MATIC/USDT, spot, 1d, data starts at 2019-04-26 00:00:00
2024-02-02 09:58:13,961 - freqtrade.data.history.idatahandler - WARNING - MATIC/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-02-02 09:58:13,969 - freqtrade.data.history.idatahandler - WARNING - UNI/USDT, spot, 1d, data starts at 2020-09-17 00:00:00
2024-02-02 09:58:13,969 - freqtrade.data.history.idatahandler - WARNING - UNI/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-02-02 09:58:13,976 - freqtrade.data.history.idatahandler - WARNING - ALGO/USDT, spot, 1d, data starts at 2019-06-22 00:00:00
2024-02-02 09:58:13,976 - freqtrade.data.history.idatahandler - WARNING - ALGO/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-02-02 09:58:13,984 - freqtrade.data.history.idatahandler - WARNING - LTC/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-02-02 09:58:13,992 - freqtrade.data.history.idatahandler - WARNING - LINK/USDT, spot, 1d, data starts at 2019-01-16 00:00:00
2024-02-02 09:58:13,992 - freqtrade.data.history.idatahandler - WARNING - LINK/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-02-02 09:58:13,999 - freqtrade.data.history.idatahandler - WARNING - NEAR/USDT, spot, 1d, data starts at 2020-10-14 00:00:00
2024-02-02 09:58:13,999 - freqtrade.data.history.idatahandler - WARNING - NEAR/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-02-02 09:58:14,007 - freqtrade.data.history.idatahandler - WARNING - BCH/USDT, spot, 1d, data starts at 2019-11-28 00:00:00
2024-02-02 09:58:14,007 - freqtrade.data.history.idatahandler - WARNING - BCH/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-02-02 09:58:14,014 - freqtrade.data.history.idatahandler - WARNING - ATOM/USDT, spot, 1d, data starts at 2019-04-29 00:00:00
2024-02-02 09:58:14,014 - freqtrade.data.history.idatahandler - WARNING - ATOM/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-02-02 09:58:14,022 - freqtrade.data.history.idatahandler - WARNING - TRX/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-02-02 09:58:14,030 - freqtrade.data.history.idatahandler - WARNING - XLM/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-02-02 09:58:14,037 - freqtrade.data.history.idatahandler - WARNING - FTM/USDT, spot, 1d, data starts at 2019-06-11 00:00:00
2024-02-02 09:58:14,037 - freqtrade.data.history.idatahandler - WARNING - FTM/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-02-02 09:58:14,045 - freqtrade.data.history.idatahandler - WARNING - MANA/USDT, spot, 1d, data starts at 2020-08-06 00:00:00
2024-02-02 09:58:14,045 - freqtrade.data.history.idatahandler - WARNING - MANA/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-02-02 09:58:14,052 - freqtrade.data.history.idatahandler - WARNING - AXS/USDT, spot, 1d, data starts at 2020-11-04 00:00:00
2024-02-02 09:58:14,052 - freqtrade.data.history.idatahandler - WARNING - AXS/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-02-02 09:58:14,060 - freqtrade.data.history.idatahandler - WARNING - HBAR/USDT, spot, 1d, data starts at 2019-09-29 00:00:00
2024-02-02 09:58:14,060 - freqtrade.data.history.idatahandler - WARNING - HBAR/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-02-02 09:58:14,068 - freqtrade.data.history.idatahandler - WARNING - VET/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-02-02 09:58:14,075 - freqtrade.data.history.idatahandler - WARNING - SAND/USDT, spot, 1d, data starts at 2020-08-14 00:00:00
2024-02-02 09:58:14,075 - freqtrade.data.history.idatahandler - WARNING - SAND/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-02-02 09:58:14,082 - freqtrade.data.history.idatahandler - WARNING - ICP/USDT, spot, 1d, data starts at 2021-05-11 00:00:00
2024-02-02 09:58:14,082 - freqtrade.data.history.idatahandler - WARNING - ICP/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-02-02 09:58:14,089 - freqtrade.data.history.idatahandler - WARNING - FIL/USDT, spot, 1d, data starts at 2020-10-15 00:00:00
2024-02-02 09:58:14,089 - freqtrade.data.history.idatahandler - WARNING - FIL/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-02-02 09:58:14,097 - freqtrade.data.history.idatahandler - WARNING - THETA/USDT, spot, 1d, data starts at 2019-04-10 00:00:00
2024-02-02 09:58:14,097 - freqtrade.data.history.idatahandler - WARNING - THETA/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-02-02 09:58:14,105 - freqtrade.data.history.idatahandler - WARNING - ETC/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-02-02 09:58:14,112 - freqtrade.data.history.idatahandler - WARNING - XMR/USDT, spot, 1d, data starts at 2019-03-15 00:00:00
2024-02-02 09:58:14,112 - freqtrade.data.history.idatahandler - WARNING - XMR/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-02-02 09:58:14,120 - freqtrade.data.history.idatahandler - WARNING - XTZ/USDT, spot, 1d, data starts at 2019-09-24 00:00:00
2024-02-02 09:58:14,120 - freqtrade.data.history.idatahandler - WARNING - XTZ/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-02-02 09:58:14,127 - freqtrade.data.history.idatahandler - WARNING - AAVE/USDT, spot, 1d, data starts at 2020-10-15 00:00:00
2024-02-02 09:58:14,127 - freqtrade.data.history.idatahandler - WARNING - AAVE/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-02-02 09:58:14,134 - freqtrade.data.history.idatahandler - WARNING - KLAY/USDT, spot, 1d, data starts at 2021-06-24 00:00:00
2024-02-02 09:58:14,134 - freqtrade.data.history.idatahandler - WARNING - KLAY/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-02-02 09:58:14,142 - freqtrade.data.history.idatahandler - WARNING - ONE/USDT, spot, 1d, data starts at 2019-06-01 00:00:00
2024-02-02 09:58:14,142 - freqtrade.data.history.idatahandler - WARNING - ONE/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-02-02 09:58:14,150 - freqtrade.data.history.idatahandler - WARNING - GRT/USDT, spot, 1d, data starts at 2020-12-17 00:00:00
2024-02-02 09:58:14,150 - freqtrade.data.history.idatahandler - WARNING - GRT/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-02-02 09:58:14,157 - freqtrade.data.history.idatahandler - WARNING - GALA/USDT, spot, 1d, data starts at 2021-09-13 00:00:00
2024-02-02 09:58:14,157 - freqtrade.data.history.idatahandler - WARNING - GALA/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-02-02 09:58:14,165 - freqtrade.data.history.idatahandler - WARNING - EOS/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-02-02 09:58:14,172 - freqtrade.data.history.idatahandler - WARNING - CAKE/USDT, spot, 1d, data starts at 2021-02-19 00:00:00
2024-02-02 09:58:14,172 - freqtrade.data.history.idatahandler - WARNING - CAKE/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-02-02 09:58:14,179 - freqtrade.data.history.idatahandler - WARNING - STX/USDT, spot, 1d, data starts at 2019-10-25 00:00:00
2024-02-02 09:58:14,179 - freqtrade.data.history.idatahandler - WARNING - STX/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-02-02 09:58:14,186 - freqtrade.data.history.idatahandler - WARNING - FLOW/USDT, spot, 1d, data starts at 2021-07-30 00:00:00
2024-02-02 09:58:14,186 - freqtrade.data.history.idatahandler - WARNING - FLOW/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-02-02 09:58:14,194 - freqtrade.data.history.idatahandler - WARNING - LRC/USDT, spot, 1d, data starts at 2020-06-12 00:00:00
2024-02-02 09:58:14,194 - freqtrade.data.history.idatahandler - WARNING - LRC/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-02-02 09:58:14,201 - freqtrade.data.history.idatahandler - WARNING - CRV/USDT, spot, 1d, data starts at 2020-08-15 00:00:00
2024-02-02 09:58:14,201 - freqtrade.data.history.idatahandler - WARNING - CRV/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-02-02 09:58:14,208 - freqtrade.data.history.idatahandler - WARNING - KSM/USDT, spot, 1d, data starts at 2020-09-04 00:00:00
2024-02-02 09:58:14,208 - freqtrade.data.history.idatahandler - WARNING - KSM/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-02-02 09:58:14,216 - freqtrade.data.history.idatahandler - WARNING - MKR/USDT, spot, 1d, data starts at 2020-07-23 00:00:00
2024-02-02 09:58:14,216 - freqtrade.data.history.idatahandler - WARNING - MKR/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-02-02 09:58:14,223 - freqtrade.data.history.idatahandler - WARNING - ENJ/USDT, spot, 1d, data starts at 2019-04-18 00:00:00
2024-02-02 09:58:14,223 - freqtrade.data.history.idatahandler - WARNING - ENJ/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-02-02 09:58:14,230 - freqtrade.data.history.idatahandler - WARNING - QNT/USDT, spot, 1d, data starts at 2021-07-29 00:00:00
2024-02-02 09:58:14,230 - freqtrade.data.history.idatahandler - WARNING - QNT/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-02-02 09:58:14,237 - freqtrade.data.history.idatahandler - WARNING - XEC/USDT, spot, 1d, data starts at 2021-09-03 00:00:00
2024-02-02 09:58:14,237 - freqtrade.data.history.idatahandler - WARNING - XEC/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-02-02 09:58:14,244 - freqtrade.data.history.idatahandler - WARNING - AMP/USDT, spot, 1d, data starts at 2021-11-23 00:00:00
2024-02-02 09:58:14,245 - freqtrade.data.history.idatahandler - WARNING - AMP/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-02-02 09:58:14,252 - freqtrade.data.history.idatahandler - WARNING - ZEC/USDT, spot, 1d, data starts at 2019-03-21 00:00:00
2024-02-02 09:58:14,252 - freqtrade.data.history.idatahandler - WARNING - ZEC/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-02-02 09:58:14,261 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2023-12-31 00:00:00 (1825 days).
2024-02-02 09:58:15,609 - freqtrade.loggers.set_log_levels - INFO - Reducing verbosity for bias tester.
2024-02-02 09:58:15,609 - freqtrade.optimize.lookahead_analysis - INFO - Found 1725 trades, calculating 20 trades.
2024-02-02 09:58:15,625 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2019-01-12 00:00:00 (11 days).
2024-02-02 09:58:15,645 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2019-01-12 00:00:00 (11 days).
2024-02-02 09:58:15,670 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2019-01-30 00:00:00 (29 days).
2024-02-02 09:58:15,689 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2019-01-30 00:00:00 (29 days).
2024-02-02 09:58:15,714 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2019-01-31 00:00:00 (30 days).
2024-02-02 09:58:15,733 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2019-02-01 00:00:00 (31 days).
2024-02-02 09:58:15,757 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2019-01-31 00:00:00 (30 days).
2024-02-02 09:58:15,778 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2019-02-01 00:00:00 (31 days).
2024-02-02 09:58:15,803 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2019-01-31 00:00:00 (30 days).
2024-02-02 09:58:15,822 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2019-02-01 00:00:00 (31 days).
2024-02-02 09:58:15,842 - freqtrade.data.history.idatahandler - WARNING - THETA/USDT, spot, 1d, data starts at 2019-04-10 00:00:00
2024-02-02 09:58:15,847 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-04-10 00:00:00 up to 2019-04-26 00:00:00 (16 days).
2024-02-02 09:58:15,861 - freqtrade.data.history.idatahandler - WARNING - THETA/USDT, spot, 1d, data starts at 2019-04-10 00:00:00
2024-02-02 09:58:15,866 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-04-10 00:00:00 up to 2019-04-26 00:00:00 (16 days).
2024-02-02 09:58:15,890 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2019-04-26 00:00:00 (115 days).
2024-02-02 09:58:15,910 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2019-04-26 00:00:00 (115 days).
2024-02-02 09:58:15,934 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2019-04-27 00:00:00 (116 days).
2024-02-02 09:58:15,954 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2019-04-27 00:00:00 (116 days).
2024-02-02 09:58:15,974 - freqtrade.data.history.idatahandler - WARNING - XMR/USDT, spot, 1d, data starts at 2019-03-15 00:00:00
2024-02-02 09:58:15,979 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-03-15 00:00:00 up to 2019-04-27 00:00:00 (43 days).
2024-02-02 09:58:15,994 - freqtrade.data.history.idatahandler - WARNING - XMR/USDT, spot, 1d, data starts at 2019-03-15 00:00:00
2024-02-02 09:58:15,999 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-03-15 00:00:00 up to 2019-04-27 00:00:00 (43 days).
2024-02-02 09:58:16,018 - freqtrade.data.history.idatahandler - WARNING - ZEC/USDT, spot, 1d, data starts at 2019-03-21 00:00:00
2024-02-02 09:58:16,023 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-03-21 00:00:00 up to 2019-04-27 00:00:00 (37 days).
2024-02-02 09:58:16,037 - freqtrade.data.history.idatahandler - WARNING - ZEC/USDT, spot, 1d, data starts at 2019-03-21 00:00:00
2024-02-02 09:58:16,042 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-03-21 00:00:00 up to 2019-04-27 00:00:00 (37 days).
2024-02-02 09:58:16,067 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2019-04-27 00:00:00 (116 days).
2024-02-02 09:58:16,088 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2019-04-28 00:00:00 (117 days).
2024-02-02 09:58:16,114 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2019-05-11 00:00:00 (130 days).
2024-02-02 09:58:16,134 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2019-05-11 00:00:00 (130 days).
2024-02-02 09:58:16,154 - freqtrade.data.history.idatahandler - WARNING - ENJ/USDT, spot, 1d, data starts at 2019-04-18 00:00:00
2024-02-02 09:58:16,159 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-04-18 00:00:00 up to 2019-06-29 00:00:00 (72 days).
2024-02-02 09:58:16,174 - freqtrade.data.history.idatahandler - WARNING - ENJ/USDT, spot, 1d, data starts at 2019-04-18 00:00:00
2024-02-02 09:58:16,179 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-04-18 00:00:00 up to 2019-06-29 00:00:00 (72 days).
2024-02-02 09:58:16,204 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2019-06-29 00:00:00 (179 days).
2024-02-02 09:58:16,225 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2019-06-30 00:00:00 (180 days).
2024-02-02 09:58:16,252 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2019-07-02 00:00:00 (182 days).
2024-02-02 09:58:16,274 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2019-07-02 00:00:00 (182 days).
2024-02-02 09:58:16,296 - freqtrade.data.history.idatahandler - WARNING - ENJ/USDT, spot, 1d, data starts at 2019-04-18 00:00:00
2024-02-02 09:58:16,301 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-04-18 00:00:00 up to 2019-07-13 00:00:00 (86 days).
2024-02-02 09:58:16,317 - freqtrade.data.history.idatahandler - WARNING - ENJ/USDT, spot, 1d, data starts at 2019-04-18 00:00:00
2024-02-02 09:58:16,321 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-04-18 00:00:00 up to 2019-07-13 00:00:00 (86 days).
2024-02-02 09:58:16,342 - freqtrade.data.history.idatahandler - WARNING - ZEC/USDT, spot, 1d, data starts at 2019-03-21 00:00:00
2024-02-02 09:58:16,346 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-03-21 00:00:00 up to 2019-07-13 00:00:00 (114 days).
2024-02-02 09:58:16,362 - freqtrade.data.history.idatahandler - WARNING - ZEC/USDT, spot, 1d, data starts at 2019-03-21 00:00:00
2024-02-02 09:58:16,367 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-03-21 00:00:00 up to 2019-07-13 00:00:00 (114 days).
2024-02-02 09:58:16,392 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2019-07-16 00:00:00 (196 days).
2024-02-02 09:58:16,413 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2019-07-16 00:00:00 (196 days).
2024-02-02 09:58:16,439 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2019-07-16 00:00:00 (196 days).
2024-02-02 09:58:16,459 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2019-07-16 00:00:00 (196 days).
2024-02-02 09:58:16,484 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2019-07-16 00:00:00 (196 days).
2024-02-02 09:58:16,504 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2019-07-16 00:00:00 (196 days).
2024-02-02 09:58:16,516 - freqtrade.loggers.set_log_levels - INFO - Restoring log verbosity.
2024-02-02 09:58:16,517 - freqtrade.optimize.lookahead_analysis - INFO - Low_BB: no bias detected
2024-02-02 09:58:16,517 - freqtrade.optimize.lookahead_analysis_helpers - INFO - Checking look ahead bias via backtests of Low_BB.py took 8 seconds.
| filename   | strategy   | has_bias   |   total_signals |   biased_entry_signals |   biased_exit_signals | biased_indicators   |
|------------+------------+------------+-----------------+------------------------+-----------------------+---------------------|
| Low_BB.py  | Low_BB     | False      |              20 |                      0 |                     0 |                     |
2024-02-02 09:58:16,519 - freqtrade.optimize.lookahead_analysis_helpers - INFO - saving user_data/logs/low_BB.csv
cat user_data/logs/low_BB.csv
filename,strategy,has_bias,total_signals,biased_entry_signals,biased_exit_signals,biased_indicators
Low_BB.py,Low_BB,False,20,0,0,

You can see that the output shows that this algorithm has no bias detected.

So in this case I am happy that this algo has been correctly build.

Strategies with bias

Let's now look at an example where a strategy does suffer from lookahead bias.

What does this command show where this bias is located.

Again, I'll use the same command, but this time use another strategy to test.

freqtrade lookahead-analysis -c /opt/freqtrade/user_data/spot_config.json --strategy-path /opt/freqtrade/user_data/strategies --timerange 20190101- --timeframe 1d -s wtc
2024-01-31 10:31:50,201 - freqtrade - INFO - freqtrade 2023.7
2024-01-31 10:31:50,202 - freqtrade.configuration.load_config - INFO - Using config: /opt/freqtrade/user_data/spot_config.json ...
2024-01-31 10:31:50,202 - freqtrade.loggers - INFO - Verbosity set to 0
2024-01-31 10:31:50,202 - freqtrade.configuration.configuration - INFO - Using additional Strategy lookup path: /opt/freqtrade/user_data/strategies
2024-01-31 10:31:50,202 - freqtrade.configuration.configuration - INFO - Parameter -i/--timeframe detected ... Using timeframe: 1d ...
2024-01-31 10:31:50,202 - freqtrade.configuration.configuration - INFO - Parameter --timerange detected: 20190101- ...
2024-01-31 10:31:50,203 - freqtrade.configuration.configuration - INFO - Using user-data directory: /opt/freqtrade/user_data ...
2024-01-31 10:31:50,203 - freqtrade.configuration.configuration - INFO - Using data directory: /opt/freqtrade/user_data/data/binance ...
2024-01-31 10:31:50,203 - freqtrade.configuration.configuration - INFO - Overriding timeframe with Command line argument
2024-01-31 10:31:50,203 - freqtrade.configuration.configuration - INFO - Parameter --cache=day detected ...
2024-01-31 10:31:50,203 - freqtrade.configuration.configuration - INFO - Filter trades by timerange: 20190101-
2024-01-31 10:31:50,203 - freqtrade.exchange.check_exchange - INFO - Checking exchange...
2024-01-31 10:31:50,206 - freqtrade.exchange.check_exchange - INFO - Exchange "binance" is officially supported by the Freqtrade development team.
2024-01-31 10:31:50,206 - freqtrade.configuration.configuration - INFO - Using pairlist from configuration.
2024-01-31 10:31:50,206 - freqtrade.configuration.config_validation - INFO - Validating configuration ...
2024-01-31 10:31:50,207 - freqtrade.optimize.lookahead_analysis_helpers - INFO - Max_open_trades were less than amount of pairs. Set max_open_trades to amount of pairs just to avoid false positives.
2024-01-31 10:31:50,207 - freqtrade.optimize.lookahead_analysis_helpers - INFO - Dry run wallet was not set to 1 billion, pushing it up there just to avoid false positives
2024-01-31 10:31:50,207 - freqtrade.optimize.lookahead_analysis_helpers - INFO - backtest_cache = day detected. Inside lookahead-analysis it is enforced to be 'none'. Changed it to 'none'
2024-01-31 10:31:50,249 - freqtrade.resolvers.iresolver - WARNING - Could not import /opt/freqtrade/user_data/strategies/example-baseline.py.py due to 'invalid syntax (example-baseline.py.py, line 21)'
Add {
       "method": "AgeFilter",
       "min_days_listed": 30
},
to your pairlists in config (Under StaticPairList)
2024-01-31 10:31:50,256 - NostalgiaForInfinityX - INFO - pandas_ta successfully imported
2024-01-31 10:31:50,264 - freqtrade.resolvers.iresolver - WARNING - Could not import /opt/freqtrade/user_data/strategies/example-baseline.py.py due to 'invalid syntax (example-baseline.py.py, line 21)'
Add {
       "method": "AgeFilter",
       "min_days_listed": 30
},
to your pairlists in config (Under StaticPairList)
2024-01-31 10:31:50,268 - NostalgiaForInfinityX - INFO - pandas_ta successfully imported
2024-01-31 10:31:50,274 - freqtrade.optimize.lookahead_analysis_helpers - INFO - Bias test of wtc.py started.
2024-01-31 10:31:50,274 - freqtrade.exchange.exchange - INFO - Instance is running with dry_run enabled
2024-01-31 10:31:50,274 - freqtrade.exchange.exchange - INFO - Using CCXT 4.0.36
2024-01-31 10:31:50,281 - freqtrade.exchange.exchange - INFO - Using Exchange "Binance"
2024-01-31 10:31:55,339 - freqtrade.resolvers.exchange_resolver - INFO - Using resolved exchange 'Binance'...
2024-01-31 10:31:55,341 - freqtrade.resolvers.iresolver - INFO - Using resolved strategy wtc from '/opt/freqtrade/user_data/strategies/wtc.py'...
2024-01-31 10:31:55,341 - freqtrade.strategy.hyper - INFO - Found no parameter file.
2024-01-31 10:31:55,341 - freqtrade.resolvers.strategy_resolver - INFO - Override strategy 'timeframe' with value in config file: 1d.
2024-01-31 10:31:55,341 - freqtrade.resolvers.strategy_resolver - INFO - Override strategy 'stake_currency' with value in config file: USDT.
2024-01-31 10:31:55,341 - freqtrade.resolvers.strategy_resolver - INFO - Override strategy 'stake_amount' with value in config file: unlimited.
2024-01-31 10:31:55,341 - freqtrade.resolvers.strategy_resolver - INFO - Override strategy 'unfilledtimeout' with value in config file: {'entry': 10, 'exit': 10, 'exit_timeout_count': 0, 'unit': 'minutes'}.
2024-01-31 10:31:55,341 - freqtrade.resolvers.strategy_resolver - INFO - Override strategy 'max_open_trades' with value in config file: 50.
2024-01-31 10:31:55,341 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using minimal_roi: {}
2024-01-31 10:31:55,341 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using timeframe: 1d
2024-01-31 10:31:55,341 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using stoploss: -0.128
2024-01-31 10:31:55,341 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using trailing_stop: False
2024-01-31 10:31:55,341 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using trailing_stop_positive_offset: 0.0
2024-01-31 10:31:55,341 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using trailing_only_offset_is_reached: False
2024-01-31 10:31:55,342 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using use_custom_stoploss: False
2024-01-31 10:31:55,342 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using process_only_new_candles: True
2024-01-31 10:31:55,342 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using order_types: {'entry': 'limit', 'exit': 'limit', 'stoploss': 'limit', 'stoploss_on_exchange': False, 'stoploss_on_exchange_interval': 60}
2024-01-31 10:31:55,342 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using order_time_in_force: {'entry': 'GTC', 'exit': 'GTC'}
2024-01-31 10:31:55,342 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using stake_currency: USDT
2024-01-31 10:31:55,342 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using stake_amount: unlimited
2024-01-31 10:31:55,342 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using protections: []
2024-01-31 10:31:55,342 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using startup_candle_count: 0
2024-01-31 10:31:55,342 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using unfilledtimeout: {'entry': 10, 'exit': 10, 'exit_timeout_count': 0, 'unit': 'minutes'}
2024-01-31 10:31:55,342 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using use_exit_signal: True
2024-01-31 10:31:55,342 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using exit_profit_only: False
2024-01-31 10:31:55,342 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using ignore_roi_if_entry_signal: False
2024-01-31 10:31:55,342 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using exit_profit_offset: 0.0
2024-01-31 10:31:55,342 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using disable_dataframe_checks: False
2024-01-31 10:31:55,342 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using ignore_buying_expired_candle_after: 0
2024-01-31 10:31:55,342 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using position_adjustment_enable: False
2024-01-31 10:31:55,342 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using max_entry_position_adjustment: -1
2024-01-31 10:31:55,342 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using max_open_trades: 50
2024-01-31 10:31:55,342 - freqtrade.configuration.config_validation - INFO - Validating configuration ...
2024-01-31 10:31:55,344 - freqtrade.resolvers.iresolver - INFO - Using resolved pairlist StaticPairList from '/opt/freqtrade/freqtrade/plugins/pairlist/StaticPairList.py'...
2024-01-31 10:31:55,400 - freqtrade.strategy.hyper - INFO - Strategy Parameter: buy_max = 0.9609
2024-01-31 10:31:55,400 - freqtrade.strategy.hyper - INFO - Strategy Parameter: buy_max0 = 0.8633
2024-01-31 10:31:55,400 - freqtrade.strategy.hyper - INFO - Strategy Parameter: buy_max1 = 0.9133
2024-01-31 10:31:55,400 - freqtrade.strategy.hyper - INFO - Strategy Parameter: buy_min = 0.0019
2024-01-31 10:31:55,400 - freqtrade.strategy.hyper - INFO - Strategy Parameter: buy_min0 = 0.0102
2024-01-31 10:31:55,400 - freqtrade.strategy.hyper - INFO - Strategy Parameter: buy_min1 = 0.6864
2024-01-31 10:31:55,400 - freqtrade.strategy.hyper - INFO - Strategy Parameter: sell_max = -0.7979
2024-01-31 10:31:55,400 - freqtrade.strategy.hyper - INFO - Strategy Parameter: sell_max0 = 0.82
2024-01-31 10:31:55,400 - freqtrade.strategy.hyper - INFO - Strategy Parameter: sell_max1 = 0.9821
2024-01-31 10:31:55,400 - freqtrade.strategy.hyper - INFO - Strategy Parameter: sell_min = -0.5377
2024-01-31 10:31:55,400 - freqtrade.strategy.hyper - INFO - Strategy Parameter: sell_min0 = 0.0628
2024-01-31 10:31:55,400 - freqtrade.strategy.hyper - INFO - Strategy Parameter: sell_min1 = 0.4461
2024-01-31 10:31:55,400 - freqtrade.strategy.hyper - INFO - No params for protection found, using default values.
2024-01-31 10:31:55,406 - freqtrade.data.history.idatahandler - WARNING - BTC/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-01-31 10:31:55,416 - freqtrade.data.history.idatahandler - WARNING - ETH/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-01-31 10:31:55,425 - freqtrade.data.history.idatahandler - WARNING - BNB/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-01-31 10:31:55,433 - freqtrade.data.history.idatahandler - WARNING - SOL/USDT, spot, 1d, data starts at 2020-08-11 00:00:00
2024-01-31 10:31:55,433 - freqtrade.data.history.idatahandler - WARNING - SOL/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-01-31 10:31:55,442 - freqtrade.data.history.idatahandler - WARNING - ADA/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-01-31 10:31:55,450 - freqtrade.data.history.idatahandler - WARNING - XRP/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-01-31 10:31:55,458 - freqtrade.data.history.idatahandler - WARNING - DOT/USDT, spot, 1d, data starts at 2020-08-18 00:00:00
2024-01-31 10:31:55,458 - freqtrade.data.history.idatahandler - WARNING - DOT/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-01-31 10:31:55,466 - freqtrade.data.history.idatahandler - WARNING - AVAX/USDT, spot, 1d, data starts at 2020-09-22 00:00:00
2024-01-31 10:31:55,466 - freqtrade.data.history.idatahandler - WARNING - AVAX/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-01-31 10:31:55,474 - freqtrade.data.history.idatahandler - WARNING - DOGE/USDT, spot, 1d, data starts at 2019-07-05 00:00:00
2024-01-31 10:31:55,474 - freqtrade.data.history.idatahandler - WARNING - DOGE/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-01-31 10:31:55,482 - freqtrade.data.history.idatahandler - WARNING - SHIB/USDT, spot, 1d, data starts at 2021-05-10 00:00:00
2024-01-31 10:31:55,482 - freqtrade.data.history.idatahandler - WARNING - SHIB/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-01-31 10:31:55,489 - freqtrade.data.history.idatahandler - WARNING - MATIC/USDT, spot, 1d, data starts at 2019-04-26 00:00:00
2024-01-31 10:31:55,490 - freqtrade.data.history.idatahandler - WARNING - MATIC/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-01-31 10:31:55,497 - freqtrade.data.history.idatahandler - WARNING - UNI/USDT, spot, 1d, data starts at 2020-09-17 00:00:00
2024-01-31 10:31:55,498 - freqtrade.data.history.idatahandler - WARNING - UNI/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-01-31 10:31:55,505 - freqtrade.data.history.idatahandler - WARNING - ALGO/USDT, spot, 1d, data starts at 2019-06-22 00:00:00
2024-01-31 10:31:55,506 - freqtrade.data.history.idatahandler - WARNING - ALGO/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-01-31 10:31:55,514 - freqtrade.data.history.idatahandler - WARNING - LTC/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-01-31 10:31:55,522 - freqtrade.data.history.idatahandler - WARNING - LINK/USDT, spot, 1d, data starts at 2019-01-16 00:00:00
2024-01-31 10:31:55,522 - freqtrade.data.history.idatahandler - WARNING - LINK/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-01-31 10:31:55,529 - freqtrade.data.history.idatahandler - WARNING - NEAR/USDT, spot, 1d, data starts at 2020-10-14 00:00:00
2024-01-31 10:31:55,530 - freqtrade.data.history.idatahandler - WARNING - NEAR/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-01-31 10:31:55,537 - freqtrade.data.history.idatahandler - WARNING - BCH/USDT, spot, 1d, data starts at 2019-11-28 00:00:00
2024-01-31 10:31:55,537 - freqtrade.data.history.idatahandler - WARNING - BCH/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-01-31 10:31:55,545 - freqtrade.data.history.idatahandler - WARNING - ATOM/USDT, spot, 1d, data starts at 2019-04-29 00:00:00
2024-01-31 10:31:55,545 - freqtrade.data.history.idatahandler - WARNING - ATOM/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-01-31 10:31:55,553 - freqtrade.data.history.idatahandler - WARNING - TRX/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-01-31 10:31:55,562 - freqtrade.data.history.idatahandler - WARNING - XLM/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-01-31 10:31:55,569 - freqtrade.data.history.idatahandler - WARNING - FTM/USDT, spot, 1d, data starts at 2019-06-11 00:00:00
2024-01-31 10:31:55,570 - freqtrade.data.history.idatahandler - WARNING - FTM/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-01-31 10:31:55,577 - freqtrade.data.history.idatahandler - WARNING - MANA/USDT, spot, 1d, data starts at 2020-08-06 00:00:00
2024-01-31 10:31:55,577 - freqtrade.data.history.idatahandler - WARNING - MANA/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-01-31 10:31:55,585 - freqtrade.data.history.idatahandler - WARNING - AXS/USDT, spot, 1d, data starts at 2020-11-04 00:00:00
2024-01-31 10:31:55,585 - freqtrade.data.history.idatahandler - WARNING - AXS/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-01-31 10:31:55,593 - freqtrade.data.history.idatahandler - WARNING - HBAR/USDT, spot, 1d, data starts at 2019-09-29 00:00:00
2024-01-31 10:31:55,593 - freqtrade.data.history.idatahandler - WARNING - HBAR/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-01-31 10:31:55,601 - freqtrade.data.history.idatahandler - WARNING - VET/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-01-31 10:31:55,609 - freqtrade.data.history.idatahandler - WARNING - SAND/USDT, spot, 1d, data starts at 2020-08-14 00:00:00
2024-01-31 10:31:55,609 - freqtrade.data.history.idatahandler - WARNING - SAND/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-01-31 10:31:55,617 - freqtrade.data.history.idatahandler - WARNING - ICP/USDT, spot, 1d, data starts at 2021-05-11 00:00:00
2024-01-31 10:31:55,617 - freqtrade.data.history.idatahandler - WARNING - ICP/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-01-31 10:31:55,624 - freqtrade.data.history.idatahandler - WARNING - FIL/USDT, spot, 1d, data starts at 2020-10-15 00:00:00
2024-01-31 10:31:55,624 - freqtrade.data.history.idatahandler - WARNING - FIL/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-01-31 10:31:55,632 - freqtrade.data.history.idatahandler - WARNING - THETA/USDT, spot, 1d, data starts at 2019-04-10 00:00:00
2024-01-31 10:31:55,633 - freqtrade.data.history.idatahandler - WARNING - THETA/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-01-31 10:31:55,641 - freqtrade.data.history.idatahandler - WARNING - ETC/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-01-31 10:31:55,649 - freqtrade.data.history.idatahandler - WARNING - XMR/USDT, spot, 1d, data starts at 2019-03-15 00:00:00
2024-01-31 10:31:55,649 - freqtrade.data.history.idatahandler - WARNING - XMR/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-01-31 10:31:55,657 - freqtrade.data.history.idatahandler - WARNING - XTZ/USDT, spot, 1d, data starts at 2019-09-24 00:00:00
2024-01-31 10:31:55,657 - freqtrade.data.history.idatahandler - WARNING - XTZ/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-01-31 10:31:55,665 - freqtrade.data.history.idatahandler - WARNING - AAVE/USDT, spot, 1d, data starts at 2020-10-15 00:00:00
2024-01-31 10:31:55,665 - freqtrade.data.history.idatahandler - WARNING - AAVE/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-01-31 10:31:55,672 - freqtrade.data.history.idatahandler - WARNING - KLAY/USDT, spot, 1d, data starts at 2021-06-24 00:00:00
2024-01-31 10:31:55,673 - freqtrade.data.history.idatahandler - WARNING - KLAY/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-01-31 10:31:55,680 - freqtrade.data.history.idatahandler - WARNING - ONE/USDT, spot, 1d, data starts at 2019-06-01 00:00:00
2024-01-31 10:31:55,680 - freqtrade.data.history.idatahandler - WARNING - ONE/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-01-31 10:31:55,688 - freqtrade.data.history.idatahandler - WARNING - GRT/USDT, spot, 1d, data starts at 2020-12-17 00:00:00
2024-01-31 10:31:55,688 - freqtrade.data.history.idatahandler - WARNING - GRT/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-01-31 10:31:55,695 - freqtrade.data.history.idatahandler - WARNING - GALA/USDT, spot, 1d, data starts at 2021-09-13 00:00:00
2024-01-31 10:31:55,696 - freqtrade.data.history.idatahandler - WARNING - GALA/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-01-31 10:31:55,704 - freqtrade.data.history.idatahandler - WARNING - EOS/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-01-31 10:31:55,711 - freqtrade.data.history.idatahandler - WARNING - CAKE/USDT, spot, 1d, data starts at 2021-02-19 00:00:00
2024-01-31 10:31:55,711 - freqtrade.data.history.idatahandler - WARNING - CAKE/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-01-31 10:31:55,719 - freqtrade.data.history.idatahandler - WARNING - STX/USDT, spot, 1d, data starts at 2019-10-25 00:00:00
2024-01-31 10:31:55,719 - freqtrade.data.history.idatahandler - WARNING - STX/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-01-31 10:31:55,727 - freqtrade.data.history.idatahandler - WARNING - FLOW/USDT, spot, 1d, data starts at 2021-07-30 00:00:00
2024-01-31 10:31:55,727 - freqtrade.data.history.idatahandler - WARNING - FLOW/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-01-31 10:31:55,734 - freqtrade.data.history.idatahandler - WARNING - LRC/USDT, spot, 1d, data starts at 2020-06-12 00:00:00
2024-01-31 10:31:55,735 - freqtrade.data.history.idatahandler - WARNING - LRC/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-01-31 10:31:55,742 - freqtrade.data.history.idatahandler - WARNING - CRV/USDT, spot, 1d, data starts at 2020-08-15 00:00:00
2024-01-31 10:31:55,742 - freqtrade.data.history.idatahandler - WARNING - CRV/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-01-31 10:31:55,750 - freqtrade.data.history.idatahandler - WARNING - KSM/USDT, spot, 1d, data starts at 2020-09-04 00:00:00
2024-01-31 10:31:55,750 - freqtrade.data.history.idatahandler - WARNING - KSM/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-01-31 10:31:55,757 - freqtrade.data.history.idatahandler - WARNING - MKR/USDT, spot, 1d, data starts at 2020-07-23 00:00:00
2024-01-31 10:31:55,758 - freqtrade.data.history.idatahandler - WARNING - MKR/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-01-31 10:31:55,766 - freqtrade.data.history.idatahandler - WARNING - ENJ/USDT, spot, 1d, data starts at 2019-04-18 00:00:00
2024-01-31 10:31:55,766 - freqtrade.data.history.idatahandler - WARNING - ENJ/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-01-31 10:31:55,773 - freqtrade.data.history.idatahandler - WARNING - QNT/USDT, spot, 1d, data starts at 2021-07-29 00:00:00
2024-01-31 10:31:55,773 - freqtrade.data.history.idatahandler - WARNING - QNT/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-01-31 10:31:55,781 - freqtrade.data.history.idatahandler - WARNING - XEC/USDT, spot, 1d, data starts at 2021-09-03 00:00:00
2024-01-31 10:31:55,781 - freqtrade.data.history.idatahandler - WARNING - XEC/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-01-31 10:31:55,788 - freqtrade.data.history.idatahandler - WARNING - AMP/USDT, spot, 1d, data starts at 2021-11-23 00:00:00
2024-01-31 10:31:55,788 - freqtrade.data.history.idatahandler - WARNING - AMP/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-01-31 10:31:55,796 - freqtrade.data.history.idatahandler - WARNING - ZEC/USDT, spot, 1d, data starts at 2019-03-21 00:00:00
2024-01-31 10:31:55,797 - freqtrade.data.history.idatahandler - WARNING - ZEC/USDT, spot, 1d, data ends at 2023-12-31 00:00:00
2024-01-31 10:31:55,806 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2023-12-31 00:00:00 (1825 days).
2024-01-31 10:31:59,530 - freqtrade.loggers.set_log_levels - INFO - Reducing verbosity for bias tester.
2024-01-31 10:31:59,530 - freqtrade.optimize.lookahead_analysis - INFO - Found 190 trades, calculating 20 trades.
2024-01-31 10:31:59,546 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2019-06-24 00:00:00 (174 days).
2024-01-31 10:31:59,570 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2019-06-28 00:00:00 (178 days).
2024-01-31 10:31:59,584 - freqtrade.optimize.lookahead_analysis - INFO - => found look ahead bias in indicator wt1. 0.7311125518635837 != 0.80875691596474832024-01-31 10:31:59,585 - freqtrade.optimize.lookahead_analysis - INFO - => found look ahead bias in indicator wt2. 0.64203365578987 != 0.6889804750636301
2024-01-31 10:31:59,585 - freqtrade.optimize.lookahead_analysis - INFO - => found look ahead bias in indicator slowk. 0.8885790453930507 != 0.9667486541052973
2024-01-31 10:31:59,585 - freqtrade.optimize.lookahead_analysis - INFO - => found look ahead bias in indicator def. 0.15746649352946696 != 0.1579917381405492024-01-31 10:31:59,598 - freqtrade.data.history.idatahandler - WARNING - THETA/USDT, spot, 1d, data starts at 2019-04-10 00:00:00
2024-01-31 10:31:59,603 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-04-10 00:00:00 up to 2019-05-22 00:00:00 (42 days).
2024-01-31 10:31:59,620 - freqtrade.data.history.idatahandler - WARNING - THETA/USDT, spot, 1d, data starts at 2019-04-10 00:00:00
2024-01-31 10:31:59,624 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-04-10 00:00:00 up to 2019-07-16 00:00:00 (97 days).
2024-01-31 10:31:59,652 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2019-03-22 00:00:00 (80 days).
2024-01-31 10:31:59,678 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2019-08-07 00:00:00 (218 days).
2024-01-31 10:31:59,705 - freqtrade.data.history.idatahandler - WARNING - THETA/USDT, spot, 1d, data starts at 2019-04-10 00:00:00
2024-01-31 10:31:59,710 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-04-10 00:00:00 up to 2019-08-29 00:00:00 (141 days).
2024-01-31 10:31:59,731 - freqtrade.data.history.idatahandler - WARNING - THETA/USDT, spot, 1d, data starts at 2019-04-10 00:00:00
2024-01-31 10:31:59,736 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-04-10 00:00:00 up to 2019-08-29 00:00:00 (141 days).
2024-01-31 10:31:59,768 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2019-02-12 00:00:00 (42 days).
2024-01-31 10:31:59,791 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2019-09-25 00:00:00 (267 days).
2024-01-31 10:31:59,841 - freqtrade.data.history.idatahandler - WARNING - XMR/USDT, spot, 1d, data starts at 2019-03-15 00:00:00
2024-01-31 10:31:59,846 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-03-15 00:00:00 up to 2019-09-15 00:00:00 (184 days).
2024-01-31 10:31:59,878 - freqtrade.data.history.idatahandler - WARNING - XMR/USDT, spot, 1d, data starts at 2019-03-15 00:00:00
2024-01-31 10:31:59,883 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-03-15 00:00:00 up to 2019-09-25 00:00:00 (194 days).
2024-01-31 10:31:59,929 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2019-10-16 00:00:00 (288 days).
2024-01-31 10:31:59,955 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2019-10-17 00:00:00 (289 days).
2024-01-31 10:31:59,989 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2019-11-07 00:00:00 (310 days).
2024-01-31 10:32:00,013 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2019-11-16 00:00:00 (319 days).
2024-01-31 10:32:00,040 - freqtrade.data.history.idatahandler - WARNING - ATOM/USDT, spot, 1d, data starts at 2019-04-29 00:00:00
2024-01-31 10:32:00,045 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-04-29 00:00:00 up to 2019-11-02 00:00:00 (187 days).
2024-01-31 10:32:00,062 - freqtrade.data.history.idatahandler - WARNING - ATOM/USDT, spot, 1d, data starts at 2019-04-29 00:00:00
2024-01-31 10:32:00,067 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-04-29 00:00:00 up to 2019-11-23 00:00:00 (208 days).
2024-01-31 10:32:00,095 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2019-02-13 00:00:00 (43 days).
2024-01-31 10:32:00,116 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2019-11-23 00:00:00 (326 days).
2024-01-31 10:32:00,177 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2019-02-11 00:00:00 (41 days).
2024-01-31 10:32:00,200 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2019-11-25 00:00:00 (328 days).
2024-01-31 10:32:00,262 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2019-02-20 00:00:00 (50 days).
2024-01-31 10:32:00,286 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2019-12-17 00:00:00 (350 days).
2024-01-31 10:32:00,343 - freqtrade.data.history.idatahandler - WARNING - BCH/USDT, spot, 1d, data starts at 2019-11-28 00:00:00
2024-01-31 10:32:00,348 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-11-28 00:00:00 up to 2020-02-07 00:00:00 (71 days).
2024-01-31 10:32:00,364 - freqtrade.data.history.idatahandler - WARNING - BCH/USDT, spot, 1d, data starts at 2019-11-28 00:00:00
2024-01-31 10:32:00,369 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-11-28 00:00:00 up to 2020-02-17 00:00:00 (81 days).
2024-01-31 10:32:00,396 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2020-02-14 00:00:00 (409 days).
2024-01-31 10:32:00,419 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2020-02-17 00:00:00 (412 days).
2024-01-31 10:32:00,448 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2020-02-13 00:00:00 (408 days).
2024-01-31 10:32:00,473 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2020-02-18 00:00:00 (413 days).
2024-01-31 10:32:00,504 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2020-01-30 00:00:00 (394 days).
2024-01-31 10:32:00,566 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2020-02-27 00:00:00 (422 days).
2024-01-31 10:32:00,598 - freqtrade.data.history.idatahandler - WARNING - THETA/USDT, spot, 1d, data starts at 2019-04-10 00:00:00
2024-01-31 10:32:00,603 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-04-10 00:00:00 up to 2020-02-12 00:00:00 (308 days).
2024-01-31 10:32:00,636 - freqtrade.data.history.idatahandler - WARNING - THETA/USDT, spot, 1d, data starts at 2019-04-10 00:00:00
2024-01-31 10:32:00,641 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-04-10 00:00:00 up to 2020-02-27 00:00:00 (323 days).
2024-01-31 10:32:00,687 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2020-01-30 00:00:00 (394 days).
2024-01-31 10:32:00,740 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2020-03-02 00:00:00 (426 days).
2024-01-31 10:32:00,799 - freqtrade.data.history.idatahandler - WARNING - XMR/USDT, spot, 1d, data starts at 2019-03-15 00:00:00
2024-01-31 10:32:00,804 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-03-15 00:00:00 up to 2020-01-16 00:00:00 (307 days).
2024-01-31 10:32:00,826 - freqtrade.data.history.idatahandler - WARNING - XMR/USDT, spot, 1d, data starts at 2019-03-15 00:00:00
2024-01-31 10:32:00,831 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-03-15 00:00:00 up to 2020-03-10 00:00:00 (361 days).
2024-01-31 10:32:00,866 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2019-02-12 00:00:00 (42 days).
2024-01-31 10:32:00,891 - freqtrade.optimize.backtesting - INFO - Loading data from 2019-01-01 00:00:00 up to 2020-03-13 00:00:00 (437 days).
2024-01-31 10:32:00,951 - freqtrade.loggers.set_log_levels - INFO - Restoring log verbosity.
2024-01-31 10:32:00,951 - freqtrade.optimize.lookahead_analysis - INFO -  => wtc : bias detected!
2024-01-31 10:32:00,951 - freqtrade.optimize.lookahead_analysis_helpers - INFO - Checking look ahead bias via backtests of wtc.py took 11 seconds.
| filename   | strategy   | has_bias   |   total_signals |   biased_entry_signals |   biased_exit_signals | biased_indicators    |
|------------+------------+------------+-----------------+------------------------+-----------------------+----------------------|
| wtc.py     | wtc        | True       |              20 |                     17 |                    12 | wt1, wt2, slowk, def |
freqtrade lookahead-analysis -c user_data/spot_config.json --timerange 20190101- --timeframe 1d -s wtc --minimum-trade-amount 5 --lookahead-analysis-exportfilename user_data/logs/wtc-lookahead.csv

Export file contains the following information:

cat user_data/logs/wtc-lookahead.csv
filename,strategy,has_bias,total_signals,biased_entry_signals,biased_exit_signals,biased_indicators
wtc.py,wtc,True,20,17,12,"wt1,wt2,slowk,def"

According to the analysis this algorithm unfortunately suffers from lookahead bias.

And the results show there are 17 entry signals and 12 exit signals  biased. Now this algo does not have 17 different types of entry signals  and also not 12 exit signals configured. So I guess that theses amounts  refer to the actual trading signals where the bias has been discovered.

The 'wt1, wt2, slowk and def' indicators seem to have this bias in their code.

So let's open this code and see if there are any hints or clues that  provide me with information where this bias has been implemented.

If I take a look at the code, and if i'm correct, then there seems to  be a problem in the wavetrend oscillator because that is where the  problem indicators are used.

Let me first take a look at the buy and sell signals.

At first sight there seems to be nothing wrong with these signals.

These are just based on where the position is of the indicators in  relation to minimum and maximum values. And since a lot of strategies  are coded like this, I assume there is no mistake here. Or I should be  terribly wrong.

def populate_buy_trend(self, dataframe: DataFrame, metadata: dict) -> DataFrame:
       dataframe.loc[
           (
               (qtpylib.crossed_above(dataframe['wt1'], dataframe['wt2']))
               & (dataframe['wt1'].between(self.buy_min0.value, self.buy_max0.value))
               & (dataframe['slowk'].between(self.buy_min1.value, self.buy_max1.value))
               & (dataframe['def'].between(self.buy_min.value, self.buy_max.value))

           ),

           'buy'] = 1

       return dataframe

   def populate_sell_trend(self, dataframe: DataFrame, metadata: dict) -> DataFrame:
       # print(dataframe['slowk']/dataframe['wt1'])
       dataframe.loc[
           (
               (qtpylib.crossed_below(dataframe['wt1'], dataframe['wt2']))
               & (dataframe['wt1'].between(self.sell_min0.value, self.sell_max0.value))
               & (dataframe['slowk'].between(self.sell_min1.value, self.sell_max1.value))
               & (dataframe['def'].between(self.sell_min.value, self.sell_max.value))

           ),
           'sell'] = 1
       return dataframe

So what rests is to check the indicators themselves and hopefully see what seems to be the problem here.

def populate_indicators(self, dataframe: DataFrame, metadata: dict) -> DataFrame:

       # WAVETREND
       try:
           ap = (dataframe['high']+dataframe['low'] + dataframe['close'])/3

           esa = ta.EMA(ap, 10)

           d = ta.EMA((ap - esa).abs(), 10)
           ci = (ap - esa).div(0.0015 * d)
           tci = ta.EMA(ci, 21)

           wt1 = tci
           wt2 = ta.SMA(np.nan_to_num(wt1), 4)

           dataframe['wt1'], dataframe['wt2'] = wt1, wt2

           stoch = ta.STOCH(dataframe, 14)
           slowk = stoch['slowk']
           dataframe['slowk'] = slowk
           # print(dataframe.iloc[:, 6:].keys())
           x = dataframe.iloc[:, 6:].values  # returns a numpy array
           min_max_scaler = preprocessing.MinMaxScaler()
           x_scaled = min_max_scaler.fit_transform(x)
           dataframe.iloc[:, 6:] = pd.DataFrame(x_scaled)
           # print('wt:\t', dataframe['wt'].min(), dataframe['wt'].max())
           # print('stoch:\t', dataframe['stoch'].min(), dataframe['stoch'].max())
           dataframe['def'] = dataframe['slowk']-dataframe['wt1']
           # print('def:\t', dataframe['def'].min(), "\t", dataframe['def'].max())
       except:
           dataframe['wt1'], dataframe['wt2'], dataframe['def'], dataframe['slowk'] = 0, 10, 100, 1000
       return dataframe

wt1 seems to be derived from the TA libraries exponential moving  average and some calculations where candles dataframes has been used..

The wt2 is derived from the TA library Simple moving average but also from the wt1 indicator so it seems.

The slowk is derived from the TA libaries Stochastics indicator. And, as far as I can tell not much more.

And the def indicator value is derived from the slowk and wt1 again.

So without delving too deep into this specific problem, the error could be from the way the indicators are created in this code.

And at first I suspected that the creation of the wt1 indicator has  something to do with the bias. Perhaps because it is also derived from  the dataframe itself through the ap variable. Since the dataframe holds  future data as well.

ap = (dataframe['high']+dataframe['low'] + dataframe['close'])/3

Now since we all have the availability of AI, I also asked ChatGPT where this potential problem could be located in the code.

And there I was warned that the MinMaxScaler could be the cause of this bias.

Potential Lookahead Bias

The potential lookahead bias in this function could arise from the scaling operation:

MinMaxScaler: The MinMaxScaler is applied to the entire column(s) of indicators, which involves calculating the minimum and maximum values across the entire dataset. This process inherently uses future data to scale past data, as the scaler takes into account the entire dataset's range to normalize the values. When scaling the indicators this way, the strategy assumes knowledge of future price movements, introducing lookahead bias. In a real-time trading scenario, you wouldn't know the future min and max values of these indicators, so your strategy would be making decisions based on information it wouldn't have in a live trading environment.

How to Fix

To avoid lookahead bias when  scaling, you need to ensure that the scaling is done in a rolling or  incremental manner that only uses past and current data available at the  time of each trade decision. One approach could be to use a rolling  window to calculate the min and max values for scaling, ensuring that  only historical data up to the current point in time is used for  normalization. This way, the strategy remains realistic and doesn't  inadvertently "peek" into the future.

So this looks to be very good additional information to go and fix this issue.

Now there was one final thing that I found strange and a bit  worrysome. It seems that the Stochastics slowk also suffers from bias  according to this check.

stoch = ta.STOCH(dataframe, 14)
           slowk = stoch['slowk']
           dataframe['slowk'] = slowk

This could mean that using indicators from the TA library also might be incorrect.

This is something to keep into the back of my head and I'll watch  this closely if I will use this lookahead detection function more often.

Besides this wicked problem, this lookahead analysis feature also has  some caveats to be aware of, which are described in the documentation.

Caveats¶

lookahead-analysis can only verify / falsify the trades  it calculated and verified. If the strategy has many different signals /  signal types, it's up to you to select appropriate parameters to ensure  that all signals have triggered at least once. Not triggered signals  will not have been verified. This could lead to a false-negative (the  strategy will then be reported as non-biased).lookahead-analysis has access to everything that backtesting has too.  Please don't provoke any configs like enabling position stacking. If  you decide to do so, then make doubly sure that you won't ever run out  of max_open_trades amount and neither leftover money in your wallet.

So please remember this when looking at the results and before making any final conclusions.

Not all strategies work

There is one final remark that I want to make here and that is that not all strategies can be easily checked with this function.

It might be that the algo runs perfectly fine with normal backtests but with the lookahead analysis they error out.

In these cases you will have to figure out where the error is and  that can be a problem if you test out complex algorithms that you did  not create.

So please be aware that you can experience these issues.

freqtrade lookahead-analysis -c user_data/spot_config.json --timerange 20190101- --timeframe 15m -s MacheteV8b --minimum-trade-amount 1
--lookahead-analysis-exportfilename user_data/logs/MacheteV8b_lookahead.csv
2024-02-02 10:11:37,453 - freqtrade - INFO - freqtrade 2023.7
2024-02-02 10:11:37,454 - freqtrade.configuration.load_config - INFO - Using config: user_data/spot_config.json ...
2024-02-02 10:11:37,454 - freqtrade.loggers - INFO - Verbosity set to 0
2024-02-02 10:11:37,454 - freqtrade.configuration.configuration - INFO - Parameter -i/--timeframe detected ... Using timeframe: 15m ...
2024-02-02 10:11:37,454 - freqtrade.configuration.configuration - INFO - Parameter --timerange detected: 20190101- ...
2024-02-02 10:11:37,454 - freqtrade.configuration.configuration - INFO - Using user-data directory: /opt/freqtrade/user_data ...
2024-02-02 10:11:37,454 - freqtrade.configuration.configuration - INFO - Using data directory: /opt/freqtrade/user_data/data/binance ...
2024-02-02 10:11:37,454 - freqtrade.configuration.configuration - INFO - Overriding timeframe with Command line argument
2024-02-02 10:11:37,454 - freqtrade.configuration.configuration - INFO - Parameter --cache=day detected ...
2024-02-02 10:11:37,454 - freqtrade.configuration.configuration - INFO - Saving lookahead analysis results into user_data/logs/MacheteV8b_lookahead.csv ...
2024-02-02 10:11:37,454 - freqtrade.configuration.configuration - INFO - Filter trades by timerange: 20190101-
2024-02-02 10:11:37,455 - freqtrade.configuration.configuration - INFO - Minimum Trade amount: 1
2024-02-02 10:11:37,455 - freqtrade.configuration.configuration - INFO - Path to store lookahead-analysis-results: user_data/logs/MacheteV8b_lookahead.csv
2024-02-02 10:11:37,455 - freqtrade.exchange.check_exchange - INFO - Checking exchange...
2024-02-02 10:11:37,458 - freqtrade.exchange.check_exchange - INFO - Exchange "binance" is officially supported by the Freqtrade development team.
2024-02-02 10:11:37,458 - freqtrade.configuration.configuration - INFO - Using pairlist from configuration.
2024-02-02 10:11:37,458 - freqtrade.configuration.config_validation - INFO - Validating configuration ...
2024-02-02 10:11:37,459 - freqtrade.optimize.lookahead_analysis_helpers - INFO - Max_open_trades were less than amount of pairs. Set max_open_trades to amount of pairs just to avoid false positives.
2024-02-02 10:11:37,459 - freqtrade.optimize.lookahead_analysis_helpers - INFO - Dry run wallet was not set to 1 billion, pushing it up there just to avoid false positives
2024-02-02 10:11:37,459 - freqtrade.optimize.lookahead_analysis_helpers - INFO - backtest_cache = day detected. Inside lookahead-analysis it is enforced to be 'none'. Changed it to 'none'
2024-02-02 10:11:37,498 - freqtrade.resolvers.iresolver - WARNING - Could not import /opt/freqtrade/user_data/strategies/example-baseline.py.py due to 'invalid syntax (example-baseline.py.py, line 21)'
Add {
       "method": "AgeFilter",
       "min_days_listed": 30
},
to your pairlists in config (Under StaticPairList)
2024-02-02 10:11:37,504 - NostalgiaForInfinityX - INFO - pandas_ta successfully imported
2024-02-02 10:11:37,511 - freqtrade.optimize.lookahead_analysis_helpers - INFO - Bias test of MacheteV8b.py started.
2024-02-02 10:11:37,512 - freqtrade.exchange.exchange - INFO - Instance is running with dry_run enabled
2024-02-02 10:11:37,512 - freqtrade.exchange.exchange - INFO - Using CCXT 4.0.36
2024-02-02 10:11:37,518 - freqtrade.exchange.exchange - INFO - Using Exchange "Binance"
2024-02-02 10:11:42,491 - freqtrade.resolvers.exchange_resolver - INFO - Using resolved exchange 'Binance'...
2024-02-02 10:11:42,493 - freqtrade.resolvers.iresolver - WARNING - Could not import /opt/freqtrade/user_data/strategies/example-baseline.py.py due to 'invalid syntax (example-baseline.py.py, line 21)'
2024-02-02 10:11:42,494 - freqtrade.resolvers.iresolver - INFO - Using resolved strategy MacheteV8b from '/opt/freqtrade/user_data/strategies/MacheteV8b.py'...
2024-02-02 10:11:42,494 - freqtrade.strategy.hyper - INFO - Found no parameter file.
2024-02-02 10:11:42,495 - freqtrade.resolvers.strategy_resolver - WARNING - DEPRECATED: Using 'sell_profit_only' moved to 'exit_profit_only'.
2024-02-02 10:11:42,495 - freqtrade.resolvers.strategy_resolver - WARNING - DEPRECATED: Using 'use_sell_signal' moved to 'use_exit_signal'.
2024-02-02 10:11:42,495 - freqtrade.resolvers.strategy_resolver - WARNING - DEPRECATED: Using 'ignore_roi_if_buy_signal' moved to 'ignore_roi_if_entry_signal'.
2024-02-02 10:11:42,495 - freqtrade.resolvers.strategy_resolver - INFO - Override strategy 'timeframe' with value in config file: 15m.
2024-02-02 10:11:42,495 - freqtrade.resolvers.strategy_resolver - INFO - Override strategy 'stake_currency' with value in config file: USDT.
2024-02-02 10:11:42,495 - freqtrade.resolvers.strategy_resolver - INFO - Override strategy 'stake_amount' with value in config file: unlimited.
2024-02-02 10:11:42,495 - freqtrade.resolvers.strategy_resolver - INFO - Override strategy 'unfilledtimeout' with value in config file: {'entry': 10, 'exit': 10, 'exit_timeout_count': 0, 'unit': 'minutes'}.
2024-02-02 10:11:42,495 - freqtrade.resolvers.strategy_resolver - INFO - Override strategy 'max_open_trades' with value in config file: 50.
2024-02-02 10:11:42,495 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using minimal_roi: {'0': 0.279, '92': 0.109, '245': 0.059, '561': 0}
2024-02-02 10:11:42,495 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using timeframe: 15m
2024-02-02 10:11:42,495 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using stoploss: -0.1
2024-02-02 10:11:42,495 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using trailing_stop: False
2024-02-02 10:11:42,495 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using trailing_stop_positive_offset: 0.0
2024-02-02 10:11:42,495 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using trailing_only_offset_is_reached: False
2024-02-02 10:11:42,495 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using use_custom_stoploss: True
2024-02-02 10:11:42,495 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using process_only_new_candles: False
2024-02-02 10:11:42,495 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using order_types: {'buy': 'limit', 'sell': 'limit', 'stoploss': 'market', 'stoploss_on_exchange': False}
2024-02-02 10:11:42,495 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using order_time_in_force: {'entry': 'GTC', 'exit': 'GTC'}
2024-02-02 10:11:42,495 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using stake_currency: USDT
2024-02-02 10:11:42,495 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using stake_amount: unlimited
2024-02-02 10:11:42,495 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using protections: []
2024-02-02 10:11:42,495 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using startup_candle_count: 500
2024-02-02 10:11:42,495 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using unfilledtimeout: {'entry': 10, 'exit': 10, 'exit_timeout_count': 0, 'unit': 'minutes'}
2024-02-02 10:11:42,495 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using use_exit_signal: True
2024-02-02 10:11:42,495 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using exit_profit_only: False
2024-02-02 10:11:42,495 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using ignore_roi_if_entry_signal: False
2024-02-02 10:11:42,495 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using exit_profit_offset: 0.0
2024-02-02 10:11:42,495 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using disable_dataframe_checks: False
2024-02-02 10:11:42,495 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using ignore_buying_expired_candle_after: 0
2024-02-02 10:11:42,495 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using position_adjustment_enable: False
2024-02-02 10:11:42,495 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using max_entry_position_adjustment: -1
2024-02-02 10:11:42,495 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using max_open_trades: 50
2024-02-02 10:11:42,495 - freqtrade.configuration.config_validation - WARNING - DEPRECATED: Using 'buy' and 'sell' for order_types is deprecated.Please migrate your order_types settings to use 'entry' and 'exit' wording.
2024-02-02 10:11:42,496 - freqtrade.configuration.deprecated_settings - WARNING - DEPRECATED: The `order_types.buy` setting is deprecated and will be removed in the next versions of Freqtrade. Please use the `order_types.entry` setting in your configuration instead.
2024-02-02 10:11:42,496 - freqtrade.configuration.deprecated_settings - WARNING - DEPRECATED: The `order_types.sell` setting is deprecated and will be removed in the next versions of Freqtrade. Please use the `order_types.exit` setting in your configuration instead.
2024-02-02 10:11:42,496 - freqtrade.configuration.config_validation - INFO - Validating configuration ...
2024-02-02 10:11:42,497 - freqtrade.resolvers.iresolver - INFO - Using resolved pairlist StaticPairList from '/opt/freqtrade/freqtrade/plugins/pairlist/StaticPairList.py'...
2024-02-02 10:11:42,549 - freqtrade.strategy.hyper - INFO - Strategy Parameter: buy_should_use_get_buy_signal_adx_momentum = False
2024-02-02 10:11:42,549 - freqtrade.strategy.hyper - INFO - Strategy Parameter: buy_should_use_get_buy_signal_adx_smas = True
2024-02-02 10:11:42,549 - freqtrade.strategy.hyper - INFO - Strategy Parameter: buy_should_use_get_buy_signal_asdts_rockwelltrading = False
2024-02-02 10:11:42,549 - freqtrade.strategy.hyper - INFO - Strategy Parameter: buy_should_use_get_buy_signal_averages_strategy = False
2024-02-02 10:11:42,549 - freqtrade.strategy.hyper - INFO - Strategy Parameter: buy_should_use_get_buy_signal_awesome_macd = True
2024-02-02 10:11:42,549 - freqtrade.strategy.hyper - INFO - Strategy Parameter: buy_should_use_get_buy_signal_fisher_hull = False
2024-02-02 10:11:42,549 - freqtrade.strategy.hyper - INFO - Strategy Parameter: buy_should_use_get_buy_signal_gettin_moist = True
2024-02-02 10:11:42,549 - freqtrade.strategy.hyper - INFO - Strategy Parameter: buy_should_use_get_buy_signal_hlhb = True
2024-02-02 10:11:42,549 - freqtrade.strategy.hyper - INFO - Strategy Parameter: buy_should_use_get_buy_signal_macd_strategy = False
2024-02-02 10:11:42,549 - freqtrade.strategy.hyper - INFO - Strategy Parameter: buy_should_use_get_buy_signal_macd_strategy_crossed = False
2024-02-02 10:11:42,549 - freqtrade.strategy.hyper - INFO - Strategy Parameter: buy_should_use_get_buy_signal_pmax = False
2024-02-02 10:11:42,549 - freqtrade.strategy.hyper - INFO - Strategy Parameter: buy_should_use_get_buy_signal_quickie = True
2024-02-02 10:11:42,549 - freqtrade.strategy.hyper - INFO - Strategy Parameter: buy_should_use_get_buy_signal_scalp = True
2024-02-02 10:11:42,549 - freqtrade.strategy.hyper - INFO - Strategy Parameter: buy_should_use_get_buy_signal_simple = False
2024-02-02 10:11:42,549 - freqtrade.strategy.hyper - INFO - Strategy Parameter: buy_should_use_get_buy_signal_strategy001 = False
2024-02-02 10:11:42,549 - freqtrade.strategy.hyper - INFO - Strategy Parameter: buy_should_use_get_buy_signal_technical_example_strategy = False
2024-02-02 10:11:42,549 - freqtrade.strategy.hyper - INFO - Strategy Parameter: buy_should_use_get_buy_signal_tema_rsi_strategy = False
2024-02-02 10:11:42,549 - freqtrade.strategy.hyper - INFO - Strategy Parameter: cstp_bail_how = roc
2024-02-02 10:11:42,549 - freqtrade.strategy.hyper - INFO - Strategy Parameter: cstp_bail_roc = -0.032
2024-02-02 10:11:42,549 - freqtrade.strategy.hyper - INFO - Strategy Parameter: cstp_bail_time = 1108
2024-02-02 10:11:42,549 - freqtrade.strategy.hyper - INFO - Strategy Parameter: cstp_bb_trailing_input = bb_lowerband_neutral_inf
2024-02-02 10:11:42,550 - freqtrade.strategy.hyper - INFO - Strategy Parameter: cstp_threshold = -0.036
2024-02-02 10:11:42,550 - freqtrade.strategy.hyper - INFO - Strategy Parameter: cstp_trailing_max_stoploss = 0.054
2024-02-02 10:11:42,550 - freqtrade.strategy.hyper - INFO - Strategy Parameter: cstp_trailing_only_offset_is_reached = 0.06
2024-02-02 10:11:42,550 - freqtrade.strategy.hyper - INFO - Strategy Parameter: cstp_trailing_stop_profit_devider = 2
2024-02-02 10:11:42,550 - freqtrade.strategy.hyper - INFO - Strategy Parameter: droi_pullback = True
2024-02-02 10:11:42,550 - freqtrade.strategy.hyper - INFO - Strategy Parameter: droi_pullback_amount = 0.005
2024-02-02 10:11:42,550 - freqtrade.strategy.hyper - INFO - Strategy Parameter: droi_pullback_respect_table = False
2024-02-02 10:11:42,550 - freqtrade.strategy.hyper - INFO - Strategy Parameter: droi_trend_type = any
2024-02-02 10:11:42,550 - freqtrade.strategy.hyper - INFO - No params for protection found, using default values.
2024-02-02 10:11:42,550 - freqtrade.data.history.history_utils - INFO - Using indicator startup period: 500 ...
2024-02-02 10:11:42,708 - freqtrade.data.history.idatahandler - WARNING - BTC/USDT, spot, 15m, data ends at 2024-01-01 06:45:00
2024-02-02 10:11:42,903 - freqtrade.data.history.idatahandler - WARNING - ETH/USDT, spot, 15m, data ends at 2024-01-01 06:45:00
2024-02-02 10:11:43,087 - freqtrade.data.history.idatahandler - WARNING - BNB/USDT, spot, 15m, data ends at 2024-01-01 06:45:00
2024-02-02 10:11:43,204 - freqtrade.data.history.idatahandler - WARNING - SOL/USDT, spot, 15m, data starts at 2020-08-11 06:00:00
2024-02-02 10:11:43,204 - freqtrade.data.history.idatahandler - WARNING - SOL/USDT, spot, 15m, data ends at 2024-01-01 06:45:00
2024-02-02 10:11:43,366 - freqtrade.data.history.idatahandler - WARNING - ADA/USDT, spot, 15m, data ends at 2024-01-01 06:45:00
2024-02-02 10:11:43,541 - freqtrade.data.history.idatahandler - WARNING - XRP/USDT, spot, 15m, data ends at 2024-01-01 06:45:00
2024-02-02 10:11:43,659 - freqtrade.data.history.idatahandler - WARNING - DOT/USDT, spot, 15m, data starts at 2020-08-18 23:00:00
2024-02-02 10:11:43,659 - freqtrade.data.history.idatahandler - WARNING - DOT/USDT, spot, 15m, data ends at 2024-01-01 06:45:00
2024-02-02 10:11:43,759 - freqtrade.data.history.idatahandler - WARNING - AVAX/USDT, spot, 15m, data starts at 2020-09-22 06:30:00
2024-02-02 10:11:43,759 - freqtrade.data.history.idatahandler - WARNING - AVAX/USDT, spot, 15m, data ends at 2024-01-01 06:45:00
2024-02-02 10:11:43,891 - freqtrade.data.history.idatahandler - WARNING - DOGE/USDT, spot, 15m, data starts at 2019-07-05 12:00:00
2024-02-02 10:11:43,891 - freqtrade.data.history.idatahandler - WARNING - DOGE/USDT, spot, 15m, data ends at 2024-01-01 06:45:00
2024-02-02 10:11:43,990 - freqtrade.data.history.idatahandler - WARNING - SHIB/USDT, spot, 15m, data starts at 2021-05-10 11:00:00
2024-02-02 10:11:43,990 - freqtrade.data.history.idatahandler - WARNING - SHIB/USDT, spot, 15m, data ends at 2024-01-01 06:45:00
2024-02-02 10:11:44,123 - freqtrade.data.history.idatahandler - WARNING - MATIC/USDT, spot, 15m, data starts at 2019-04-26 15:00:00
2024-02-02 10:11:44,123 - freqtrade.data.history.idatahandler - WARNING - MATIC/USDT, spot, 15m, data ends at 2024-01-01 06:45:00
2024-02-02 10:11:44,234 - freqtrade.data.history.idatahandler - WARNING - UNI/USDT, spot, 15m, data starts at 2020-09-17 03:00:00
2024-02-02 10:11:44,234 - freqtrade.data.history.idatahandler - WARNING - UNI/USDT, spot, 15m, data ends at 2024-01-01 06:45:00
2024-02-02 10:11:44,366 - freqtrade.data.history.idatahandler - WARNING - ALGO/USDT, spot, 15m, data starts at 2019-06-22 00:00:00
2024-02-02 10:11:44,366 - freqtrade.data.history.idatahandler - WARNING - ALGO/USDT, spot, 15m, data ends at 2024-01-01 06:45:00
2024-02-02 10:11:44,545 - freqtrade.data.history.idatahandler - WARNING - LTC/USDT, spot, 15m, data ends at 2024-01-01 06:45:00
2024-02-02 10:11:44,697 - freqtrade.data.history.idatahandler - WARNING - LINK/USDT, spot, 15m, data starts at 2019-01-16 10:00:00
2024-02-02 10:11:44,698 - freqtrade.data.history.idatahandler - WARNING - LINK/USDT, spot, 15m, data ends at 2024-01-01 06:45:00
2024-02-02 10:11:44,808 - freqtrade.data.history.idatahandler - WARNING - NEAR/USDT, spot, 15m, data starts at 2020-10-14 05:00:00
2024-02-02 10:11:44,808 - freqtrade.data.history.idatahandler - WARNING - NEAR/USDT, spot, 15m, data ends at 2024-01-01 06:45:00
2024-02-02 10:11:44,926 - freqtrade.data.history.idatahandler - WARNING - BCH/USDT, spot, 15m, data starts at 2019-11-28 10:00:00
2024-02-02 10:11:44,926 - freqtrade.data.history.idatahandler - WARNING - BCH/USDT, spot, 15m, data ends at 2024-01-01 06:45:00
2024-02-02 10:11:45,066 - freqtrade.data.history.idatahandler - WARNING - ATOM/USDT, spot, 15m, data starts at 2019-04-29 04:00:00
2024-02-02 10:11:45,066 - freqtrade.data.history.idatahandler - WARNING - ATOM/USDT, spot, 15m, data ends at 2024-01-01 06:45:00
2024-02-02 10:11:45,236 - freqtrade.data.history.idatahandler - WARNING - TRX/USDT, spot, 15m, data ends at 2024-01-01 06:45:00
2024-02-02 10:11:45,406 - freqtrade.data.history.idatahandler - WARNING - XLM/USDT, spot, 15m, data ends at 2024-01-01 06:45:00
2024-02-02 10:11:45,549 - freqtrade.data.history.idatahandler - WARNING - FTM/USDT, spot, 15m, data starts at 2019-06-11 04:00:00
2024-02-02 10:11:45,549 - freqtrade.data.history.idatahandler - WARNING - FTM/USDT, spot, 15m, data ends at 2024-01-01 06:45:00
2024-02-02 10:11:45,661 - freqtrade.data.history.idatahandler - WARNING - MANA/USDT, spot, 15m, data starts at 2020-08-06 10:00:00
2024-02-02 10:11:45,661 - freqtrade.data.history.idatahandler - WARNING - MANA/USDT, spot, 15m, data ends at 2024-01-01 06:45:00
2024-02-02 10:11:45,756 - freqtrade.data.history.idatahandler - WARNING - AXS/USDT, spot, 15m, data starts at 2020-11-04 13:00:00
2024-02-02 10:11:45,756 - freqtrade.data.history.idatahandler - WARNING - AXS/USDT, spot, 15m, data ends at 2024-01-01 06:45:00
2024-02-02 10:11:45,875 - freqtrade.data.history.idatahandler - WARNING - HBAR/USDT, spot, 15m, data starts at 2019-09-29 04:00:00
2024-02-02 10:11:45,876 - freqtrade.data.history.idatahandler - WARNING - HBAR/USDT, spot, 15m, data ends at 2024-01-01 06:45:00
2024-02-02 10:11:46,037 - freqtrade.data.history.idatahandler - WARNING - VET/USDT, spot, 15m, data ends at 2024-01-01 06:45:00
2024-02-02 10:11:46,152 - freqtrade.data.history.idatahandler - WARNING - SAND/USDT, spot, 15m, data starts at 2020-08-14 13:00:00
2024-02-02 10:11:46,152 - freqtrade.data.history.idatahandler - WARNING - SAND/USDT, spot, 15m, data ends at 2024-01-01 06:45:00
2024-02-02 10:11:46,232 - freqtrade.data.history.idatahandler - WARNING - ICP/USDT, spot, 15m, data starts at 2021-05-11 01:00:00
2024-02-02 10:11:46,233 - freqtrade.data.history.idatahandler - WARNING - ICP/USDT, spot, 15m, data ends at 2024-01-01 06:45:00
2024-02-02 10:11:46,323 - freqtrade.data.history.idatahandler - WARNING - FIL/USDT, spot, 15m, data starts at 2020-10-15 17:00:00
2024-02-02 10:11:46,323 - freqtrade.data.history.idatahandler - WARNING - FIL/USDT, spot, 15m, data ends at 2024-01-01 06:45:00
2024-02-02 10:11:46,455 - freqtrade.data.history.idatahandler - WARNING - THETA/USDT, spot, 15m, data starts at 2019-04-10 04:00:00
2024-02-02 10:11:46,455 - freqtrade.data.history.idatahandler - WARNING - THETA/USDT, spot, 15m, data ends at 2024-01-01 06:45:00
2024-02-02 10:11:46,468 - freqtrade.data.history.idatahandler - INFO - Price jump in THETA/USDT, 15m, spot between two candles of 11.02% detected.
2024-02-02 10:11:46,619 - freqtrade.data.history.idatahandler - WARNING - ETC/USDT, spot, 15m, data ends at 2024-01-01 06:45:00
2024-02-02 10:11:46,765 - freqtrade.data.history.idatahandler - WARNING - XMR/USDT, spot, 15m, data starts at 2019-03-15 04:00:00
2024-02-02 10:11:46,766 - freqtrade.data.history.idatahandler - WARNING - XMR/USDT, spot, 15m, data ends at 2024-01-01 06:45:00
2024-02-02 10:11:46,898 - freqtrade.data.history.idatahandler - WARNING - XTZ/USDT, spot, 15m, data starts at 2019-09-24 11:00:00
2024-02-02 10:11:46,898 - freqtrade.data.history.idatahandler - WARNING - XTZ/USDT, spot, 15m, data ends at 2024-01-01 06:45:00
2024-02-02 10:11:47,002 - freqtrade.data.history.idatahandler - WARNING - AAVE/USDT, spot, 15m, data starts at 2020-10-15 03:00:00
2024-02-02 10:11:47,002 - freqtrade.data.history.idatahandler - WARNING - AAVE/USDT, spot, 15m, data ends at 2024-01-01 06:45:00
2024-02-02 10:11:47,079 - freqtrade.data.history.idatahandler - WARNING - KLAY/USDT, spot, 15m, data starts at 2021-06-24 08:00:00
2024-02-02 10:11:47,079 - freqtrade.data.history.idatahandler - WARNING - KLAY/USDT, spot, 15m, data ends at 2024-01-01 06:45:00
2024-02-02 10:11:47,207 - freqtrade.data.history.idatahandler - WARNING - ONE/USDT, spot, 15m, data starts at 2019-06-01 04:00:00
2024-02-02 10:11:47,208 - freqtrade.data.history.idatahandler - WARNING - ONE/USDT, spot, 15m, data ends at 2024-01-01 06:45:00
2024-02-02 10:11:47,310 - freqtrade.data.history.idatahandler - WARNING - GRT/USDT, spot, 15m, data starts at 2020-12-17 20:30:00
2024-02-02 10:11:47,310 - freqtrade.data.history.idatahandler - WARNING - GRT/USDT, spot, 15m, data ends at 2024-01-01 06:45:00
2024-02-02 10:11:47,319 - freqtrade.data.history.idatahandler - INFO - Price jump in GRT/USDT, 15m, spot between two candles of 12.07% detected.
2024-02-02 10:11:47,383 - freqtrade.data.history.idatahandler - WARNING - GALA/USDT, spot, 15m, data starts at 2021-09-13 06:00:00
2024-02-02 10:11:47,383 - freqtrade.data.history.idatahandler - WARNING - GALA/USDT, spot, 15m, data ends at 2024-01-01 06:45:00
2024-02-02 10:11:47,529 - freqtrade.data.history.idatahandler - WARNING - EOS/USDT, spot, 15m, data ends at 2024-01-01 06:45:00
2024-02-02 10:11:47,635 - freqtrade.data.history.idatahandler - WARNING - CAKE/USDT, spot, 15m, data starts at 2021-02-19 06:00:00
2024-02-02 10:11:47,635 - freqtrade.data.history.idatahandler - WARNING - CAKE/USDT, spot, 15m, data ends at 2024-01-01 06:45:00
2024-02-02 10:11:47,751 - freqtrade.data.history.idatahandler - WARNING - STX/USDT, spot, 15m, data starts at 2019-10-25 04:00:00
2024-02-02 10:11:47,751 - freqtrade.data.history.idatahandler - WARNING - STX/USDT, spot, 15m, data ends at 2024-01-01 06:45:00
2024-02-02 10:11:47,836 - freqtrade.data.history.idatahandler - WARNING - FLOW/USDT, spot, 15m, data starts at 2021-07-30 13:00:00
2024-02-02 10:11:47,836 - freqtrade.data.history.idatahandler - WARNING - FLOW/USDT, spot, 15m, data ends at 2024-01-01 06:45:00
2024-02-02 10:11:47,933 - freqtrade.data.history.idatahandler - WARNING - LRC/USDT, spot, 15m, data starts at 2020-06-12 08:00:00
2024-02-02 10:11:47,933 - freqtrade.data.history.idatahandler - WARNING - LRC/USDT, spot, 15m, data ends at 2024-01-01 06:45:00
2024-02-02 10:11:48,033 - freqtrade.data.history.idatahandler - WARNING - CRV/USDT, spot, 15m, data starts at 2020-08-15 04:00:00
2024-02-02 10:11:48,034 - freqtrade.data.history.idatahandler - WARNING - CRV/USDT, spot, 15m, data ends at 2024-01-01 06:45:00
2024-02-02 10:11:48,132 - freqtrade.data.history.idatahandler - WARNING - KSM/USDT, spot, 15m, data starts at 2020-09-04 11:00:00
2024-02-02 10:11:48,132 - freqtrade.data.history.idatahandler - WARNING - KSM/USDT, spot, 15m, data ends at 2024-01-01 06:45:00
2024-02-02 10:11:48,234 - freqtrade.data.history.idatahandler - WARNING - MKR/USDT, spot, 15m, data starts at 2020-07-23 14:00:00
2024-02-02 10:11:48,234 - freqtrade.data.history.idatahandler - WARNING - MKR/USDT, spot, 15m, data ends at 2024-01-01 06:45:00
2024-02-02 10:11:48,366 - freqtrade.data.history.idatahandler - WARNING - ENJ/USDT, spot, 15m, data starts at 2019-04-18 04:00:00
2024-02-02 10:11:48,367 - freqtrade.data.history.idatahandler - WARNING - ENJ/USDT, spot, 15m, data ends at 2024-01-01 06:45:00
2024-02-02 10:11:48,454 - freqtrade.data.history.idatahandler - WARNING - QNT/USDT, spot, 15m, data starts at 2021-07-29 06:00:00
2024-02-02 10:11:48,455 - freqtrade.data.history.idatahandler - WARNING - QNT/USDT, spot, 15m, data ends at 2024-01-01 06:45:00
2024-02-02 10:11:48,525 - freqtrade.data.history.idatahandler - WARNING - XEC/USDT, spot, 15m, data starts at 2021-09-03 10:00:00
2024-02-02 10:11:48,526 - freqtrade.data.history.idatahandler - WARNING - XEC/USDT, spot, 15m, data ends at 2024-01-01 06:45:00
2024-02-02 10:11:48,590 - freqtrade.data.history.idatahandler - WARNING - AMP/USDT, spot, 15m, data starts at 2021-11-23 06:00:00
2024-02-02 10:11:48,590 - freqtrade.data.history.idatahandler - WARNING - AMP/USDT, spot, 15m, data ends at 2024-01-01 06:45:00
2024-02-02 10:11:48,713 - freqtrade.data.history.idatahandler - WARNING - ZEC/USDT, spot, 15m, data starts at 2019-03-21 04:00:00
2024-02-02 10:11:48,713 - freqtrade.data.history.idatahandler - WARNING - ZEC/USDT, spot, 15m, data ends at 2024-01-01 06:45:00
2024-02-02 10:11:48,767 - freqtrade.optimize.backtesting - INFO - Loading data from 2018-12-26 19:00:00 up to 2024-01-01 06:45:00 (1831 days).
2024-02-02 10:12:13,056 - freqtrade.data.history.idatahandler - WARNING - BTC/USDT, spot, 1h, data ends at 2024-01-01 06:00:00
2024-02-02 10:12:37,715 - freqtrade.data.history.idatahandler - WARNING - ETH/USDT, spot, 1h, data ends at 2024-01-01 06:00:00
2024-02-02 10:13:02,419 - freqtrade.data.history.idatahandler - WARNING - BNB/USDT, spot, 1h, data ends at 2024-01-01 06:00:00
2024-02-02 10:13:19,064 - freqtrade.data.history.idatahandler - WARNING - SOL/USDT, spot, 1h, data starts at 2020-08-11 06:00:00
2024-02-02 10:13:19,064 - freqtrade.data.history.idatahandler - WARNING - SOL/USDT, spot, 1h, data ends at 2024-01-01 06:00:00
2024-02-02 10:13:43,602 - freqtrade.data.history.idatahandler - WARNING - ADA/USDT, spot, 1h, data ends at 2024-01-01 06:00:00
2024-02-02 10:14:08,291 - freqtrade.data.history.idatahandler - WARNING - XRP/USDT, spot, 1h, data ends at 2024-01-01 06:00:00
2024-02-02 10:14:24,735 - freqtrade.data.history.idatahandler - WARNING - DOT/USDT, spot, 1h, data starts at 2020-08-18 23:00:00
2024-02-02 10:14:24,735 - freqtrade.data.history.idatahandler - WARNING - DOT/USDT, spot, 1h, data ends at 2024-01-01 06:00:00
2024-02-02 10:14:40,963 - freqtrade.data.history.idatahandler - WARNING - AVAX/USDT, spot, 1h, data starts at 2020-09-22 06:00:00
2024-02-02 10:14:40,963 - freqtrade.data.history.idatahandler - WARNING - AVAX/USDT, spot, 1h, data ends at 2024-01-01 06:00:00
2024-02-02 10:15:02,831 - freqtrade.data.history.idatahandler - WARNING - DOGE/USDT, spot, 1h, data starts at 2019-07-05 12:00:00
2024-02-02 10:15:02,831 - freqtrade.data.history.idatahandler - WARNING - DOGE/USDT, spot, 1h, data ends at 2024-01-01 06:00:00
2024-02-02 10:15:15,870 - freqtrade.data.history.idatahandler - WARNING - SHIB/USDT, spot, 1h, data starts at 2021-05-10 11:00:00
2024-02-02 10:15:15,871 - freqtrade.data.history.idatahandler - WARNING - SHIB/USDT, spot, 1h, data ends at 2024-01-01 06:00:00
2024-02-02 10:15:38,711 - freqtrade.data.history.idatahandler - WARNING - MATIC/USDT, spot, 1h, data starts at 2019-04-26 15:00:00
2024-02-02 10:15:38,711 - freqtrade.data.history.idatahandler - WARNING - MATIC/USDT, spot, 1h, data ends at 2024-01-01 06:00:00
2024-02-02 10:15:54,951 - freqtrade.data.history.idatahandler - WARNING - UNI/USDT, spot, 1h, data starts at 2020-09-17 03:00:00
2024-02-02 10:15:54,952 - freqtrade.data.history.idatahandler - WARNING - UNI/USDT, spot, 1h, data ends at 2024-01-01 06:00:00
2024-02-02 10:16:17,285 - freqtrade.data.history.idatahandler - WARNING - ALGO/USDT, spot, 1h, data starts at 2019-06-22 00:00:00
2024-02-02 10:16:17,286 - freqtrade.data.history.idatahandler - WARNING - ALGO/USDT, spot, 1h, data ends at 2024-01-01 06:00:00
2024-02-02 10:16:41,969 - freqtrade.data.history.idatahandler - WARNING - LTC/USDT, spot, 1h, data ends at 2024-01-01 06:00:00
2024-02-02 10:17:06,337 - freqtrade.data.history.idatahandler - WARNING - LINK/USDT, spot, 1h, data starts at 2019-01-16 10:00:00
2024-02-02 10:17:06,337 - freqtrade.data.history.idatahandler - WARNING - LINK/USDT, spot, 1h, data ends at 2024-01-01 06:00:00
2024-02-02 10:17:22,307 - freqtrade.data.history.idatahandler - WARNING - NEAR/USDT, spot, 1h, data starts at 2020-10-14 05:00:00
2024-02-02 10:17:22,308 - freqtrade.data.history.idatahandler - WARNING - NEAR/USDT, spot, 1h, data ends at 2024-01-01 06:00:00
2024-02-02 10:17:42,508 - freqtrade.data.history.idatahandler - WARNING - BCH/USDT, spot, 1h, data starts at 2019-11-28 10:00:00
2024-02-02 10:17:42,509 - freqtrade.data.history.idatahandler - WARNING - BCH/USDT, spot, 1h, data ends at 2024-01-01 06:00:00
2024-02-02 10:18:05,544 - freqtrade.data.history.idatahandler - WARNING - ATOM/USDT, spot, 1h, data starts at 2019-04-29 04:00:00
2024-02-02 10:18:05,544 - freqtrade.data.history.idatahandler - WARNING - ATOM/USDT, spot, 1h, data ends at 2024-01-01 06:00:00
2024-02-02 10:18:30,217 - freqtrade.data.history.idatahandler - WARNING - TRX/USDT, spot, 1h, data ends at 2024-01-01 06:00:00
2024-02-02 10:18:55,085 - freqtrade.data.history.idatahandler - WARNING - XLM/USDT, spot, 1h, data ends at 2024-01-01 06:00:00
2024-02-02 10:19:17,493 - freqtrade.data.history.idatahandler - WARNING - FTM/USDT, spot, 1h, data starts at 2019-06-11 04:00:00
2024-02-02 10:19:17,493 - freqtrade.data.history.idatahandler - WARNING - FTM/USDT, spot, 1h, data ends at 2024-01-01 06:00:00
2024-02-02 10:19:34,460 - freqtrade.data.history.idatahandler - WARNING - MANA/USDT, spot, 1h, data starts at 2020-08-06 10:00:00
2024-02-02 10:19:34,460 - freqtrade.data.history.idatahandler - WARNING - MANA/USDT, spot, 1h, data ends at 2024-01-01 06:00:00
2024-02-02 10:19:50,027 - freqtrade.data.history.idatahandler - WARNING - AXS/USDT, spot, 1h, data starts at 2020-11-04 13:00:00
2024-02-02 10:19:50,027 - freqtrade.data.history.idatahandler - WARNING - AXS/USDT, spot, 1h, data ends at 2024-01-01 06:00:00
2024-02-02 10:20:11,035 - freqtrade.data.history.idatahandler - WARNING - HBAR/USDT, spot, 1h, data starts at 2019-09-29 04:00:00
2024-02-02 10:20:11,036 - freqtrade.data.history.idatahandler - WARNING - HBAR/USDT, spot, 1h, data ends at 2024-01-01 06:00:00
2024-02-02 10:20:35,864 - freqtrade.data.history.idatahandler - WARNING - VET/USDT, spot, 1h, data ends at 2024-01-01 06:00:00
2024-02-02 10:20:52,686 - freqtrade.data.history.idatahandler - WARNING - SAND/USDT, spot, 1h, data starts at 2020-08-14 13:00:00
2024-02-02 10:20:52,686 - freqtrade.data.history.idatahandler - WARNING - SAND/USDT, spot, 1h, data ends at 2024-01-01 06:00:00
2024-02-02 10:21:05,693 - freqtrade.data.history.idatahandler - WARNING - ICP/USDT, spot, 1h, data starts at 2021-05-11 01:00:00
2024-02-02 10:21:05,693 - freqtrade.data.history.idatahandler - WARNING - ICP/USDT, spot, 1h, data ends at 2024-01-01 06:00:00
2024-02-02 10:21:21,370 - freqtrade.data.history.idatahandler - WARNING - FIL/USDT, spot, 1h, data starts at 2020-10-15 17:00:00
2024-02-02 10:21:21,370 - freqtrade.data.history.idatahandler - WARNING - FIL/USDT, spot, 1h, data ends at 2024-01-01 06:00:00
2024-02-02 10:21:44,469 - freqtrade.data.history.idatahandler - WARNING - THETA/USDT, spot, 1h, data starts at 2019-04-10 04:00:00
2024-02-02 10:21:44,469 - freqtrade.data.history.idatahandler - WARNING - THETA/USDT, spot, 1h, data ends at 2024-01-01 06:00:00
2024-02-02 10:21:44,473 - freqtrade.data.history.idatahandler - INFO - Price jump in THETA/USDT, 1h, spot between two candles of 11.02% detected.
2024-02-02 10:22:09,103 - freqtrade.data.history.idatahandler - WARNING - ETC/USDT, spot, 1h, data ends at 2024-01-01 06:00:00
2024-02-02 10:22:32,840 - freqtrade.data.history.idatahandler - WARNING - XMR/USDT, spot, 1h, data starts at 2019-03-15 04:00:00
2024-02-02 10:22:32,841 - freqtrade.data.history.idatahandler - WARNING - XMR/USDT, spot, 1h, data ends at 2024-01-01 06:00:00
2024-02-02 10:22:54,056 - freqtrade.data.history.idatahandler - WARNING - XTZ/USDT, spot, 1h, data starts at 2019-09-24 11:00:00
2024-02-02 10:22:54,056 - freqtrade.data.history.idatahandler - WARNING - XTZ/USDT, spot, 1h, data ends at 2024-01-01 06:00:00
2024-02-02 10:23:09,880 - freqtrade.data.history.idatahandler - WARNING - AAVE/USDT, spot, 1h, data starts at 2020-10-15 03:00:00
2024-02-02 10:23:09,881 - freqtrade.data.history.idatahandler - WARNING - AAVE/USDT, spot, 1h, data ends at 2024-01-01 06:00:00
2024-02-02 10:23:22,416 - freqtrade.data.history.idatahandler - WARNING - KLAY/USDT, spot, 1h, data starts at 2021-06-24 08:00:00
2024-02-02 10:23:22,416 - freqtrade.data.history.idatahandler - WARNING - KLAY/USDT, spot, 1h, data ends at 2024-01-01 06:00:00
2024-02-02 10:23:44,840 - freqtrade.data.history.idatahandler - WARNING - ONE/USDT, spot, 1h, data starts at 2019-06-01 04:00:00
2024-02-02 10:23:44,840 - freqtrade.data.history.idatahandler - WARNING - ONE/USDT, spot, 1h, data ends at 2024-01-01 06:00:00
2024-02-02 10:23:59,875 - freqtrade.data.history.idatahandler - WARNING - GRT/USDT, spot, 1h, data starts at 2020-12-17 20:00:00
2024-02-02 10:23:59,875 - freqtrade.data.history.idatahandler - WARNING - GRT/USDT, spot, 1h, data ends at 2024-01-01 06:00:00
2024-02-02 10:23:59,878 - freqtrade.data.history.idatahandler - INFO - Price jump in GRT/USDT, 1h, spot between two candles of 12.07% detected.
2024-02-02 10:24:11,260 - freqtrade.data.history.idatahandler - WARNING - GALA/USDT, spot, 1h, data starts at 2021-09-13 06:00:00
2024-02-02 10:24:11,260 - freqtrade.data.history.idatahandler - WARNING - GALA/USDT, spot, 1h, data ends at 2024-01-01 06:00:00
2024-02-02 10:24:35,832 - freqtrade.data.history.idatahandler - WARNING - EOS/USDT, spot, 1h, data ends at 2024-01-01 06:00:00
2024-02-02 10:24:50,109 - freqtrade.data.history.idatahandler - WARNING - CAKE/USDT, spot, 1h, data starts at 2021-02-19 06:00:00
2024-02-02 10:24:50,109 - freqtrade.data.history.idatahandler - WARNING - CAKE/USDT, spot, 1h, data ends at 2024-01-01 06:00:00
2024-02-02 10:25:10,650 - freqtrade.data.history.idatahandler - WARNING - STX/USDT, spot, 1h, data starts at 2019-10-25 04:00:00
2024-02-02 10:25:10,651 - freqtrade.data.history.idatahandler - WARNING - STX/USDT, spot, 1h, data ends at 2024-01-01 06:00:00
2024-02-02 10:25:22,659 - freqtrade.data.history.idatahandler - WARNING - FLOW/USDT, spot, 1h, data starts at 2021-07-30 13:00:00
2024-02-02 10:25:22,659 - freqtrade.data.history.idatahandler - WARNING - FLOW/USDT, spot, 1h, data ends at 2024-01-01 06:00:00
2024-02-02 10:25:40,300 - freqtrade.data.history.idatahandler - WARNING - LRC/USDT, spot, 1h, data starts at 2020-06-12 08:00:00
2024-02-02 10:25:40,300 - freqtrade.data.history.idatahandler - WARNING - LRC/USDT, spot, 1h, data ends at 2024-01-01 06:00:00
2024-02-02 10:25:57,057 - freqtrade.data.history.idatahandler - WARNING - CRV/USDT, spot, 1h, data starts at 2020-08-15 04:00:00
2024-02-02 10:25:57,057 - freqtrade.data.history.idatahandler - WARNING - CRV/USDT, spot, 1h, data ends at 2024-01-01 06:00:00
2024-02-02 10:26:13,337 - freqtrade.data.history.idatahandler - WARNING - KSM/USDT, spot, 1h, data starts at 2020-09-04 11:00:00
2024-02-02 10:26:13,337 - freqtrade.data.history.idatahandler - WARNING - KSM/USDT, spot, 1h, data ends at 2024-01-01 06:00:00
2024-02-02 10:26:30,270 - freqtrade.data.history.idatahandler - WARNING - MKR/USDT, spot, 1h, data starts at 2020-07-23 14:00:00
2024-02-02 10:26:30,271 - freqtrade.data.history.idatahandler - WARNING - MKR/USDT, spot, 1h, data ends at 2024-01-01 06:00:00
2024-02-02 10:26:53,365 - freqtrade.data.history.idatahandler - WARNING - ENJ/USDT, spot, 1h, data starts at 2019-04-18 04:00:00
2024-02-02 10:26:53,365 - freqtrade.data.history.idatahandler - WARNING - ENJ/USDT, spot, 1h, data ends at 2024-01-01 06:00:00
2024-02-02 10:27:05,445 - freqtrade.data.history.idatahandler - WARNING - QNT/USDT, spot, 1h, data starts at 2021-07-29 06:00:00
2024-02-02 10:27:05,445 - freqtrade.data.history.idatahandler - WARNING - QNT/USDT, spot, 1h, data ends at 2024-01-01 06:00:00
2024-02-02 10:27:16,902 - freqtrade.data.history.idatahandler - WARNING - XEC/USDT, spot, 1h, data starts at 2021-09-03 10:00:00
2024-02-02 10:27:16,903 - freqtrade.data.history.idatahandler - WARNING - XEC/USDT, spot, 1h, data ends at 2024-01-01 06:00:00
2024-02-02 10:27:27,376 - freqtrade.data.history.idatahandler - WARNING - AMP/USDT, spot, 1h, data starts at 2021-11-23 06:00:00
2024-02-02 10:27:27,377 - freqtrade.data.history.idatahandler - WARNING - AMP/USDT, spot, 1h, data ends at 2024-01-01 06:00:00
2024-02-02 10:27:51,065 - freqtrade.data.history.idatahandler - WARNING - ZEC/USDT, spot, 1h, data starts at 2019-03-21 04:00:00
2024-02-02 10:27:51,066 - freqtrade.data.history.idatahandler - WARNING - ZEC/USDT, spot, 1h, data ends at 2024-01-01 06:00:00
2024-02-02 10:28:06,680 - freqtrade.strategy.strategy_wrapper - ERROR - Unexpected error 'sroc_inf' calling <bound method MacheteV8b.custom_stoploss of <MacheteV8b.MacheteV8b object at 0x7fa60bab6dd0>>
Traceback (most recent call last):
 File "/opt/freqtrade/freqtrade/strategy/strategy_wrapper.py", line 27, in wrapper
   return f(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^
 File "/opt/freqtrade/user_data/strategies/MacheteV8b.py", line 640, in custom_stoploss
   sroc = self.custom_trade_info[trade.pair]['sroc_inf'].loc[current_time]['sroc_inf']
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
KeyError: 'sroc_inf'
2024-02-02 10:28:06,681 - freqtrade - ERROR - 'sroc_inf'

End

Now maybe I did not use the lookahead function correctly or am just plain wrong with some of my conclusions.

And I dont mind being corrected, as long as it is criticism that also  contains information that can help me and the community understand  things better and prevent future mistakes.

But anyway, I think we now have another welcome addition to our  toolbox to determine if our algorithmic trading strategy performs  without errors and biases.

I am still figuring out how to incorporate this additional  information into my backtests and until that moment I keep a close  critical eye on these strategies that seem too good to be true. And I  hope that you, the viewer, will do this too. You should always be  sceptic and do your own research.

And with this conclusion I'm at the end of this video.

Thanks for watching. If you like this content, then please click like, subscribe and give a comment.

And I will see you in the next one.

Goodbye!

Comments

No comments found for this post.