Better coin velocity logic

This commit is contained in:
2026-05-16 00:08:45 -04:00
parent fe5fb5f3f1
commit 3394392e49
4 changed files with 114 additions and 33 deletions

View File

@@ -45,6 +45,16 @@ class Config:
# Prevents immediately re-entering a coin whose momentum has stalled or reversed.
sold_cooldown_hours: float = 4.0
# ── Velocity / momentum quality filters ──────────────────────────────────
# RSI (14-period, hourly candles): skip coins that are already overbought.
# Above 70 = likely exhausted move; 5065 is the sweet spot for entry.
rsi_period: int = 14
rsi_max: float = 70.0
# Recent momentum: the coin must also be up over the last N hours, not just
# on the day. Filters coins that spiked early and have since stalled/reversed.
recent_candles: int = 2
# ── Execution ────────────────────────────────────────────────────────────
# ALWAYS start with paper_trading=True and verify behaviour before going live.
# Set to False only after you understand the bot's decisions.