Four essential texts · Thirteen notebooks · One governed architecture

Algorithmic Trading in the Age of Artificial Intelligence

Build the institution. Govern the intelligence.

From quantitative trading strategies to autonomous AI research systems. Explore the book, executable notebooks, QuantConnect implementation, and governed assistant that connect market data, machine learning, portfolios, execution, and independent risk.

The architectural premise

Intelligence needs
an institution.

A prediction is only the beginning. A useful autonomous system must know which evidence it can trust, which procedures it may invoke, how to challenge a result, when to stop, and who remains responsible. This project makes those obligations part of the design.

01

Perceive

Establish controlled data, point-in-time features, provenance, and reproducible evidence.

02

Reason

Compare models and strategies. Use bounded LLM planning to select approved research capabilities.

03

Execute

Translate proposals into portfolios and backtests with explicit costs, timing, and constraints.

04

Govern

Preserve independent risk, falsification, audit, authority boundaries, and human judgment.

The reading collection

Four texts.
One cumulative argument.

Enter through the conceptual overview, follow the executable methodology, then explore the two implementation bridges. Each text addresses a different question in the same architecture.

Book · The foundation

Think. Build.
Use and improve.

The complete conceptual overview of an autonomous algorithmic trading system, connecting traditional quantitative finance with tools, skills, agents, governance, and the ten-day engineering record.

Architecture · Methods · Engineering diary

Read the book ↗
Paper · The methodology

Building an autonomous quantitative research system

A pedagogical explanation of NB00–NB10: why each notebook exists, how its methods work, and what it contributes to the institution.

Objectives · Methods · Executable evidence

Read the notebook paper ↗
Paper · The platform bridge

From research
to QuantConnect / LEAN

A thorough analysis of NB07 and the translation from Colab research to event-driven execution, including model competition, portfolio construction, risk, and reconciliation.

Semantic compilation · Platform mechanics

Read the QuantConnect paper ↗
Paper · The assistant

From notebooks
to a governed assistant

The final transition: preserve the research discipline in an invokable assistant, with a canonical specification, a worked mission example, and detailed installation guidance.

Agent design · State machine · Installation

Read the assistant paper ↗

The executable collection · 13 notebooks

Learn the system
by building it.

Begin with NB00A, NB00, and NB00B. Continue through NB01–NB06, then NB08–NB10. Study NB07 separately after the integrated research sequence, so platform engineering does not interrupt the learning progression.

01 · Foundations

Establish the world and the first complete decision

02 · Capabilities

From quantitative methods to a coordinated institution

NB01

Models, Strategies, and Portfolios

Compare heterogeneous models, trading rules, and portfolio methods under common evaluation discipline.

03 · Integration

Bring quantitative tools and LLM reasoning together

NB08

Integrated Quantitative Research

Connect actual model execution, strategy comparisons, portfolios, and risk to dynamic orchestration.

04 · Platform bridge

Preserve the method inside QuantConnect

NB07

The QuantConnect / LEAN Bridge

Translate the research specification into an event-driven backtest with costs, independent risk, and provenance.

The discipline that survives

Autonomy within
an explicit
mandate.

The LLM proposes and interprets. Quantitative tools calculate. Independent risk challenges. Governance constrains. Humans decide.
Evidence before claimsKeep data, assumptions, configurations, and results traceable. Missing evidence remains missing.
Authority before actionA planner may choose approved tools; it cannot grant itself new permissions.
Challenge before promotionStress, falsification, and independent risk determine what survives the research process.
Accountability throughoutResearch completion, platform validation, and deployment authorization remain separate decisions.

Two implementation routes

Take the method
into practice.

Use the platform package to study the generated backtest. Use the assistant bundle to install the research workflow or develop its executable runtime. The available evidence and remaining integration work are explicit.

Route 01 · QuantConnect / LEAN

From specification
to platform behavior.

A reference implementation with 30 U.S. equities, five competing model families, monthly training, cross-sectional long/short signals, portfolio constraints, and audit artifacts.

Start with the package guide, add the supplied algorithm and configuration to a QuantConnect Python project, and run a backtest. Reconcile platform behavior with the research contract.

Current evidence
Local checks are recorded as passed. QuantConnect compilation and backtesting are recorded as NOT_RUN. Live mode is denied.
Explore the QuantConnect package ↗
Route 02 · ChatGPT-based autonomous research assistant

State the mission.
Preserve the discipline.

An autonomous research assistant configured within a dedicated ChatGPT Project. Canonical instructions and knowledge files establish its governed workflow. States S0–S11 connect mission admission, research evidence, independent risk, critique, LEAN packaging, and audit closure.

Follow the installation manifest and acceptance tests. Developers can extend the accompanying Python runtime with validated notebook capabilities.

Current implementation
The ChatGPT bundle provides procedural guidance. The Python runtime is a scaffold: quantitative handlers and an operational LLM adapter still require integration.
Explore the assistant bundle ↗

An illustrative first mission

“AIAT mission: compare a 20-day momentum rule with approved predictive models in the governed synthetic-equity universe. Preserve chronological validation, transaction costs, independent risk, and audit evidence. First identify the current state, missing artifacts, and the next permissible transition. Live authority: none.”

Choose your starting point

One collection.
Several ways in.

The materials support conceptual study, hands-on experimentation, platform implementation, and assistant development. Start with the question you want to answer.

01

Understand

Study the complete conceptual architecture and the reasoning behind its controls.

03

Implement

Understand how a governed research design maps to event-driven platform behavior.

Intellectual and academic direction

Alejandro Reynoso

This project brings quantitative finance, machine learning, software architecture, autonomous systems, and institutional governance into one cumulative research and teaching program.

Its ambition is to make the entire process understandable and inspectable: from the first research question to the evidence that supports an implementation decision.

AI-assisted, human-led. AI tools were used at various stages, including research assistance, coding, debugging, writing, editing, and explanatory material. Intellectual direction, guidance, methodological choices, editorial judgment, and responsibility remain with Alejandro Reynoso and any explicitly credited human co-authors for their contributions.

Research and education. Synthetic-market results do not establish a real-market investment edge. The supplied architecture denies live-trading authority. The repository is released under the MIT License; third-party materials retain their respective licenses.