Orchestration Framework for Financial Agents: From Algorithmic Trading to Agentic Trading

Jifeng.LI, Arnav Grover, Abraham Alpuerto, Yupeng Cao, Xiao-Yang Liu

TL;DR

The paper presents FinAgent, an end-to-end multi-agent orchestration framework that translates each stage of a traditional algorithmic trading pipeline into modular AI agents. By enforcing a strict boundary between LLM reasoning (via protocols like MCP and A2A) and deterministic tool-based numerical execution, the system prevents lookahead data leakage while delivering risk-controlled trading performance across US equities and Bitcoin.

What Problem Does This Paper Address?

Traditional algorithmic trading (AT) pipelines span data engineering, alpha factor generation, risk management, portfolio optimization, execution, and post-trade attribution—a complex architecture usually built and maintained by specialized quant teams.

While Large Language Models (LLMs) excel at reasoning and code synthesis, deploying them directly into quantitative trading faces two major roadblocks:

  1. Low Signal-to-Noise Ratio & Hallucination: Raw financial time-series data quickly confuses text-centric models.
  2. Data Leakage & Overfitting: LLMs easily overfit when exposed to future evaluation data or feedback tied directly to test-set performance metrics (like Sharpe ratio optimization).

The authors address this by structuring the entire AT pipeline into cooperating agent pools that isolate LLMs to qualitative and structural factor design, delegating all raw numerical computations and backtesting to deterministic execution tools.

Methods

FinAgent maps the classical quantitative workflow into distinct agent roles orchestrated through a unified Directed Acyclic Graph (DAG):

  • Agent Hierarchy & Roles:
  • Data Agents: Ingest raw market data, handle timestamp alignment, anomaly correction, and feature extraction.
  • Alpha Agents: Formulate factor structures (e.g., cross-sectional momentum, order flow imbalances) using solely prior literature and training summaries. Crucially, they do not calculate returns or observe evaluation data.
  • Risk & Portfolio Agents: Apply risk gates (volatility caps, sector limits, drawdown cutoffs) and map alpha signals to target weights or long-flat allocations using convex solvers.
  • Execution & Backtest Agents: Simulate realistic execution (slippage, fees, bid-ask depth) and run walk-forward backtests behind closed evaluation boundaries.
  • Communication Protocols:
  • Model Context Protocol (MCP): Powers control messages between the central Orchestrator and agent pools with unified request/response schemas.
  • Agent-to-Agent (A2A): Facilitates inter-agent collaboration within pools using structured communicative acts (ask, tell, propose, confirm).
  • Memory Agent & Cryptographic UUIDs: A persistent memory module indexes runs via deterministic hashes (UUID = SHA256(role || task || params || time)). It records only non-invertible feature checksums and aggregate diagnostics, preventing test-set price leakage across rolling loops.

Datasets

The authors evaluate the framework across two distinct asset classes:

  1. US Equities: Hourly bars for a 7-stock universe (AAPL, MSFT, GOOGL, JPM, TSLA, NVDA, META) from September 2022 to January 2025 (test period: April 2024 – December 2024), sourced from Polygon and yfinance.
  2. Cryptocurrency: 1-minute intraday bars of BTC/USDT from Polygon/Binance, tested over a 17-day window (July 27, 2025 to August 13, 2025; ~23,500 observations).

Key Insights and Ideas

  • Strict Separation of Church and State (LLM vs. Tools): LLMs (such as GPT-4o) do what they do best—reasoning over factor hypotheses and orchestrating plans. They never compute numerical signals directly, nor do they ever see realized evaluation returns or Sharpe ratios.
  • Tighter Risk Profiles over Maximized Raw Returns: Rather than chasing maximum beta, the agentic risk and portfolio gates successfully prioritize capital preservation. The framework dampens volatility and limits drawdowns compared to standard benchmarks.
  • Reproducible Memory through Cryptographic Lineage: By treating memory states as immutable SHA-256 hashes of execution contexts, the framework ensures full auditability and prevents agents in later rolling windows from accessing evaluation labels from previous windows.

Key Results

  • US Stock Portfolio (Hourly):
  • Ours: 20.42% total return, 11.83% annualized volatility, 2.63 Sharpe ratio, and a maximum drawdown (MDD) of -3.59%.
  • Baselines: Outperformed the S&P 500 benchmark (SPY: 16.60% return, 1.86 Sharpe, -8.89% MDD) and broader market ETFs (QQQ, IWM, VTI). While an equally weighted portfolio achieved a higher raw return (47.46%), it did so at the expense of substantially higher volatility (22.54%) and drawdown (-16.21%).
  • BTC High-Frequency Trading (1-Minute):
  • Ours: 8.39% cumulative return, 0.378 Sharpe ratio, and -2.80% MDD across 17 trades (64.7% win rate).
  • Buy & Hold Baseline: 3.80% return, 0.170 Sharpe ratio, and -5.26% MDD (an excess return of +4.59 percentage points for the agent strategy).

Limitations and Future Work

  • Short Evaluation Windows: The cryptocurrency backtest spans only 17 days, and the stock universe is restricted to 7 mega-cap names. Longer multi-year evaluations across diverse market regimes (e.g., bear markets) are needed.
  • Ablation Studies: The paper lacks formal ablations isolating the exact marginal contributions of the memory module, MCP messaging, or individual agent types.
  • Future Directions: The authors plan to test longer horizons, implement adaptive planner updates under regime shifts, incorporate multimodal/unstructured signals (financial news and social sentiment), and release reproducibility benchmarks.

Summary updated

BibTeX
@inproceedings{jifengli2025orchestration,
  author = {Jifeng.LI and Arnav Grover and Abraham Alpuerto and Yupeng Cao and Xiao-Yang Liu},
  title = {{Orchestration Framework for Financial Agents: From Algorithmic Trading to Agentic Trading}},
  booktitle = {GenAI in Finance @ NeurIPS},
  year = {2025},
  url = {https://openreview.net/forum?id=gBX7JibXub},
}
Figure