Skip to content

Instantly share code, notes, and snippets.

"""
Merged pump_dump.py — Sandbox pump-scout sidecar for Kraken (USDT pairs)
This version combines your original PUMP_SCOUT logic with the requested upgrades:
A) Trend Filter: Checks 15m OHLC (Price > Short MA > Long MA) before entry.
B) Cooldowns: Bans specific pairs for X hours after a Stop Loss / heavy loss.
C) Risk Scaling: Adjusts position sizing based on Equity bands (<500, <1000, >1000).
D) Smart Exits: Dynamic SL based on ATR + smarter time-based exit.
E) Keeps: