Better coin velocity logic
This commit is contained in:
10
config.py
10
config.py
@@ -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; 50–65 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.
|
||||
|
||||
Reference in New Issue
Block a user