
The emergence of Alpha Arena caused a stir in the quantitative trading community. Watching those AI models chase each other on the leaderboard—DeepSeek leading today, Qwen overtaking tomorrow, and Grok even dominating the early stages—this phenomenon sparked an interesting thought: since each AI has its own unique “personality” and strengths, why can’t we build a system that lets them compete in real-time within the same trading environment, then dynamically select the best-performing model to execute actual trades?
This idea sounds a bit crazy, but when you think about it carefully, it makes a lot of sense. Traditional quantitative strategies often rely on a single logical framework, while the diversity of AI models offers us new possibilities. Using the automation tools from the FMZ Quant (Inventor Quantitative Trading Platform) workflow, we implemented this idea and built a complete “AI Internal Competition Trading System.”

The system selected four AI models with distinctly different personalities as trading participants:

Each AI receives the same market data input but generates independent trading decisions based on their respective training backgrounds and reasoning approaches. This design ensures strategy diversification and avoids the cognitive blind spots that a single model might have.
The core innovation of the system lies in introducing a real-time ranking mechanism. Each AI can see its current ranking among all models, and this “competitive pressure” is conveyed through carefully designed prompts:
This psychological suggestion mechanism allows AI models to exhibit different trading styles under varying pressure states, thereby increasing the strategy’s adaptability.
The clever aspect of this design lies in adopting a dual-layer trading architecture:

Virtual Trading Layer: All AI models trade in a paper environment, calculating their respective profit/loss performance and ranking changes in real-time
Live Execution Layer: The system automatically identifies the best-performing model and synchronizes its virtual position state to the actual trading account
This design both ensures capital safety and achieves dynamic strategy optimization, avoiding the risk of letting unverified AI directly operate real funds.
The system provides each AI with market data across three dimensions:
Each timeframe contains the latest 10 values of core technical indicators including RSI, MACD, ATR, OBV, ensuring that AI can comprehensively understand the current market state and historical evolution process.
To ensure decision consistency and comparability, the system defines five standardized trading actions:
const actions = [
"OPEN_LONG", // Open long position
"OPEN_SHORT", // Open short position
"CLOSE_LONG", // Close long position
"CLOSE_SHORT", // Close short position
"NO_ACTION" // No action for now
];
Each decision must be accompanied by a concise analytical rationale, which both allows tracking of the AI’s thinking process and provides data support for subsequent strategy optimization.
The system continuously monitors the virtual trading performance of all AI models, employing a simple and effective survival-of-the-fittest mechanism:
// Find the currently best-performing model
let bestModel = null;
let bestPnl = currentThreshold;
models.forEach(model => {
if (model.realizedPnl > bestPnl) {
bestPnl = model.realizedPnl;
bestModel = model.name;
}
});
Once a new “champion” model is discovered, the system immediately switches the live trading following target, ensuring that capital always follows the best-performing strategy.
Through long-term observation, it was found that different AI models indeed exhibit distinct “personalities”:
The system provides a real-time monitoring dashboard across four dimensions:
Introducing competitive psychology into the AI decision-making process is an interesting experiment. Through observation, it was found that this kind of “psychological suggestion” can indeed influence AI decision-making styles. Leading AIs behave more steadily, while lagging AIs exhibit stronger aggressiveness. If you’re interested in prompt design techniques, I could separately share some insights on “how to elegantly put pressure on AI.”
Compared to traditional static strategies, this system can automatically switch to the best-performing AI model according to market environment changes, achieving dynamic strategy evolution. This adaptability has important value in rapidly changing financial markets.
| Item | Status Description |
|---|---|
| DeepSeek | Daily MACD golden cross at bottom, clear trend, strategy is actively seeking major profit opportunities, strengthening leading advantage |
| Qwen | 15-minute MACD continues to strengthen, RSI not in overbought zone and OBV steadily rising. Shows strong intraday technical signals consistent with going long without current positions. Has favorable risk-reward ratio, aligns with goal of aggressively chasing gains |
| Claude | MACD turning positive, 5-minute MACD positive, RSI rising, current long position profitable. Continue holding to pursue more gains, maintain bullish tracking, catch up on ranking gap |
| Grok | Short-term MACD trend strongly positive (5.15) but insufficient confirmation, 5-minute RSI (58.65) but MACD ratio (27.27) shows weakening short-term rebound momentum, current long position floating profit about $111 USDT. With technical signals continuing upward, lock in profits, avoid giving back gains, lagging behind by 241 USDT, need to actively follow and compete for bottom rebound |
The decision rationale of each AI is fully recorded and displayed, breaking through the common “black box” problem in algorithmic trading. This transparency not only facilitates subsequent strategy optimization but also provides valuable data for understanding AI decision-making logic.
The system currently employs four AI models, and this choice is mainly based on the following considerations:
The system architecture supports flexible expansion and can add or replace AI models according to actual needs.
This is the biggest technical challenge currently faced. Each AI model requires several seconds to tens of seconds of inference time, which may miss the best entry timing in a fast-paced trading environment. In actual trading, there are often discrepancies between decision prices and execution prices. This problem needs to rely on overall improvements in AI inference speed and more efficient parallel processing mechanisms to resolve.
The system is more suitable as a proof-of-concept and research tool rather than for direct use in large-scale live trading. Although it performs excellently in strategy testing and AI behavior analysis, practical application still needs to consider factors such as latency, cost, and stability.
The multi-AI model competition trading system represents a meaningful exploration of the deep integration between quantitative trading and artificial intelligence. By having different AI models compete in a virtual environment, we can not only discover the unique advantages of each model but also build intelligent trading strategies that dynamically adapt to market changes. Although the current system still has technical limitations, this exploration provides valuable insights and experience for the future development of intelligent trading systems. With the continuous advancement of AI technology and the ongoing improvement of computing power, we believe such systems will play an increasingly important role in the field of quantitative trading.
For interested developers and researchers, you are welcome to further improve and experiment based on the open-source code. The charm of quantitative trading lies in the fact that there are always new possibilities waiting to be explored, and AI model competition is just an exciting starting point in this journey of exploration.
The Workflow Strategy: https://www.fmz.com/strategy/516727