triqbit/mt5-ai-xauusd-trader — reverse-engineered prompt
Reverse engineered prompt
Build me a Python automated trading bot for MetaTrader 5 that focuses on XAUUSD gold trading. I want it to feel production ready, not just a toy script. It should have a simple command line flow for setup, checking the environment, showing safe config values, running in demo mode, and only allowing live trading after a clear confirmation.
Use AI and machine learning models for trade signals, including an ensemble approach, LSTM style models, and reinforcement learning options like PPO if possible. Add backtesting and model training hooks, plus clear trade explanations so I can see why a signal happened. Risk control is very important, with drawdown limits, daily loss limits, session filters, confidence checks, and circuit breakers.
Please include secure environment based configuration for MT5 login details, logging, trade history storage, health checks, tests, Docker support, and documentation for setup and deployment. Default everything to demo mode and make the system refuse unsafe live settings. Look up current docs online if you need to.
Want more depth? Deep Reverse