This commit is contained in:
zhangkun9038@dingtalk.com 2025-04-29 14:23:15 +08:00
parent 8912ebbb69
commit 6d764b8cd2

View File

@ -1,214 +1,347 @@
Creating freqtrade_freqtrade_run ...
Creating freqtrade_freqtrade_run ... done
2025-04-29 04:09:00,419 - freqtrade - INFO - freqtrade 2025.3
2025-04-29 04:09:00,631 - numexpr.utils - INFO - NumExpr defaulting to 12 threads.
2025-04-29 04:09:02,046 - freqtrade.configuration.load_config - INFO - Using config: /freqtrade/config_examples/config_freqai.okx.json ...
2025-04-29 04:09:02,046 - freqtrade.configuration.load_config - INFO - Using config: /freqtrade/templates/FreqaiExampleStrategy.json ...
2025-04-29 04:09:02,048 - freqtrade.loggers - INFO - Enabling colorized output.
2025-04-29 04:09:02,048 - root - INFO - Logfile configured
2025-04-29 04:09:02,049 - freqtrade.loggers - INFO - Verbosity set to 0
2025-04-29 04:09:02,049 - freqtrade.configuration.configuration - INFO - Using additional Strategy lookup path: /freqtrade/templates
2025-04-29 04:09:02,050 - freqtrade.configuration.configuration - INFO - Using max_open_trades: 4 ...
2025-04-29 04:09:02,050 - freqtrade.configuration.configuration - INFO - Parameter --timerange detected: 20250401-20250420 ...
2025-04-29 04:09:02,088 - freqtrade.configuration.configuration - INFO - Using user-data directory: /freqtrade/user_data ...
2025-04-29 04:09:02,088 - freqtrade.configuration.configuration - INFO - Using data directory: /freqtrade/user_data/data/okx ...
2025-04-29 04:09:02,089 - freqtrade.configuration.configuration - INFO - Parameter --cache=none detected ...
2025-04-29 04:09:02,089 - freqtrade.configuration.configuration - INFO - Filter trades by timerange: 20250401-20250420
2025-04-29 04:09:02,089 - freqtrade.configuration.configuration - INFO - Using freqaimodel class name: XGBoostRegressor
2025-04-29 04:09:02,090 - freqtrade.exchange.check_exchange - INFO - Checking exchange...
2025-04-29 04:09:02,097 - freqtrade.exchange.check_exchange - INFO - Exchange "okx" is officially supported by the Freqtrade development team.
2025-04-29 04:09:02,097 - freqtrade.configuration.configuration - INFO - Using pairlist from configuration.
2025-04-29 04:09:02,098 - freqtrade.configuration.config_validation - INFO - Validating configuration ...
2025-04-29 04:09:02,100 - freqtrade.commands.optimize_commands - INFO - Starting freqtrade in Backtesting mode
2025-04-29 04:09:02,100 - freqtrade.exchange.exchange - INFO - Instance is running with dry_run enabled
2025-04-29 04:09:02,101 - freqtrade.exchange.exchange - INFO - Using CCXT 4.4.69
2025-04-29 04:09:02,101 - freqtrade.exchange.exchange - INFO - Applying additional ccxt config: {'enableRateLimit': True, 'rateLimit': 500, 'options': {'defaultType': 'spot'}}
2025-04-29 04:09:02,106 - freqtrade.exchange.exchange - INFO - Applying additional ccxt config: {'enableRateLimit': True, 'rateLimit': 500, 'options': {'defaultType': 'spot'}, 'timeout': 20000}
2025-04-29 04:09:02,111 - freqtrade.exchange.exchange - INFO - Using Exchange "OKX"
2025-04-29 04:09:02,889 - freqtrade.exchange.common - WARNING - _load_async_markets() returned exception: "Error in reload_markets due to ExchangeNotAvailable. Message: okx GET
https://www.okx.com/api/v5/public/instruments?instType=FUTURES". Retrying still for 3 times.
2025-04-29 04:09:07,166 - freqtrade.resolvers.exchange_resolver - INFO - Using resolved exchange 'Okx'...
2025-04-29 04:09:07,185 - freqtrade.resolvers.iresolver - INFO - Using resolved strategy FreqaiExampleStrategy from '/freqtrade/templates/FreqaiExampleStrategy.py'...
2025-04-29 04:09:07,186 - freqtrade.strategy.hyper - INFO - Loading parameters from file /freqtrade/templates/FreqaiExampleStrategy.json
2025-04-29 04:09:07,186 - freqtrade.resolvers.strategy_resolver - INFO - Override strategy 'timeframe' with value in config file: 3m.
2025-04-29 04:09:07,187 - freqtrade.resolvers.strategy_resolver - INFO - Override strategy 'stoploss' with value in config file: -0.05.
2025-04-29 04:09:07,187 - freqtrade.resolvers.strategy_resolver - INFO - Override strategy 'stake_currency' with value in config file: USDT.
2025-04-29 04:09:07,187 - freqtrade.resolvers.strategy_resolver - INFO - Override strategy 'stake_amount' with value in config file: 150.
2025-04-29 04:09:07,188 - freqtrade.resolvers.strategy_resolver - INFO - Override strategy 'startup_candle_count' with value in config file: 30.
2025-04-29 04:09:07,188 - freqtrade.resolvers.strategy_resolver - INFO - Override strategy 'unfilledtimeout' with value in config file: {'entry': 5, 'exit': 15, 'exit_timeout_count': 0, 'unit':
2025-04-29 06:20:29,163 - freqtrade - INFO - freqtrade 2025.3
2025-04-29 06:20:29,374 - numexpr.utils - INFO - NumExpr defaulting to 12 threads.
2025-04-29 06:20:30,758 - freqtrade.configuration.load_config - INFO - Using config: /freqtrade/config_examples/config_freqai.okx.json ...
2025-04-29 06:20:30,759 - freqtrade.configuration.load_config - INFO - Using config: /freqtrade/templates/FreqaiExampleStrategy.json ...
2025-04-29 06:20:30,761 - freqtrade.loggers - INFO - Enabling colorized output.
2025-04-29 06:20:30,761 - root - INFO - Logfile configured
2025-04-29 06:20:30,762 - freqtrade.loggers - INFO - Verbosity set to 0
2025-04-29 06:20:30,762 - freqtrade.configuration.configuration - INFO - Using additional Strategy lookup path: /freqtrade/templates
2025-04-29 06:20:30,763 - freqtrade.configuration.configuration - INFO - Using max_open_trades: 4 ...
2025-04-29 06:20:30,763 - freqtrade.configuration.configuration - INFO - Parameter --timerange detected: 20250401-20250420 ...
2025-04-29 06:20:30,787 - freqtrade.configuration.configuration - INFO - Using user-data directory: /freqtrade/user_data ...
2025-04-29 06:20:30,788 - freqtrade.configuration.configuration - INFO - Using data directory: /freqtrade/user_data/data/okx ...
2025-04-29 06:20:30,788 - freqtrade.configuration.configuration - INFO - Parameter --cache=none detected ...
2025-04-29 06:20:30,788 - freqtrade.configuration.configuration - INFO - Filter trades by timerange: 20250401-20250420
2025-04-29 06:20:30,788 - freqtrade.configuration.configuration - INFO - Using freqaimodel class name: XGBoostRegressor
2025-04-29 06:20:30,789 - freqtrade.exchange.check_exchange - INFO - Checking exchange...
2025-04-29 06:20:30,795 - freqtrade.exchange.check_exchange - INFO - Exchange "okx" is officially supported by the Freqtrade development team.
2025-04-29 06:20:30,795 - freqtrade.configuration.configuration - INFO - Using pairlist from configuration.
2025-04-29 06:20:30,796 - freqtrade.configuration.config_validation - INFO - Validating configuration ...
2025-04-29 06:20:30,798 - freqtrade.commands.optimize_commands - INFO - Starting freqtrade in Backtesting mode
2025-04-29 06:20:30,798 - freqtrade.exchange.exchange - INFO - Instance is running with dry_run enabled
2025-04-29 06:20:30,799 - freqtrade.exchange.exchange - INFO - Using CCXT 4.4.69
2025-04-29 06:20:30,799 - freqtrade.exchange.exchange - INFO - Applying additional ccxt config: {'enableRateLimit': True, 'rateLimit': 500, 'options': {'defaultType': 'spot'}}
2025-04-29 06:20:30,804 - freqtrade.exchange.exchange - INFO - Applying additional ccxt config: {'enableRateLimit': True, 'rateLimit': 500, 'options': {'defaultType': 'spot'}, 'timeout': 20000}
2025-04-29 06:20:30,809 - freqtrade.exchange.exchange - INFO - Using Exchange "OKX"
2025-04-29 06:20:33,353 - freqtrade.resolvers.exchange_resolver - INFO - Using resolved exchange 'Okx'...
2025-04-29 06:20:33,373 - freqtrade.resolvers.iresolver - INFO - Using resolved strategy FreqaiExampleStrategy from '/freqtrade/templates/FreqaiExampleStrategy.py'...
2025-04-29 06:20:33,373 - freqtrade.strategy.hyper - INFO - Loading parameters from file /freqtrade/templates/FreqaiExampleStrategy.json
2025-04-29 06:20:33,374 - freqtrade.resolvers.strategy_resolver - INFO - Override strategy 'timeframe' with value in config file: 3m.
2025-04-29 06:20:33,374 - freqtrade.resolvers.strategy_resolver - INFO - Override strategy 'stoploss' with value in config file: -0.05.
2025-04-29 06:20:33,375 - freqtrade.resolvers.strategy_resolver - INFO - Override strategy 'stake_currency' with value in config file: USDT.
2025-04-29 06:20:33,375 - freqtrade.resolvers.strategy_resolver - INFO - Override strategy 'stake_amount' with value in config file: 150.
2025-04-29 06:20:33,376 - freqtrade.resolvers.strategy_resolver - INFO - Override strategy 'startup_candle_count' with value in config file: 30.
2025-04-29 06:20:33,376 - freqtrade.resolvers.strategy_resolver - INFO - Override strategy 'unfilledtimeout' with value in config file: {'entry': 5, 'exit': 15, 'exit_timeout_count': 0, 'unit':
'minutes'}.
2025-04-29 04:09:07,189 - freqtrade.resolvers.strategy_resolver - INFO - Override strategy 'max_open_trades' with value in config file: 4.
2025-04-29 04:09:07,189 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using minimal_roi: {'0': 0.132, '8': 0.047, '14': 0.007, '60': 0}
2025-04-29 04:09:07,189 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using timeframe: 3m
2025-04-29 04:09:07,190 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using stoploss: -0.05
2025-04-29 04:09:07,190 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using trailing_stop: True
2025-04-29 04:09:07,190 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using trailing_stop_positive: 0.01
2025-04-29 04:09:07,191 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using trailing_stop_positive_offset: 0.02
2025-04-29 04:09:07,191 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using trailing_only_offset_is_reached: False
2025-04-29 04:09:07,191 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using use_custom_stoploss: False
2025-04-29 04:09:07,191 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using process_only_new_candles: True
2025-04-29 04:09:07,192 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using order_types: {'entry': 'limit', 'exit': 'limit', 'stoploss': 'limit', 'stoploss_on_exchange': False,
2025-04-29 06:20:33,376 - freqtrade.resolvers.strategy_resolver - INFO - Override strategy 'max_open_trades' with value in config file: 4.
2025-04-29 06:20:33,377 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using minimal_roi: {'0': 0.132, '8': 0.047, '14': 0.007, '60': 0}
2025-04-29 06:20:33,377 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using timeframe: 3m
2025-04-29 06:20:33,377 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using stoploss: -0.05
2025-04-29 06:20:33,378 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using trailing_stop: True
2025-04-29 06:20:33,378 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using trailing_stop_positive: 0.01
2025-04-29 06:20:33,378 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using trailing_stop_positive_offset: 0.02
2025-04-29 06:20:33,379 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using trailing_only_offset_is_reached: False
2025-04-29 06:20:33,379 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using use_custom_stoploss: False
2025-04-29 06:20:33,379 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using process_only_new_candles: True
2025-04-29 06:20:33,380 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using order_types: {'entry': 'limit', 'exit': 'limit', 'stoploss': 'limit', 'stoploss_on_exchange': False,
'stoploss_on_exchange_interval': 60}
2025-04-29 04:09:07,192 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using order_time_in_force: {'entry': 'GTC', 'exit': 'GTC'}
2025-04-29 04:09:07,192 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using stake_currency: USDT
2025-04-29 04:09:07,192 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using stake_amount: 150
2025-04-29 04:09:07,193 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using startup_candle_count: 30
2025-04-29 04:09:07,193 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using unfilledtimeout: {'entry': 5, 'exit': 15, 'exit_timeout_count': 0, 'unit': 'minutes'}
2025-04-29 04:09:07,193 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using use_exit_signal: True
2025-04-29 04:09:07,194 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using exit_profit_only: False
2025-04-29 04:09:07,194 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using ignore_roi_if_entry_signal: False
2025-04-29 04:09:07,194 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using exit_profit_offset: 0.0
2025-04-29 04:09:07,194 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using disable_dataframe_checks: False
2025-04-29 04:09:07,195 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using ignore_buying_expired_candle_after: 0
2025-04-29 04:09:07,195 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using position_adjustment_enable: False
2025-04-29 04:09:07,195 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using max_entry_position_adjustment: -1
2025-04-29 04:09:07,195 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using max_open_trades: 4
2025-04-29 04:09:07,196 - freqtrade.configuration.config_validation - INFO - Validating configuration ...
2025-04-29 04:09:07,199 - freqtrade.resolvers.iresolver - INFO - Using resolved pairlist StaticPairList from '/freqtrade/freqtrade/plugins/pairlist/StaticPairList.py'...
2025-04-29 04:09:07,205 - freqtrade.optimize.backtesting - INFO - Using fee 0.1500% - worst case fee from exchange (lowest tier).
2025-04-29 04:09:07,205 - freqtrade.data.dataprovider - INFO - Increasing startup_candle_count for freqai on 3m to 14450
2025-04-29 04:09:07,206 - freqtrade.data.history.history_utils - INFO - Using indicator startup period: 14450 ...
2025-04-29 04:09:07,333 - freqtrade.optimize.backtesting - INFO - Loading data from 2025-03-01 21:30:00 up to 2025-04-20 00:00:00 (49 days).
2025-04-29 04:09:07,334 - freqtrade.optimize.backtesting - INFO - Dataload complete. Calculating indicators
2025-04-29 04:09:07,335 - freqtrade.optimize.backtesting - INFO - Running backtesting for Strategy FreqaiExampleStrategy
2025-04-29 04:09:08,893 - matplotlib.font_manager - INFO - generated new fontManager
2025-04-29 04:09:09,092 - freqtrade.resolvers.iresolver - INFO - Using resolved freqaimodel XGBoostRegressor from '/freqtrade/freqtrade/freqai/prediction_models/XGBoostRegressor.py'...
2025-04-29 04:09:09,092 - freqtrade.freqai.data_drawer - INFO - Could not find existing datadrawer, starting from scratch
2025-04-29 04:09:09,093 - freqtrade.freqai.data_drawer - INFO - Could not find existing historic_predictions, starting from scratch
2025-04-29 04:09:09,093 - freqtrade.freqai.freqai_interface - INFO - Set fresh train queue from whitelist. Queue: ['BTC/USDT', 'SOL/USDT']
2025-04-29 04:09:09,094 - freqtrade.strategy.hyper - INFO - Strategy Parameter: buy_rsi = 39.92672300850069
2025-04-29 04:09:09,094 - freqtrade.strategy.hyper - INFO - Strategy Parameter: sell_rsi = 69.92672300850067
2025-04-29 04:09:09,095 - freqtrade.strategy.hyper - INFO - No params for protection found, using default values.
2025-04-29 04:09:09,097 - FreqaiExampleStrategy - INFO - 处理交易对BTC/USDT
2025-04-29 04:09:09,099 - freqtrade.freqai.freqai_interface - INFO - Training 2 timeranges
2025-04-29 04:09:09,100 - freqtrade.freqai.freqai_interface - INFO - Training BTC/USDT, 1/2 pairs from 2025-03-02 00:00:00 to 2025-04-01 00:00:00, 1/2 trains
2025-04-29 04:09:09,100 - freqtrade.freqai.data_kitchen - INFO - Could not find backtesting prediction file at
2025-04-29 06:20:33,380 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using order_time_in_force: {'entry': 'GTC', 'exit': 'GTC'}
2025-04-29 06:20:33,380 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using stake_currency: USDT
2025-04-29 06:20:33,380 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using stake_amount: 150
2025-04-29 06:20:33,381 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using startup_candle_count: 30
2025-04-29 06:20:33,381 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using unfilledtimeout: {'entry': 5, 'exit': 15, 'exit_timeout_count': 0, 'unit': 'minutes'}
2025-04-29 06:20:33,381 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using use_exit_signal: True
2025-04-29 06:20:33,382 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using exit_profit_only: False
2025-04-29 06:20:33,382 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using ignore_roi_if_entry_signal: False
2025-04-29 06:20:33,382 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using exit_profit_offset: 0.0
2025-04-29 06:20:33,383 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using disable_dataframe_checks: False
2025-04-29 06:20:33,383 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using ignore_buying_expired_candle_after: 0
2025-04-29 06:20:33,383 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using position_adjustment_enable: False
2025-04-29 06:20:33,384 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using max_entry_position_adjustment: -1
2025-04-29 06:20:33,384 - freqtrade.resolvers.strategy_resolver - INFO - Strategy using max_open_trades: 4
2025-04-29 06:20:33,384 - freqtrade.configuration.config_validation - INFO - Validating configuration ...
2025-04-29 06:20:33,388 - freqtrade.resolvers.iresolver - INFO - Using resolved pairlist StaticPairList from '/freqtrade/freqtrade/plugins/pairlist/StaticPairList.py'...
2025-04-29 06:20:33,394 - freqtrade.optimize.backtesting - INFO - Using fee 0.1500% - worst case fee from exchange (lowest tier).
2025-04-29 06:20:33,395 - freqtrade.data.dataprovider - INFO - Increasing startup_candle_count for freqai on 3m to 14450
2025-04-29 06:20:33,396 - freqtrade.data.history.history_utils - INFO - Using indicator startup period: 14450 ...
2025-04-29 06:20:33,524 - freqtrade.optimize.backtesting - INFO - Loading data from 2025-03-01 21:30:00 up to 2025-04-20 00:00:00 (49 days).
2025-04-29 06:20:33,525 - freqtrade.optimize.backtesting - INFO - Dataload complete. Calculating indicators
2025-04-29 06:20:33,526 - freqtrade.optimize.backtesting - INFO - Running backtesting for Strategy FreqaiExampleStrategy
2025-04-29 06:20:35,089 - matplotlib.font_manager - INFO - generated new fontManager
2025-04-29 06:20:35,292 - freqtrade.resolvers.iresolver - INFO - Using resolved freqaimodel XGBoostRegressor from '/freqtrade/freqtrade/freqai/prediction_models/XGBoostRegressor.py'...
2025-04-29 06:20:35,292 - freqtrade.freqai.data_drawer - INFO - Could not find existing datadrawer, starting from scratch
2025-04-29 06:20:35,293 - freqtrade.freqai.data_drawer - INFO - Could not find existing historic_predictions, starting from scratch
2025-04-29 06:20:35,293 - freqtrade.freqai.freqai_interface - INFO - Set fresh train queue from whitelist. Queue: ['BTC/USDT', 'SOL/USDT']
2025-04-29 06:20:35,294 - freqtrade.strategy.hyper - INFO - Strategy Parameter: buy_rsi = 39.92672300850069
2025-04-29 06:20:35,294 - freqtrade.strategy.hyper - INFO - Strategy Parameter: sell_rsi = 69.92672300850067
2025-04-29 06:20:35,295 - freqtrade.strategy.hyper - INFO - No params for protection found, using default values.
2025-04-29 06:20:35,297 - FreqaiExampleStrategy - INFO - 处理交易对BTC/USDT
2025-04-29 06:20:35,299 - freqtrade.freqai.freqai_interface - INFO - Training 2 timeranges
2025-04-29 06:20:35,300 - freqtrade.freqai.freqai_interface - INFO - Training BTC/USDT, 1/2 pairs from 2025-03-02 00:00:00 to 2025-04-01 00:00:00, 1/2 trains
2025-04-29 06:20:35,300 - freqtrade.freqai.data_kitchen - INFO - Could not find backtesting prediction file at
/freqtrade/user_data/models/test175/backtesting_predictions/cb_btc_1743465600_prediction.feather
2025-04-29 04:09:09,135 - freqtrade.data.dataprovider - INFO - Increasing startup_candle_count for freqai on 5m to 8690
2025-04-29 04:09:09,136 - freqtrade.data.dataprovider - INFO - Loading data for BTC/USDT 5m from 2025-03-01 19:50:00 to 2025-04-20 00:00:00
2025-04-29 04:09:09,205 - freqtrade.data.dataprovider - INFO - Increasing startup_candle_count for freqai on 1h to 770
2025-04-29 04:09:09,205 - freqtrade.data.dataprovider - INFO - Loading data for BTC/USDT 1h from 2025-02-27 22:00:00 to 2025-04-20 00:00:00
2025-04-29 04:09:09,260 - freqtrade.data.dataprovider - INFO - Increasing startup_candle_count for freqai on 3m to 14450
2025-04-29 04:09:09,260 - freqtrade.data.dataprovider - INFO - Loading data for ETH/USDT 3m from 2025-03-01 21:30:00 to 2025-04-20 00:00:00
2025-04-29 04:09:09,349 - freqtrade.data.dataprovider - INFO - Increasing startup_candle_count for freqai on 5m to 8690
2025-04-29 04:09:09,350 - freqtrade.data.dataprovider - INFO - Loading data for ETH/USDT 5m from 2025-03-01 19:50:00 to 2025-04-20 00:00:00
2025-04-29 04:09:09,420 - freqtrade.data.dataprovider - INFO - Increasing startup_candle_count for freqai on 1h to 770
2025-04-29 04:09:09,421 - freqtrade.data.dataprovider - INFO - Loading data for ETH/USDT 1h from 2025-02-27 22:00:00 to 2025-04-20 00:00:00
2025-04-29 04:09:09,469 - FreqaiExampleStrategy - INFO - 设置 FreqAI 目标交易对BTC/USDT
2025-04-29 04:09:09,475 - FreqaiExampleStrategy - INFO - 目标列形状:(14450,)
2025-04-29 04:09:09,477 - FreqaiExampleStrategy - INFO - 目标列预览:
2025-04-29 06:20:35,336 - freqtrade.data.dataprovider - INFO - Increasing startup_candle_count for freqai on 5m to 8690
2025-04-29 06:20:35,337 - freqtrade.data.dataprovider - INFO - Loading data for BTC/USDT 5m from 2025-03-01 19:50:00 to 2025-04-20 00:00:00
2025-04-29 06:20:35,407 - freqtrade.data.dataprovider - INFO - Increasing startup_candle_count for freqai on 1h to 770
2025-04-29 06:20:35,408 - freqtrade.data.dataprovider - INFO - Loading data for BTC/USDT 1h from 2025-02-27 22:00:00 to 2025-04-20 00:00:00
2025-04-29 06:20:35,462 - freqtrade.data.dataprovider - INFO - Increasing startup_candle_count for freqai on 3m to 14450
2025-04-29 06:20:35,463 - freqtrade.data.dataprovider - INFO - Loading data for ETH/USDT 3m from 2025-03-01 21:30:00 to 2025-04-20 00:00:00
2025-04-29 06:20:35,556 - freqtrade.data.dataprovider - INFO - Increasing startup_candle_count for freqai on 5m to 8690
2025-04-29 06:20:35,556 - freqtrade.data.dataprovider - INFO - Loading data for ETH/USDT 5m from 2025-03-01 19:50:00 to 2025-04-20 00:00:00
2025-04-29 06:20:35,629 - freqtrade.data.dataprovider - INFO - Increasing startup_candle_count for freqai on 1h to 770
2025-04-29 06:20:35,630 - freqtrade.data.dataprovider - INFO - Loading data for ETH/USDT 1h from 2025-02-27 22:00:00 to 2025-04-20 00:00:00
2025-04-29 06:20:35,679 - FreqaiExampleStrategy - INFO - 设置 FreqAI 目标交易对BTC/USDT
2025-04-29 06:20:35,685 - FreqaiExampleStrategy - INFO - 目标列形状:(14450,)
2025-04-29 06:20:35,687 - FreqaiExampleStrategy - INFO - 目标列预览:
up_or_down &-buy_rsi
0 1 50.010488
1 1 50.010488
2 1 50.010488
3 1 50.010488
4 1 50.010488
2025-04-29 04:09:09,481 - FreqaiExampleStrategy - INFO - 设置 FreqAI 目标交易对BTC/USDT
2025-04-29 04:09:09,487 - FreqaiExampleStrategy - INFO - 目标列形状:(19250,)
2025-04-29 04:09:09,488 - FreqaiExampleStrategy - INFO - 目标列预览:
2025-04-29 06:20:35,691 - FreqaiExampleStrategy - INFO - 设置 FreqAI 目标交易对BTC/USDT
2025-04-29 06:20:35,697 - FreqaiExampleStrategy - INFO - 目标列形状:(19250,)
2025-04-29 06:20:35,698 - FreqaiExampleStrategy - INFO - 目标列预览:
up_or_down &-buy_rsi
0 1 49.846666
1 1 49.846666
2 1 49.846666
3 1 49.846666
4 1 49.846666
2025-04-29 04:09:09,495 - freqtrade.freqai.freqai_interface - INFO - Could not find model at /freqtrade/user_data/models/test175/sub-train-BTC_1743465600/cb_btc_1743465600
2025-04-29 04:09:09,496 - freqtrade.freqai.base_models.BaseRegressionModel - INFO - -------------------- Starting training BTC/USDT --------------------
2025-04-29 04:09:09,518 - freqtrade.freqai.data_kitchen - INFO - BTC/USDT: dropped 0 training points due to NaNs in populated dataset 14400.
2025-04-29 04:09:09,518 - freqtrade.freqai.base_models.BaseRegressionModel - INFO - -------------------- Training on data from 2025-03-02 to 2025-03-31 --------------------
2025-04-29 04:09:09,536 - freqtrade.freqai.base_models.BaseRegressionModel - INFO - Training model on 75 features
2025-04-29 04:09:09,537 - freqtrade.freqai.base_models.BaseRegressionModel - INFO - Training model on 11520 data points
/home/ftuser/.local/lib/python3.12/site-packages/xgboost/core.py:158: UserWarning: [04:09:09] WARNING: /workspace/src/learner.cc:740:
2025-04-29 06:20:35,705 - freqtrade.freqai.freqai_interface - INFO - Could not find model at /freqtrade/user_data/models/test175/sub-train-BTC_1743465600/cb_btc_1743465600
2025-04-29 06:20:35,705 - freqtrade.freqai.base_models.BaseRegressionModel - INFO - -------------------- Starting training BTC/USDT --------------------
2025-04-29 06:20:35,726 - freqtrade.freqai.data_kitchen - INFO - BTC/USDT: dropped 0 training points due to NaNs in populated dataset 14400.
2025-04-29 06:20:35,727 - freqtrade.freqai.base_models.BaseRegressionModel - INFO - -------------------- Training on data from 2025-03-02 to 2025-03-31 --------------------
2025-04-29 06:20:35,742 - freqtrade.freqai.base_models.BaseRegressionModel - INFO - Training model on 75 features
2025-04-29 06:20:35,743 - freqtrade.freqai.base_models.BaseRegressionModel - INFO - Training model on 11520 data points
/home/ftuser/.local/lib/python3.12/site-packages/xgboost/core.py:158: UserWarning: [06:20:35] WARNING: /workspace/src/learner.cc:740:
Parameters: { "verbose" } are not used.
warnings.warn(smsg, UserWarning)
[99] validation_0-rmse:0.10879 validation_1-rmse:0.08763
2025-04-29 04:09:09,927 - freqtrade.freqai.base_models.BaseRegressionModel - INFO - -------------------- Done training BTC/USDT (0.43 secs) --------------------
2025-04-29 06:20:36,227 - freqtrade.freqai.base_models.BaseRegressionModel - INFO - -------------------- Done training BTC/USDT (0.52 secs) --------------------
/home/ftuser/.local/lib/python3.12/site-packages/xgboost/core.py:158: UserWarning:
[04:09:09] WARNING: /workspace/src/learner.cc:740:
[06:20:36] WARNING: /workspace/src/learner.cc:740:
Parameters: { "verbose" } are not used.
2025-04-29 04:09:10,148 - freqtrade.plot.plotting - INFO - Stored plot as /freqtrade/user_data/models/test175/sub-train-BTC_1743465600/cb_btc_1743465600--buy_rsi.html
2025-04-29 04:09:10,149 - freqtrade.freqai.freqai_interface - INFO - Saving metadata to disk.
2025-04-29 04:09:10,172 - datasieve.pipeline - WARNING - Could not find step di in pipeline, returning None
2025-04-29 04:09:10,179 - freqtrade.freqai.freqai_interface - INFO - Training BTC/USDT, 1/2 pairs from 2025-03-12 00:00:00 to 2025-04-11 00:00:00, 2/2 trains
2025-04-29 04:09:10,179 - freqtrade.freqai.data_kitchen - INFO - Could not find backtesting prediction file at
2025-04-29 06:20:36,452 - freqtrade.plot.plotting - INFO - Stored plot as /freqtrade/user_data/models/test175/sub-train-BTC_1743465600/cb_btc_1743465600--buy_rsi.html
2025-04-29 06:20:36,452 - freqtrade.freqai.freqai_interface - INFO - Saving metadata to disk.
2025-04-29 06:20:36,475 - datasieve.pipeline - WARNING - Could not find step di in pipeline, returning None
2025-04-29 06:20:36,482 - freqtrade.freqai.freqai_interface - INFO - Training BTC/USDT, 1/2 pairs from 2025-03-12 00:00:00 to 2025-04-11 00:00:00, 2/2 trains
2025-04-29 06:20:36,483 - freqtrade.freqai.data_kitchen - INFO - Could not find backtesting prediction file at
/freqtrade/user_data/models/test175/backtesting_predictions/cb_btc_1744329600_prediction.feather
2025-04-29 04:09:10,183 - FreqaiExampleStrategy - INFO - 设置 FreqAI 目标交易对BTC/USDT
2025-04-29 04:09:10,188 - FreqaiExampleStrategy - INFO - 目标列形状:(19250,)
2025-04-29 04:09:10,190 - FreqaiExampleStrategy - INFO - 目标列预览:
2025-04-29 06:20:36,486 - FreqaiExampleStrategy - INFO - 设置 FreqAI 目标交易对BTC/USDT
2025-04-29 06:20:36,492 - FreqaiExampleStrategy - INFO - 目标列形状:(19250,)
2025-04-29 06:20:36,494 - FreqaiExampleStrategy - INFO - 目标列预览:
up_or_down &-buy_rsi
0 1 49.846666
1 1 49.846666
2 1 49.846666
3 1 49.846666
4 1 49.846666
2025-04-29 04:09:10,194 - FreqaiExampleStrategy - INFO - 设置 FreqAI 目标交易对BTC/USDT
2025-04-29 04:09:10,200 - FreqaiExampleStrategy - INFO - 目标列形状:(23570,)
2025-04-29 04:09:10,201 - FreqaiExampleStrategy - INFO - 目标列预览:
2025-04-29 06:20:36,499 - FreqaiExampleStrategy - INFO - 设置 FreqAI 目标交易对BTC/USDT
2025-04-29 06:20:36,505 - FreqaiExampleStrategy - INFO - 目标列形状:(23570,)
2025-04-29 06:20:36,506 - FreqaiExampleStrategy - INFO - 目标列预览:
up_or_down &-buy_rsi
0 1 50.074781
1 1 50.074781
2 1 50.074781
3 1 50.074781
4 1 50.074781
2025-04-29 04:09:10,206 - freqtrade.freqai.freqai_interface - INFO - Could not find model at /freqtrade/user_data/models/test175/sub-train-BTC_1744329600/cb_btc_1744329600
2025-04-29 04:09:10,206 - freqtrade.freqai.base_models.BaseRegressionModel - INFO - -------------------- Starting training BTC/USDT --------------------
2025-04-29 04:09:10,224 - freqtrade.freqai.data_kitchen - INFO - BTC/USDT: dropped 0 training points due to NaNs in populated dataset 14400.
2025-04-29 04:09:10,225 - freqtrade.freqai.base_models.BaseRegressionModel - INFO - -------------------- Training on data from 2025-03-12 to 2025-04-10 --------------------
2025-04-29 04:09:10,240 - freqtrade.freqai.base_models.BaseRegressionModel - INFO - Training model on 75 features
2025-04-29 04:09:10,241 - freqtrade.freqai.base_models.BaseRegressionModel - INFO - Training model on 11520 data points
2025-04-29 06:20:36,511 - freqtrade.freqai.freqai_interface - INFO - Could not find model at /freqtrade/user_data/models/test175/sub-train-BTC_1744329600/cb_btc_1744329600
2025-04-29 06:20:36,511 - freqtrade.freqai.base_models.BaseRegressionModel - INFO - -------------------- Starting training BTC/USDT --------------------
2025-04-29 06:20:36,529 - freqtrade.freqai.data_kitchen - INFO - BTC/USDT: dropped 0 training points due to NaNs in populated dataset 14400.
2025-04-29 06:20:36,530 - freqtrade.freqai.base_models.BaseRegressionModel - INFO - -------------------- Training on data from 2025-03-12 to 2025-04-10 --------------------
2025-04-29 06:20:36,546 - freqtrade.freqai.base_models.BaseRegressionModel - INFO - Training model on 75 features
2025-04-29 06:20:36,547 - freqtrade.freqai.base_models.BaseRegressionModel - INFO - Training model on 11520 data points
/home/ftuser/.local/lib/python3.12/site-packages/xgboost/core.py:158: UserWarning:
[04:09:10] WARNING: /workspace/src/learner.cc:740:
[06:20:36] WARNING: /workspace/src/learner.cc:740:
Parameters: { "verbose" } are not used.
[99] validation_0-rmse:0.10835 validation_1-rmse:0.08627
2025-04-29 04:09:10,652 - freqtrade.freqai.base_models.BaseRegressionModel - INFO - -------------------- Done training BTC/USDT (0.45 secs) --------------------
2025-04-29 04:09:10,696 - freqtrade.plot.plotting - INFO - Stored plot as /freqtrade/user_data/models/test175/sub-train-BTC_1744329600/cb_btc_1744329600--buy_rsi.html
2025-04-29 04:09:10,697 - freqtrade.freqai.freqai_interface - INFO - Saving metadata to disk.
2025-04-29 04:09:10,716 - datasieve.pipeline - WARNING - Could not find step di in pipeline, returning None
2025-04-29 04:09:10,751 - freqtrade - ERROR - Fatal exception!
Traceback (most recent call last):
File "/home/ftuser/.local/lib/python3.12/site-packages/pandas/core/indexes/base.py", line 3805, in get_loc
return self._engine.get_loc(casted_key)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "index.pyx", line 167, in pandas._libs.index.IndexEngine.get_loc
File "index.pyx", line 196, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/hashtable_class_helper.pxi", line 7081, in pandas._libs.hashtable.PyObjectHashTable.get_item
File "pandas/_libs/hashtable_class_helper.pxi", line 7089, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'buy_rsi_pred'
2025-04-29 06:20:36,951 - freqtrade.freqai.base_models.BaseRegressionModel - INFO - -------------------- Done training BTC/USDT (0.44 secs) --------------------
2025-04-29 06:20:36,996 - freqtrade.plot.plotting - INFO - Stored plot as /freqtrade/user_data/models/test175/sub-train-BTC_1744329600/cb_btc_1744329600--buy_rsi.html
2025-04-29 06:20:36,997 - freqtrade.freqai.freqai_interface - INFO - Saving metadata to disk.
2025-04-29 06:20:37,014 - datasieve.pipeline - WARNING - Could not find step di in pipeline, returning None
2025-04-29 06:20:37,045 - FreqaiExampleStrategy - WARNING - buy_rsi_pred 列缺失,使用默认值 30 进行初始化
2025-04-29 06:20:37,053 - FreqaiExampleStrategy - INFO - 动态参数buy_rsi=30.0, sell_rsi=50.0, stoploss=-0.15, trailing_stop_positive=0.05
2025-04-29 06:20:37,055 - FreqaiExampleStrategy - INFO - 动态参数buy_rsi=30.0, sell_rsi=50.0, stoploss=-0.15, trailing_stop_positive=0.05
2025-04-29 06:20:37,057 - FreqaiExampleStrategy - INFO - 动态参数buy_rsi=30.0, sell_rsi=50.0, stoploss=-0.15, trailing_stop_positive=0.05
2025-04-29 06:20:37,059 - FreqaiExampleStrategy - INFO - 动态参数buy_rsi=30.0, sell_rsi=50.0, stoploss=-0.15, trailing_stop_positive=0.05
2025-04-29 06:20:37,061 - FreqaiExampleStrategy - INFO - 动态参数buy_rsi=30.0, sell_rsi=50.0, stoploss=-0.15, trailing_stop_positive=0.05
2025-04-29 06:20:37,063 - FreqaiExampleStrategy - INFO - 动态参数buy_rsi=30.0, sell_rsi=50.0, stoploss=-0.15, trailing_stop_positive=0.05
2025-04-29 06:20:37,064 - FreqaiExampleStrategy - INFO - 动态参数buy_rsi=30.0, sell_rsi=50.0, stoploss=-0.15, trailing_stop_positive=0.05
2025-04-29 06:20:37,066 - FreqaiExampleStrategy - INFO - 动态参数buy_rsi=30.0, sell_rsi=50.0, stoploss=-0.15, trailing_stop_positive=0.05
2025-04-29 06:20:37,068 - FreqaiExampleStrategy - INFO - 动态参数buy_rsi=30.0, sell_rsi=50.0, stoploss=-0.15, trailing_stop_positive=0.05
2025-04-29 06:20:37,070 - FreqaiExampleStrategy - INFO - 动态参数buy_rsi=30.0, sell_rsi=50.0, stoploss=-0.15, trailing_stop_positive=0.05
2025-04-29 06:20:37,076 - FreqaiExampleStrategy - INFO - up_or_down 值统计:
up_or_down
1 11845
0 11726
2025-04-29 06:20:37,077 - FreqaiExampleStrategy - INFO - do_predict 值统计:
do_predict
0.0 14451
1.0 9120
2025-04-29 06:20:37,079 - FreqaiExampleStrategy - INFO - 处理交易对SOL/USDT
2025-04-29 06:20:37,080 - freqtrade.freqai.freqai_interface - INFO - Training 2 timeranges
2025-04-29 06:20:37,081 - freqtrade.freqai.freqai_interface - INFO - Training SOL/USDT, 2/2 pairs from 2025-03-02 00:00:00 to 2025-04-01 00:00:00, 1/2 trains
2025-04-29 06:20:37,081 - freqtrade.freqai.data_kitchen - INFO - Could not find backtesting prediction file at
/freqtrade/user_data/models/test175/backtesting_predictions/cb_sol_1743465600_prediction.feather
2025-04-29 06:20:37,104 - freqtrade.data.dataprovider - INFO - Increasing startup_candle_count for freqai on 5m to 8690
2025-04-29 06:20:37,104 - freqtrade.data.dataprovider - INFO - Loading data for SOL/USDT 5m from 2025-03-01 19:50:00 to 2025-04-20 00:00:00
2025-04-29 06:20:37,167 - freqtrade.data.dataprovider - INFO - Increasing startup_candle_count for freqai on 1h to 770
2025-04-29 06:20:37,168 - freqtrade.data.dataprovider - INFO - Loading data for SOL/USDT 1h from 2025-02-27 22:00:00 to 2025-04-20 00:00:00
2025-04-29 06:20:37,216 - freqtrade.data.dataprovider - INFO - Increasing startup_candle_count for freqai on 3m to 14450
2025-04-29 06:20:37,216 - freqtrade.data.dataprovider - INFO - Loading data for BTC/USDT 3m from 2025-03-01 21:30:00 to 2025-04-20 00:00:00
2025-04-29 06:20:37,467 - FreqaiExampleStrategy - INFO - 设置 FreqAI 目标交易对SOL/USDT
2025-04-29 06:20:37,473 - FreqaiExampleStrategy - INFO - 目标列形状(14450,)
2025-04-29 06:20:37,474 - FreqaiExampleStrategy - INFO - 目标列预览
up_or_down &-buy_rsi
0 1 49.72136
1 1 49.72136
2 1 49.72136
3 1 49.72136
4 1 49.72136
2025-04-29 06:20:37,477 - FreqaiExampleStrategy - INFO - 设置 FreqAI 目标交易对SOL/USDT
2025-04-29 06:20:37,483 - FreqaiExampleStrategy - INFO - 目标列形状(19250,)
2025-04-29 06:20:37,484 - FreqaiExampleStrategy - INFO - 目标列预览
up_or_down &-buy_rsi
0 1 49.562407
1 1 49.562407
2 1 49.562407
3 1 49.562407
4 1 49.562407
2025-04-29 06:20:37,490 - freqtrade.freqai.freqai_interface - INFO - Could not find model at /freqtrade/user_data/models/test175/sub-train-SOL_1743465600/cb_sol_1743465600
2025-04-29 06:20:37,490 - freqtrade.freqai.base_models.BaseRegressionModel - INFO - -------------------- Starting training SOL/USDT --------------------
2025-04-29 06:20:37,516 - freqtrade.freqai.data_kitchen - INFO - SOL/USDT: dropped 0 training points due to NaNs in populated dataset 14400.
2025-04-29 06:20:37,516 - freqtrade.freqai.base_models.BaseRegressionModel - INFO - -------------------- Training on data from 2025-03-02 to 2025-03-31 --------------------
2025-04-29 06:20:37,539 - freqtrade.freqai.base_models.BaseRegressionModel - INFO - Training model on 111 features
2025-04-29 06:20:37,540 - freqtrade.freqai.base_models.BaseRegressionModel - INFO - Training model on 11520 data points
/home/ftuser/.local/lib/python3.12/site-packages/xgboost/core.py:158: UserWarning:
The above exception was the direct cause of the following exception:
[06:20:37] WARNING: /workspace/src/learner.cc:740:
Parameters: { "verbose" } are not used.
Traceback (most recent call last):
File "/freqtrade/freqtrade/main.py", line 47, in main
return_code = args["func"](args)
^^^^^^^^^^^^^^^^^^
File "/freqtrade/freqtrade/commands/optimize_commands.py", line 61, in start_backtesting
backtesting.start()
File "/freqtrade/freqtrade/optimize/backtesting.py", line 1773, in start
min_date, max_date = self.backtest_one_strategy(strat, data, timerange)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/freqtrade/freqtrade/optimize/backtesting.py", line 1682, in backtest_one_strategy
preprocessed = self.strategy.advise_all_indicators(data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/freqtrade/freqtrade/strategy/interface.py", line 1684, in advise_all_indicators
pair: self.advise_indicators(pair_data.copy(), {"pair": pair}).copy()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/freqtrade/freqtrade/strategy/interface.py", line 1738, in advise_indicators
return self.populate_indicators(dataframe, metadata)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/freqtrade/templates/FreqaiExampleStrategy.py", line 250, in populate_indicators
dataframe["sell_rsi_pred"] = dataframe["buy_rsi_pred"] + 20
~~~~~~~~~^^^^^^^^^^^^^^^^
File "/home/ftuser/.local/lib/python3.12/site-packages/pandas/core/frame.py", line 4102, in __getitem__
indexer = self.columns.get_loc(key)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ftuser/.local/lib/python3.12/site-packages/pandas/core/indexes/base.py", line 3812, in get_loc
raise KeyError(key) from err
KeyError: 'buy_rsi_pred'
1
[99] validation_0-rmse:0.09426 validation_1-rmse:0.07484
2025-04-29 06:20:38,169 - freqtrade.freqai.base_models.BaseRegressionModel - INFO - -------------------- Done training SOL/USDT (0.68 secs) --------------------
/home/ftuser/.local/lib/python3.12/site-packages/xgboost/core.py:158: UserWarning:
[06:20:38] WARNING: /workspace/src/learner.cc:740:
Parameters: { "verbose" } are not used.
2025-04-29 06:20:38,205 - freqtrade.plot.plotting - INFO - Stored plot as /freqtrade/user_data/models/test175/sub-train-SOL_1743465600/cb_sol_1743465600--buy_rsi.html
2025-04-29 06:20:38,206 - freqtrade.freqai.freqai_interface - INFO - Saving metadata to disk.
2025-04-29 06:20:38,231 - datasieve.pipeline - WARNING - Could not find step di in pipeline, returning None
2025-04-29 06:20:38,237 - freqtrade.freqai.freqai_interface - INFO - Training SOL/USDT, 2/2 pairs from 2025-03-12 00:00:00 to 2025-04-11 00:00:00, 2/2 trains
2025-04-29 06:20:38,238 - freqtrade.freqai.data_kitchen - INFO - Could not find backtesting prediction file at
/freqtrade/user_data/models/test175/backtesting_predictions/cb_sol_1744329600_prediction.feather
2025-04-29 06:20:38,241 - FreqaiExampleStrategy - INFO - 设置 FreqAI 目标交易对SOL/USDT
2025-04-29 06:20:38,247 - FreqaiExampleStrategy - INFO - 目标列形状(19250,)
2025-04-29 06:20:38,248 - FreqaiExampleStrategy - INFO - 目标列预览
up_or_down &-buy_rsi
0 1 49.562407
1 1 49.562407
2 1 49.562407
3 1 49.562407
4 1 49.562407
2025-04-29 06:20:38,255 - FreqaiExampleStrategy - INFO - 设置 FreqAI 目标交易对SOL/USDT
2025-04-29 06:20:38,261 - FreqaiExampleStrategy - INFO - 目标列形状(23570,)
2025-04-29 06:20:38,262 - FreqaiExampleStrategy - INFO - 目标列预览
up_or_down &-buy_rsi
0 1 49.934347
1 1 49.934347
2 1 49.934347
3 1 49.934347
4 1 49.934347
2025-04-29 06:20:38,268 - freqtrade.freqai.freqai_interface - INFO - Could not find model at /freqtrade/user_data/models/test175/sub-train-SOL_1744329600/cb_sol_1744329600
2025-04-29 06:20:38,268 - freqtrade.freqai.base_models.BaseRegressionModel - INFO - -------------------- Starting training SOL/USDT --------------------
2025-04-29 06:20:38,290 - freqtrade.freqai.data_kitchen - INFO - SOL/USDT: dropped 0 training points due to NaNs in populated dataset 14400.
2025-04-29 06:20:38,291 - freqtrade.freqai.base_models.BaseRegressionModel - INFO - -------------------- Training on data from 2025-03-12 to 2025-04-10 --------------------
2025-04-29 06:20:38,314 - freqtrade.freqai.base_models.BaseRegressionModel - INFO - Training model on 111 features
2025-04-29 06:20:38,315 - freqtrade.freqai.base_models.BaseRegressionModel - INFO - Training model on 11520 data points
/home/ftuser/.local/lib/python3.12/site-packages/xgboost/core.py:158: UserWarning:
[06:20:38] WARNING: /workspace/src/learner.cc:740:
Parameters: { "verbose" } are not used.
[99] validation_0-rmse:0.10563 validation_1-rmse:0.08482
2025-04-29 06:20:38,937 - freqtrade.freqai.base_models.BaseRegressionModel - INFO - -------------------- Done training SOL/USDT (0.67 secs) --------------------
2025-04-29 06:20:38,969 - freqtrade.plot.plotting - INFO - Stored plot as /freqtrade/user_data/models/test175/sub-train-SOL_1744329600/cb_sol_1744329600--buy_rsi.html
2025-04-29 06:20:38,969 - freqtrade.freqai.freqai_interface - INFO - Saving metadata to disk.
2025-04-29 06:20:38,994 - datasieve.pipeline - WARNING - Could not find step di in pipeline, returning None
2025-04-29 06:20:39,030 - FreqaiExampleStrategy - WARNING - buy_rsi_pred 列缺失,使用默认值 30 进行初始化
2025-04-29 06:20:39,038 - FreqaiExampleStrategy - INFO - 动态参数buy_rsi=30.0, sell_rsi=50.0, stoploss=-0.15, trailing_stop_positive=0.05
2025-04-29 06:20:39,040 - FreqaiExampleStrategy - INFO - 动态参数buy_rsi=30.0, sell_rsi=50.0, stoploss=-0.15, trailing_stop_positive=0.05
2025-04-29 06:20:39,041 - FreqaiExampleStrategy - INFO - 动态参数buy_rsi=30.0, sell_rsi=50.0, stoploss=-0.15, trailing_stop_positive=0.05
2025-04-29 06:20:39,043 - FreqaiExampleStrategy - INFO - 动态参数buy_rsi=30.0, sell_rsi=50.0, stoploss=-0.15, trailing_stop_positive=0.05
2025-04-29 06:20:39,045 - FreqaiExampleStrategy - INFO - 动态参数buy_rsi=30.0, sell_rsi=50.0, stoploss=-0.15, trailing_stop_positive=0.05
2025-04-29 06:20:39,047 - FreqaiExampleStrategy - INFO - 动态参数buy_rsi=30.0, sell_rsi=50.0, stoploss=-0.15, trailing_stop_positive=0.05
2025-04-29 06:20:39,049 - FreqaiExampleStrategy - INFO - 动态参数buy_rsi=30.0, sell_rsi=50.0, stoploss=-0.15, trailing_stop_positive=0.05
2025-04-29 06:20:39,050 - FreqaiExampleStrategy - INFO - 动态参数buy_rsi=30.0, sell_rsi=50.0, stoploss=-0.15, trailing_stop_positive=0.05
2025-04-29 06:20:39,052 - FreqaiExampleStrategy - INFO - 动态参数buy_rsi=30.0, sell_rsi=50.0, stoploss=-0.15, trailing_stop_positive=0.05
2025-04-29 06:20:39,054 - FreqaiExampleStrategy - INFO - 动态参数buy_rsi=30.0, sell_rsi=50.0, stoploss=-0.15, trailing_stop_positive=0.05
2025-04-29 06:20:39,060 - FreqaiExampleStrategy - INFO - up_or_down 值统计:
up_or_down
0 11865
1 11706
2025-04-29 06:20:39,061 - FreqaiExampleStrategy - INFO - do_predict 值统计:
do_predict
0.0 14451
1.0 9120
2025-04-29 06:20:39,064 - freqtrade.optimize.backtesting - INFO - Backtesting with data from 2025-04-01 00:00:00 up to 2025-04-20 00:00:00 (19 days).
2025-04-29 06:20:39,066 - FreqaiExampleStrategy - ERROR - MACD 或 MACD 信号列缺失,无法生成买入信号。尝试重新计算 MACD 列。
2025-04-29 06:20:39,067 - FreqaiExampleStrategy - INFO - MACD 列已成功重新计算。
2025-04-29 06:20:39,084 - FreqaiExampleStrategy - ERROR - MACD 或 MACD 信号列缺失,无法生成买入信号。尝试重新计算 MACD 列。
2025-04-29 06:20:39,086 - FreqaiExampleStrategy - INFO - MACD 列已成功重新计算。
2025-04-29 06:20:39,186 - freqtrade.misc - INFO - dumping json to "/freqtrade/user_data/backtest_results/backtest-result-2025-04-29_06-20-39.meta.json"
Result for strategy FreqaiExampleStrategy
 BACKTESTING REPORT 
┏━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━┓
  Pair ┃ Trades ┃ Avg Profit % ┃ Tot Profit USDT ┃ Tot Profit % ┃ Avg Duration ┃  Win Draw Loss Win% ┃
┡━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━┩
│ BTC/USDT │ 0 │ 0.0 │ 0.000 │ 0.0 │ 0:00 │ 0 0 0 0 │
│ SOL/USDT │ 0 │ 0.0 │ 0.000 │ 0.0 │ 0:00 │ 0 0 0 0 │
│ TOTAL │ 0 │ 0.0 │ 0.000 │ 0.0 │ 0:00 │ 0 0 0 0 │
└──────────┴────────┴──────────────┴─────────────────┴──────────────┴──────────────┴────────────────────────┘
 LEFT OPEN TRADES REPORT 
┏━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━┓
  Pair ┃ Trades ┃ Avg Profit % ┃ Tot Profit USDT ┃ Tot Profit % ┃ Avg Duration ┃  Win Draw Loss Win% ┃
┡━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━┩
│ TOTAL │ 0 │ 0.0 │ 0.000 │ 0.0 │ 0:00 │ 0 0 0 0 │
└───────┴────────┴──────────────┴─────────────────┴──────────────┴──────────────┴────────────────────────┘
 ENTER TAG STATS 
┏━━━━━━━━━━━┳━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━┓
 Enter Tag ┃ Entries ┃ Avg Profit % ┃ Tot Profit USDT ┃ Tot Profit % ┃ Avg Duration ┃  Win Draw Loss Win% ┃
┡━━━━━━━━━━━╇━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━┩
│ TOTAL │ 0 │ 0.0 │ 0.000 │ 0.0 │ 0:00 │ 0 0 0 0 │
└───────────┴─────────┴──────────────┴─────────────────┴──────────────┴──────────────┴────────────────────────┘
 EXIT REASON STATS 
┏━━━━━━━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━┓
 Exit Reason ┃ Exits ┃ Avg Profit % ┃ Tot Profit USDT ┃ Tot Profit % ┃ Avg Duration ┃  Win Draw Loss Win% ┃
┡━━━━━━━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━┩
│ TOTAL │ 0 │ 0.0 │ 0.000 │ 0.0 │ 0:00 │ 0 0 0 0 │
└─────────────┴───────┴──────────────┴─────────────────┴──────────────┴──────────────┴────────────────────────┘
 MIXED TAG STATS 
┏━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━┓
 Enter Tag ┃ Exit Reason ┃ Trades ┃ Avg Profit % ┃ Tot Profit USDT ┃ Tot Profit % ┃ Avg Duration ┃  Win Draw Loss Win% ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━┩
│ TOTAL │ │ 0 │ 0.0 │ 0.000 │ 0.0 │ 0:00 │ 0 0 0 0 │
└───────────┴─────────────┴────────┴──────────────┴─────────────────┴──────────────┴──────────────┴────────────────────────┘
No trades made. Your starting balance was 1000 USDT, and your stake was 150 USDT.
Backtested 2025-04-01 00:00:00 -> 2025-04-20 00:00:00 | Max open trades : 2
 STRATEGY SUMMARY 
┏━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
  Strategy ┃ Trades ┃ Avg Profit % ┃ Tot Profit USDT ┃ Tot Profit % ┃ Avg Duration ┃  Win Draw Loss Win% ┃  Drawdown ┃
┡━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ FreqaiExampleStrategy │ 0 │ 0.00 │ 0.000 │ 0.0 │ 0:00 │ 0 0 0 0 │ 0 USDT 0.00% │
└───────────────────────┴────────┴──────────────┴─────────────────┴──────────────┴──────────────┴────────────────────────┴───────────────┘