Skip to Content
Large Language Models in Finance
book

Large Language Models in Finance

by Miquel Noguer i Alonso
July 2026
Intermediate
554 pages
18h 17m
English
Packt Publishing

Overview

''The hands-on guide to building, governing, and deploying production-grade LLM systems for finance.'' - Chorouk Malmoum, Founder, AgentX Academy Build production-grade LLMs, RAG, and AI agents for finance using practical code and case studies across trading, banking, risk, and compliance.

Key Features

  • Build production-ready financial LLM systems with RAG, fine-tuning, AI agents, and MCP
  • Apply LLMs to trading, investment research, banking, risk, fraud, compliance, and documents
  • Explore reasoning models, multimodal AI, time-series LLMs, and autonomous financial agents
  • Purchase of the print or Kindle book includes a free PDF eBook

Book Description

“This hands-on guide has given me valuable insights into building LLM systems, from data quality and model performance to applying RAG, fine-tuning, and AI agents in real-world financial use cases. I highly recommend it!”

Peggy Tsai, Executive Director, Data & AI/ML Enablement, JPMorganChase

Large language models are transforming finance, but production use requires more than prompting: numerical reasoning, timely data, leakage prevention, auditability, and regulatory and model-risk controls.

LLMs in Finance guides you through designing, evaluating, governing, and deploying financial LLM systems. Explore transformers, embeddings, attention, prompting, RAG, and fine-tuning, then apply them to investment research, trading, banking, fraud detection, credit, KYC, AML, compliance, and document intelligence.

Learn to build financial agents using tools, memory, retrieval, orchestration, and human oversight. Address time-series use cases, backtesting contamination, hallucinations, temporal validation, model risk, monitoring, and regulatory expectations.

By the end of this book, you'll have gained the practical skills to build scalable, auditable, production-ready LLM systems that meet business and regulatory requirements, supported by hands-on Python examples, real-world case studies, and a companion GitHub repository.

What you will learn

  • Understand LLM foundations for financial applications
  • Build financial LLM systems from ingestion to deployment
  • Fine-tune models with LoRA, QLoRA, RLHF, and DPO
  • Create RAG pipelines for financial documents and knowledge
  • Design autonomous agents and multi-agent finance workflows
  • Integrate LLMs securely with MCP and enterprise systems
  • Apply LLMs to trading, banking, risk, fraud, KYC, and AML
  • Evaluate and govern auditable financial AI with rigorous metrics

Who this book is for

This book is written for data scientists, quantitative analysts, portfolio managers, traders, fintech developers, AI engineers, software architects, banking professionals, compliance specialists, regulators, researchers, and graduate students who want to apply Large Language Models to finance. Readers should have a fundamental understanding of Python programming, machine learning, and financial markets. The book is equally suitable for practitioners building production AI systems and researchers interested in the mathematical foundations of financial LLMs.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Deep Learning for Finance

Deep Learning for Finance

Sofien Kaabar
Large Language Models: The Hard Parts

Large Language Models: The Hard Parts

Thársis T. P. Souza, Jonathan K. Regenstein Jr.

Publisher Resources

ISBN: 9781837024537