Skip to content

Commit

Permalink
modified: tests/backtests/backtesting-focus-group.sh
Browse files Browse the repository at this point in the history
    --eps enabled for to see all possible entries
  • Loading branch information
tolgakaratas committed Dec 9, 2024
1 parent 0e7c72d commit 69add52
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/backtests/backtesting-focus-group.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# This script for finding all possible bad buys with all pairs available

# with these parameters you can see all possible buy signals together
# --disable-max-market-positions --dry-run-wallet 100000 --stake-amount 1000 --max-open-trades 100
# --dry-run-wallet 100000 --stake-amount 100 --max-open-trades 1000 --eps

# Because of limitations pairlists divided by years as they are available
# these tests are for covering all possible time periods and all possible pairs
Expand Down Expand Up @@ -42,7 +42,7 @@ date() {
# Exchange Config
EXCHANGE_CONFIG=""
if [[ -z ${EXCHANGE} ]]; then
EXCHANGE_CONFIG="binance gateio okx"
EXCHANGE_CONFIG="binance kucoin"
else
EXCHANGE_CONFIG=${EXCHANGE}
fi
Expand Down Expand Up @@ -111,7 +111,7 @@ for TRADING_MODE_RUN in ${TRADING_MODE_CONFIG[*]}; do
-c $EXCHANGE_CONFIG_FILE \
--log-file user_data/logs/backtesting-$STRATEGY_NAME_CONFIG-$STRATEGY_VERSION_CONFIG-$EXCHANGE_CONFIG-$TRADING_MODE_CONFIG-focus-group-$TIMERANGE.log \
--export-filename user_data/backtest_results/$STRATEGY_NAME_CONFIG-$STRATEGY_VERSION_CONFIG-$EXCHANGE_CONFIG-$TRADING_MODE_CONFIG-focus-group-$TIMERANGE.json \
--cache none --breakdown day --timeframe-detail 1m --dry-run-wallet 100000 --stake-amount 1000 --max-open-trades 100
--cache none --breakdown day --timeframe-detail 1m --dry-run-wallet 100000 --stake-amount 100 --max-open-trades 1000 --eps
echo -e "\n\`\`\`\n\n---\n\n"

freqtrade backtesting --export signals \
Expand All @@ -121,7 +121,7 @@ for TRADING_MODE_RUN in ${TRADING_MODE_CONFIG[*]}; do
-c $EXCHANGE_CONFIG_FILE \
--log-file user_data/logs/backtesting-$STRATEGY_NAME_CONFIG-$STRATEGY_VERSION_CONFIG-$EXCHANGE_CONFIG-$TRADING_MODE_CONFIG-focus-group-$TIMERANGE.log \
--export-filename user_data/backtest_results/$STRATEGY_NAME_CONFIG-$STRATEGY_VERSION_CONFIG-$EXCHANGE_CONFIG-$TRADING_MODE_CONFIG-focus-group-$TIMERANGE.json \
--cache none --breakdown day --timeframe-detail 1m --dry-run-wallet 100000 --stake-amount 1000 --max-open-trades 100
--cache none --breakdown day --timeframe-detail 1m --dry-run-wallet 100000 --stake-amount 100 --max-open-trades 1000 --eps

echo -e "\n### ${EXCHANGE_CONFIG} FOCUS GROUP ANALYSIS" | tr '[a-z]' '[A-Z]'
echo -e "\n${STRATEGY_NAME_CONFIG} ${STRATEGY_VERSION} ${TIMERANGE}"
Expand Down

0 comments on commit 69add52

Please sign in to comment.