Fee buffer and error isolation

This commit is contained in:
2026-05-04 09:44:31 -04:00
parent 9285b303d0
commit 7dd0917d15
2 changed files with 11 additions and 5 deletions

View File

@@ -23,6 +23,7 @@ class Config:
# Portfolio limits
max_positions: int = 5 # Maximum concurrent holdings
min_order_usd: float = 15.0 # Kraken minimum is ~$10; keep a small buffer
taker_fee_pct: float = 0.4 # Reserve this % per order for Kraken's taker fee (actual ~0.26%)
# ── Risk management ──────────────────────────────────────────────────────
# Trailing stop: sell if price drops this % below its peak since purchase.