Files
Trademind_OpenCode/config.yaml
T

66 lines
1.6 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# TradeMind Beispielskonfiguration
#
# Alle API-Keys können als Klartext oder als ${ENV_VAR} gesetzt werden.
# Setze zB. in podman-compose.yml:
# environment:
# - BINANCE_API_KEY=xxxxxx
# - BINANCE_API_SECRET=yyyy
# und in der config.yaml:
# api_key: ${BINANCE_API_KEY}
trading:
base_currency: BTC
quote_currency: USDT
initial_balance: 10000
position_size_pct: 0.10 # 10% des Portfolios pro Trade
max_open_positions: 1
fee_pct: 0.001 # 0.1% Ordergebühr
slippage_pct: 0.0005 # 0.05% Slippage (nur Simulation/Live-Annäherung)
timeframe: 1h
candles: 500
dry_run: true # true = Simulation, false = Live (in Kombination mit `live`)
strategy:
fast_period: 12
slow_period: 26
signal_period: 9
rsi_period: 14
rsi_overbought: 70
rsi_oversold: 30
atr_period: 14
atr_stop_mult: 2.5
allow_long: true
allow_short: false
training:
mode: walk-forward
train_ratio: 0.7
generations: 15
population: 30
mutation_rate: 0.2
crossover_rate: 0.4
fitness_weight_return: 0.6
fitness_weight_sharpe: 0.3
fitness_weight_drawdown: 0.1
seed: 42
state_file: state/weights.json
exchanges:
binance:
api_key: ${BINANCE_API_KEY}
api_secret: ${BINANCE_API_SECRET}
sandbox: true
kraken:
api_key: ${KRAKEN_API_KEY}
api_secret: ${KRAKEN_API_SECRET}
sandbox: true
coinbase:
api_key: ${COINBASE_API_KEY}
api_secret: ${COINBASE_API_SECRET}
sandbox: true
kucoin:
api_key: ${KUCOIN_API_KEY}
api_secret: ${KUCOIN_API_SECRET}
password: ${KUCOIN_PASSPHRASE}
sandbox: true