Initial release: TradeMind crypto trading bot with paper/live modes and strategy training
This commit is contained in:
@@ -0,0 +1,59 @@
|
||||
# podman-compose-Datei für TradeMind.
|
||||
#
|
||||
# Nutzung:
|
||||
# 1. paper (Simulation mit ECHTEN Marktkursen, ohne API-Keys):
|
||||
# podman-compose up paper
|
||||
#
|
||||
# 2. train (Strategie optimieren):
|
||||
# podman-compose run --rm train
|
||||
#
|
||||
# 3. live (mit echten API-Keys, NUR wenn du bereit bist!):
|
||||
# export BINANCE_API_KEY=xxx BINANCE_API_SECRET=yyy
|
||||
# # in config.yaml: exchanges.binance.sandbox: false
|
||||
# podman-compose run --rm live
|
||||
#
|
||||
# Alle Env-Variablen in config.yaml werden durch ${NAME} aus Environment aufgelöst.
|
||||
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
paper:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Podmanfile
|
||||
image: trademind:latest
|
||||
container_name: tm-paper
|
||||
command: ["paper", "--config", "/app/config.yaml"]
|
||||
environment:
|
||||
- TZ=Europe/Berlin
|
||||
# API-Keys werden optional durchgelassen (nur in live genutzt):
|
||||
# - BINANCE_API_KEY=${BINANCE_API_KEY:-}
|
||||
# - BINANCE_API_SECRET=${BINANCE_API_SECRET:-}
|
||||
restart: "no"
|
||||
|
||||
train:
|
||||
image: trademind:latest
|
||||
container_name: tm-train
|
||||
command: ["train", "--config", "/app/config.yaml"]
|
||||
environment:
|
||||
- TZ=Europe/Berlin
|
||||
volumes:
|
||||
- ./state:/app/state
|
||||
restart: "no"
|
||||
|
||||
live:
|
||||
image: trademind:latest
|
||||
container_name: tm-live
|
||||
command: ["live", "--config", "/app/config.yaml"]
|
||||
environment:
|
||||
- TZ=Europe/Berlin
|
||||
- BINANCE_API_KEY=${BINANCE_API_KEY:-}
|
||||
- BINANCE_API_SECRET=${BINANCE_API_SECRET:-}
|
||||
- KRAKEN_API_KEY=${KRAKEN_API_KEY:-}
|
||||
- KRAKEN_API_SECRET=${KRAKEN_API_SECRET:-}
|
||||
- COINBASE_API_KEY=${COINBASE_API_KEY:-}
|
||||
- COINBASE_API_SECRET=${COINBASE_API_SECRET:-}
|
||||
- KUCOIN_API_KEY=${KUCOIN_API_KEY:-}
|
||||
- KUCOIN_API_SECRET=${KUCOIN_API_SECRET:-}
|
||||
- KUCOIN_PASSPHRASE=${KUCOIN_PASSPHRASE:-}
|
||||
restart: "no"
|
||||
Reference in New Issue
Block a user