Skip to content
All library documents

Evaluating a SEAL-Trained LLM Trading Agent with Forward Testing

Article MQL5 articles

Summary

This article outlines a foreign-exchange forecasting system that combines a fine-tuned Llama language model with a Self-Evolving Adversarial Learning agent. It describes building labeled examples from MetaTrader data, balancing upward and downward classes, and reserving a later period for forward testing to reduce leakage. Inputs include technical features such as RSI, MACD, ATR, Bollinger Band position, and stochastic values. The system uses a confidence threshold to decide whether to trade and applies risk controls in its experimental setup.

The article’s most useful result is its negative conclusion: forecasts and reinforcement-learning adaptation did not produce a reliable trading edge when judged by trading outcomes. It argues that optimizing direction prediction separately from execution, costs, and adverse outcomes can fail to translate into profit and calls for objectives based directly on the distribution of trade results. The evidence is limited to the author’s described experiment; the excerpt gives no detailed performance statistics. It also reports different training-period descriptions in different sections, and labels derived from future moves should not be mistaken for calibrated confidence probabilities.

Key ideas

  • The proposed architecture combines a fine-tuned language model with adversarial self-play and evolutionary learning.
  • Dataset construction balances direction classes and reserves later observations for a separate forward test.
  • Technical indicators and market measurements form structured inputs for the model’s forecasts.
  • The article reports that forecasting and a subsequent learning layer did not establish a trading edge.
  • It argues that learning objectives should account for trade outcomes, risk, costs, and adverse price paths.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.