This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| 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: |