I need a reliable, self-hosted cryptocurrency trading bot that can automatically execute both scalping and swing trades. The core logic should: • Pull real-time order-book and tick data, then apply my scalping rules (tight spreads, small profit targets, hard stops) with millisecond-level latency where the exchange allows. • Track longer-frame indicators (EMA crossover, RSI, or similar) for swing entries and exits, taking position sizes I can set per pair. Because I may point the bot to Binance today and another major exchange tomorrow, keep the exchange layer modular—using CCXT, native REST/WebSocket SDKs, or a hybrid approach is fine as long as I can easily add credentials and enable/disable exchanges from a config file. Essential deliverables 1. Well-documented source code (Python preferred, but Node.js or Go is acceptable if the architecture is clear). 2. Sample config and environment files that let me plug in API keys, set risk parameters, and choose strategy presets. 3. A quick CLI or lightweight web dashboard that shows live PnL, open positions, and recent fills. 4. Back-test module (CSV or Pandas output is fine) so I can replay historical data and tweak parameters before going live. 5. Setup guide that gets the bot running in Docker or a clean virtualenv on Ubuntu 22.04. I’ll handle hosting and exchange keys; you focus on building clean, testable code with sensible logging, error handling, and basic unit tests so I can extend the strategies later.