up
This commit is contained in:
parent
2a7d94cd23
commit
f34adc75f2
@ -1,4 +1,4 @@
|
||||
---
|
||||
version: '3.8'
|
||||
services:
|
||||
freqtrade:
|
||||
image: freqtradeorg/freqtrade:develop_freqaitorch
|
||||
@ -29,7 +29,7 @@ services:
|
||||
ports:
|
||||
- "8080:8080"
|
||||
# Default command used when running `docker compose up`
|
||||
|
||||
|
||||
# --freqaimodel XGBoostRegressor
|
||||
# commangd: >
|
||||
# # trade
|
||||
@ -58,19 +58,30 @@ services:
|
||||
# --strategy FreqaiExampleStrategy
|
||||
# --timerange 20250301-20250420
|
||||
# --hyperopt-loss SharpeHyperOptLoss
|
||||
# --spaces roi stoploss
|
||||
# --spaces roi stoploss
|
||||
# -e 200
|
||||
|
||||
|
||||
#--config /freqtrade/templates/FreqaiExampleStrategy.json
|
||||
|
||||
# command: >
|
||||
# backtesting
|
||||
# --logfile /freqtrade/user_data/logs/freqtrade.log
|
||||
# --freqaimodel XGBoostRegressor
|
||||
# --config /freqtrade/config_examples/config_my_hyperopt.json
|
||||
# --strategy-path /freqtrade/templates
|
||||
# --strategy TheForceV7
|
||||
# --timerange 20250301-20250405
|
||||
# --export trades
|
||||
# --fee 0.0008
|
||||
# --cache none
|
||||
|
||||
command: >
|
||||
backtesting
|
||||
trade
|
||||
--logfile /freqtrade/user_data/logs/freqtrade.log
|
||||
--db-url sqlite:////freqtrade/user_data/tradesv3.sqlite
|
||||
--freqaimodel XGBoostRegressor
|
||||
--config /freqtrade/config_examples/theforcev7.json
|
||||
--strategy-path /freqtrade/templates
|
||||
--strategy TheForceV7
|
||||
--timerange 20240901-20250315
|
||||
--export trades
|
||||
--fee 0.0008
|
||||
--cache none
|
||||
--export trades
|
||||
|
||||
@ -1 +0,0 @@
|
||||
{"TheForceV7":{"run_id":"fb919d67e6fbce2435c96c8c47cff2fab275dca5","backtest_start_time":1747037695,"timeframe":"5m","timeframe_detail":null,"backtest_start_ts":1704067200,"backtest_end_ts":1744502400}}
|
||||
File diff suppressed because one or more lines are too long
1
result/backtest-result-2025-05-12_09-59-10.meta.json
Normal file
1
result/backtest-result-2025-05-12_09-59-10.meta.json
Normal file
@ -0,0 +1 @@
|
||||
{"TheForceV7":{"run_id":"e8f9a8bc83f3c5ac5ce322fdaaa8e118ecd1dc96","backtest_start_time":1747043938,"timeframe":"5m","timeframe_detail":null,"backtest_start_ts":1704067200,"backtest_end_ts":1744502400}}
|
||||
@ -14,7 +14,7 @@ class TheForceV7(IStrategy):
|
||||
}
|
||||
stoploss = -0.1
|
||||
trailing_stop = False
|
||||
timeframe = '5m'
|
||||
timeframe = '3m'
|
||||
process_only_new_candles = True
|
||||
use_exit_signal = True # 替换 use_sell_signal
|
||||
ignore_roi_if_entry_signal = True # 替换 ignore_roi_if_buy_signal
|
||||
Loading…
x
Reference in New Issue
Block a user