Skip to content
TheChatArchiveThe Chat Archive
gpt-4.1-mini-2025-04-14· OpenAIAi2 WildChat-4.8M (AI2)

I want you to write me a prompt for another AI to make it create the most advanced…

  1. User

    I want you to write me a prompt for another AI to make it create the most advanced industrial grade bot fore the es/mes futures , As high profit factor, sharp and profitability as possible. With best in class industry grade Risk management best logic pattern recognitions entry exit atr profit stoip loss breakeven autotrail logic error handling backtesting and walkon optimization able. If you have any tricks to squeeze all the ai power and logic it has include that. I

  2. Assistant

    Certainly! Here’s a comprehensive, detailed prompt you can use to instruct another AI to create the most advanced, industrial-grade automated trading bot for ES/MES futures, incorporating cutting-edge technology, risk management, and optimization techniques:


    Prompt for Creating an Advanced Industrial-Grade ES/MES Futures Trading Bot:

    "Design and develop the most advanced, industrial-grade automated trading bot specifically for E-mini S&P 500 Futures (ES) and Micro E-mini S&P 500 Futures (MES). The bot must maximize profitability, achieve a high profit factor, and maintain sharp, consistent performance in live and simulated trading environments. It should be suitable for institutional-level deployment and adhere to best-in-class standards in trading strategy, risk management, and system robustness.

    Key Functional Requirements:

    1. Market and Data Handling:

      • Real-time multi-resolution price and volume data ingestion with minimal latency.
      • Incorporate tick-level, intraday, and daily data for hybrid analysis.
      • Support fundamental and technical data feeds if applicable.
    2. Strategy Generation:

      • Utilize state-of-the-art machine learning and statistical methods for pattern recognition, including but not limited to:
        • Deep learning (e.g., LSTM, Transformer architectures) for sequential modeling.
        • Reinforcement learning for dynamic adaptive strategy optimization.
        • Pattern recognition including price action, volume clusters, order book imbalances, and volatility regimes.
      • Generate entry and exit signals based on multi-factor, multi-time frame analyses.
      • Implement logic for scalping, swing trades, and trend following, dynamically adjusting mode based on market condition.
    3. Risk Management:

      • Incorporate rigorous, multi-layered risk controls including:
        • Dynamic position sizing based on volatility, ATR, and drawdown thresholds.
        • Adaptive stop loss, take profit, breakeven, and trailing stop logic that evolves based on recent market behavior.
        • Real-time drawdown monitoring with circuit breakers and forced flattening when thresholds exceed.
        • Max daily loss limits and account-level risk aversion parameters.
      • Sophisticated money management that balances win rate and reward/risk ratio without overfitting.
    4. Trade Execution:

      • Low-latency, order book aware execution engine minimizing slippage and market impact.
      • Smart order routing, adaptive order types (e.g., limit, stop-limit, iceberg), and partial fills handling.
      • Real-time monitoring of pending orders, error handling, and automatic retry or fallback logic.
    5. Backtesting & Walk-Forward Optimization:

      • Comprehensive backtesting framework with realistic slippage, commissions, and latency modeling.
      • Walk-forward optimization with out-of-sample testing periods to prevent overfitting.
      • Incorporate meta-optimization techniques (e.g., genetic algorithms, Bayesian optimization) to continually tune strategy parameters.
      • Stress testing on different market regimes (e.g., trending, sideways, high/low volatility).
    6. Error Handling & Robustness:

      • Full exception handling with fail-safes that gracefully degrade or halt the system in case of critical errors.
      • Logging with detailed diagnostics for every trade, decision point, exception, and system event.
      • Redundancy and watchdogs to recover automatically or notify operators as necessary.
    7. Performance Metrics Reporting:

      • Real-time and historical reporting of key performance indicators such as profit factor, Sharpe ratio, max drawdown, recovery factor, etc.
      • Visual dashboards for monitoring live trading and analytics.
    8. Scalability & Extensibility:

      • Modular architecture enabling future upgrades for new instruments, strategies, and data sources.
      • API integration capabilities for broker interfaces and external analytics systems.

    Optimization & AI Power Maximization Suggestions:

    • Use ensemble learning combining multiple models for entry/exit decisions to improve robustness.
    • Apply feature engineering with domain knowledge to capture latent market signals beyond raw price data.
    • Incorporate continuous learning or online learning to adapt to regime shifts and evolving market microstructure.
    • Include adversarial testing of the model against simulated market manipulations or rare events.
    • Employ explainable AI techniques to interpret trade decisions and build human trust.
    • Utilize parallel computing and GPU acceleration for faster backtests and hyperparameter tuning.

    Deliverables:

    • Complete source code with clear documentation.
    • Backtesting and walk-forward optimization modules.
    • Example live trading simulation.
    • User manual detailing configuration, risk management parameters, and operational guidelines.

    Please build the bot with cutting-edge AI and software engineering best practices, targeting professional and institutional-grade deployment standards, maximizing profitability and robustness for trading ES/MES futures."


    If you want, I can also help you convert this into an actual technical specification or code outline for development!