Customers who viewed this item also viewed
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the authors
OK
Hands-On AI Trading with Python, QuantConnect, and AWS 1st Edition
Purchase options and add-ons
Master the art of AI-driven algorithmic trading strategies through hands-on examples, in-depth insights, and step-by-step guidance
Hands-On AI Trading with Python, QuantConnect, and AWS explores real-world applications of AI technologies in algorithmic trading. It provides practical examples with complete code, allowing readers to understand and expand their AI toolbelt.
Unlike other books, this one focuses on designing actual trading strategies rather than setting up backtesting infrastructure. It utilizes QuantConnect, providing access to key market data from Algoseek and others. Examples are available on the book's GitHub repository, written in Python, and include performance tearsheets or research Jupyter notebooks.
The book starts with an overview of financial trading and QuantConnect's platform, organized by AI technology used:
- Examples include constructing portfolios with regression models, predicting dividend yields, and safeguarding against market volatility using machine learning packages like SKLearn and MLFinLab.
- Use principal component analysis to reduce model features, identify pairs for trading, and run statistical arbitrage with packages like LightGBM.
- Predict market volatility regimes and allocate funds accordingly.
- Predict daily returns of tech stocks using classifiers.
- Forecast Forex pairs' future prices using Support Vector Machines and wavelets.
- Predict trading day momentum or reversion risk using TensorFlow and temporal CNNs.
- Apply large language models (LLMs) for stock research analysis, including prompt engineering and building RAG applications.
- Perform sentiment analysis on real-time news feeds and train time-series forecasting models for portfolio optimization.
- Better Hedging by Reinforcement Learning and AI: Implement reinforcement learning models for hedging options and derivatives with PyTorch.
- AI for Risk Management and Optimization: Use corrective AI and conditional portfolio optimization techniques for risk management and capital allocation.
Written by domain experts, including Jiri Pik, Ernest Chan, Philip Sun, Vivek Singh, and Jared Broad, this book is essential for hedge fund professionals, traders, asset managers, and finance students. Integrate AI into your next algorithmic trading strategy with Hands-On AI Trading with Python, QuantConnect, and AWS.
- ISBN-101394268432
- ISBN-13978-1394268436
- Edition1st
- PublisherWiley
- Publication dateJanuary 29, 2025
- LanguageEnglish
- Dimensions7.1 x 0.9 x 10 inches
- Print length416 pages
Frequently bought together

Similar items that may deliver to you quickly
AI Options Trading with Python (Algorithmic Trading Masterclass)Kaito AmatsukiHardcoverFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Thursday, Mar 5
Machine Trading: Deploying Computer Algorithms to Conquer the Markets (Wiley Trading)HardcoverFREE Shipping by AmazonGet it as soon as Thursday, Mar 5
Generative AI for Trading and Asset ManagementHardcoverFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Thursday, Mar 5
Python for Algorithmic Trading: From Idea to Cloud DeploymentPaperbackFREE Shipping by AmazonGet it as soon as Thursday, Mar 5
Quantitative Trading: How to Build Your Own Algorithmic Trading BusinessHardcoverFREE Shipping by AmazonGet it as soon as Thursday, Mar 5Only 1 left in stock - order soon.
Python for Algorithmic Trading Cookbook: Recipes for designing, building, and deploying algorithmic trading strategies with PythonPaperback25% offLimited time dealFREE Shipping by AmazonGet it as soon as Thursday, Mar 520% Claimed
Customers also bought or read
- Quantitative Trading: How to Build Your Own Algorithmic Trading Business (Wiley Trading)
Hardcover$40.00$40.00FREE delivery Thu, Mar 5 - Python for Algorithmic Trading Cookbook: Recipes for designing, building, and deploying algorithmic trading strategies with Python
Paperback$44.99$44.99FREE delivery Thu, Mar 5 - Machine Learning for Algorithmic Trading: Predictive models to extract signals from market and alternative data for systematic trading strategies with Python
Paperback$44.98$44.98FREE delivery Thu, Mar 5 - Python for Algorithmic Trading: From Idea to Cloud Deployment
Paperback$44.49$44.49FREE delivery Thu, Mar 5 - Algorithmic Trading: Winning Strategies and Their Rationale (Wiley Trading)
Hardcover$47.00$47.00FREE delivery Thu, Mar 5 - 11 AI Inspired Algo Trading Strategies: Diversified Futures Trading Strategies Built For Today’s Markets (Essential Algo Trading Package)
Paperback$9.99$9.99Delivery Thu, Mar 5 - Python for Finance Cookbook: Over 80 powerful recipes for effective financial data analysis, 2nd Edition
Paperback$39.99$39.99FREE delivery Thu, Mar 5 - Quant Basics 101: A Beginner's Guide To Quantitative Trading
Paperback$35.00$35.00FREE delivery Thu, Mar 5 - Inside the Black Box: A Simple Guide to Systematic Investing (Wiley Finance)
Hardcover$34.51$34.51Delivery Thu, Mar 5 - Systematic Trading: A unique new method for designing trading and investing systems
Hardcover$44.13$44.13$3.99 delivery Mar 16 - 19 - Quantitative Momentum: A Practitioner's Guide to Building a Momentum-Based Stock Selection System (Wiley Finance)
Hardcover$26.22$26.22Delivery Thu, Mar 5 - Automated Stock Trading Systems: A Systematic Approach for Traders to Make Money in Bull, Bear and Sideways Markets
Paperback$13.97$13.97Delivery Thu, Mar 5 - Statistically Sound Indicators For Financial Market Prediction: Algorithms in C++
Paperback$49.95$49.95FREE delivery Thu, Mar 5 - Machine Learning for Asset Managers (Elements in Quantitative Finance)
Paperback$23.00$23.00Delivery Thu, Mar 5 - Hands-On Financial Trading with Python: A practical guide to using Zipline and other Python libraries for backtesting trading strategies
Paperback$46.99$46.99FREE delivery Thu, Mar 5 - Quantitative Portfolio Management: The Art and Science of Statistical Arbitrage
Hardcover$35.01$35.01$3.99 delivery Mar 16 - 19 - Machine Trading: Deploying Computer Algorithms to Conquer the Markets (Wiley Trading)
Hardcover$48.94$48.94FREE delivery Thu, Mar 5 - Modern Time Series Forecasting with Python: Industry-ready machine learning and deep learning time series analysis with PyTorch and pandas
Paperback$44.99$44.99FREE delivery Thu, Mar 5 - Investing for Programmers: Understanding markets through data and code
Paperback$50.28$50.28FREE delivery Thu, Mar 5 - Positional Option Trading: An Advanced Guide (Wiley Trading)
Hardcover$51.39$51.39FREE delivery Thu, Mar 5 - Trading Evolved: Anyone can Build Killer Trading Strategies in Python
Paperback$24.50$24.50Delivery Thu, Mar 5 - Reinforcement Learning for Finance: A Python-Based Introduction
Paperback$51.08$51.08FREE delivery Thu, Mar 5
From the brand
-
Make AI work for you.
From ChatGPT to agentic AI, quantum computing to prompt engineering, large language models, the ethics of AI, and beyond, Wiley has the guides you need to join the AI revolution and make artificial intelligence work for you.
-
AI & Finance
-
AI & Finance
From the Publisher
Modern, Hands-on Approach to AI in Trading
"Hands-On AI Trading with Python, QuantConnect, and AWS" is a practical guide that bridges the gap between AI theory and real-world trading applications. Focusing on intuition and hands-on experience, the book uses QuantConnect's cloud-based platform to streamline AI strategy development by avoiding technical complexities like data management or infrastructure setup. It covers a wide range of techniques, including machine learning, deep learning, and reinforcement learning, applied to practical trading scenarios. Printed in full color, it enhances understanding with detailed charts and code snippets, making advanced concepts accessible to both beginners and professionals in quantitative finance.
A Comprehensive Suite of Examples
Our book features over 20 complete AI trading algorithms, addressing key techniques like trend detection, regime classification, and reinforcement learning for optimal hedging. Examples progress from basic concepts to advanced applications using Python with TensorFlow, PyTorch, and scikit-learn, all on the QuantConnect platform for backtesting and live trading.
Technologies covered include Machine Learning (Random Forests, SVMs, Gaussian Processes), Deep Learning (CNNs, RNNs, Transformers), Reinforcement Learning, Natural Language Processing, Time Series Analysis, and Clustering.
Examples include: ML Trend Scanning with MLFinlab, Factor Preprocessing Techniques for Regime Detection, Reversion vs. Trending: Strategy Selection by Classification, Alpha by Hidden Markov Models, FX SVM Wavelet Forecasting, and more. Each includes detailed explanations, code, and discussions on practical considerations, equipping readers to master AI in quantitative finance.
Practically Introduces Quantitative Concepts
Our book goes beyond coding exercises, integrating key concepts like risk management, portfolio optimization, and corporate actions directly into AI trading strategies. We explore techniques like Corrective AI and Conditional Parameter Optimization to dynamically adapt strategies to volatile markets and demonstrate how AI can predict and capitalize on events like mergers and dividends. Emphasizing transaction costs, slippage, and real-world frictions, we ensure readers are equipped to transition seamlessly from backtesting to live trading with adaptive, robust systems.
Rich Additional Content and Community
To enhance the value of our book, we provide extensive resources, including a GitHub repository with all code examples, actively maintained for compatibility with QuantConnect and Python libraries. Readers can engage with a vibrant community through forums, webinars, and social media, fostering collaboration and continuous learning. Additional online resources, such as extended datasets, articles, and video tutorials, dive into advanced topics and emerging AI trading trends. Our close ties with QuantConnect ensure readers have access to the platform’s latest features, creating a comprehensive learning experience that blends cutting-edge techniques, practical finance concepts, and a supportive ecosystem.
Editorial Reviews
From the Inside Flap
Revolutionize Your Trading with Artificial Intelligence
Hands-On AI Trading with Python™, QuantConnect™, and AWS™ is a comprehensive guide that bridges the gap between cutting-edge artificial intelligence and the dynamic world of quantitative trading. The authors, Jiri Pik, Ernest P. Chan, Jared Broad, Philip Sun, and Vivek Singh, deliver a practical, data-driven roadmap to modern algorithmic trading, featuring over 20 fully implemented real-world examples to ignite your creativity and serve as a launchpad for your ideas.
This book demystifies the complexities of algorithmic trading by leveraging QuantConnect™ to backtest, optimize, and deploy trading strategies. Unlike conventional resources, this book provides fully implemented Python™ examples, empowering you to focus on innovation over infrastructure.
What’s Inside?
The book is packed with practical ways to set up data and use AI models in your trading, including Support Vector Machines for price trend forecasting, Convolutional Neural Networks (CNNs) for pattern recognition in stock prices, Markov Chains for dynamic asset allocation, Gaussian Naive Bayes for risk classification, and Reinforcement Learning for optimal trading strategies.
Technologies are illustrated with real-world examples, including mean-reversion pairs trading strategies, momentum-based equity trading strategies, volatility-based options strategies, dynamic hedging, portfolio optimization, and asset class selection using Principal Component Analysis (PCA).
Accompanied by a GitHub repository with source code and strategy results, readers can rapidly test, refine, and experiment with strategies.
Who Should Read This Book?
Whether you’re a seasoned hedge fund professional, an asset manager, or a graduate student in finance, Hands-On AI Trading with Python™, QuantConnect™, and AWS™ equips you with actionable tools to integrate AI into your trading workflows. This book is essential for anyone aiming to excel in today’s competitive financial markets.
Take control of your trading future today― get your copy and leverage AI to transform your strategies.
From the Back Cover
Praise for HANDS-ON AI TRADING
“A must-have for algorithmic traders and students, this book emphasizes designing trading strategies with QuantConnect™. Featuring Python™ examples and advanced AI/ML models, it offers a clear and accessible presentation ideal for anyone in quantitative finance.”
―PETTER N. KOLM, Professor, Courant Institute of Mathematical Sciences, New York University; Awarded “Quant of the Year” in 2021
“This concise guide provides a gentle introduction with hands-on examples and expert insights into dissecting and evaluating trades from seasoned traders. The code will make otherwise complex or confusing examples clear. It is an excellent springboard for developing your own strategies.”
―MICHAEL ROBBINS, Author of Quantitative Asset Management
“This is the book I wish I had when starting out, it would have saved me years! It offers rare insights and practical tutorials, allowing the next generation of quants to stand on the shoulders of giants.”
―JACQUES JOUBERT, Quant Researcher and Developer, Co-Founder and CEO of Hudson and Thames Quantitative Research
“The book ties both theory and industry together while providing code, output, and a platform to implement AI models in a trading environment. Cookbook style makes it a great book for those new to machine learning and AI in quantitative finance.”
―DIMITRI BIANCO, Head of Quant Risk and Research, Agora Data, Inc.
“As a novice trader myself, I have been looking for ways to apply AI in real-world trading scenarios. This book does an excellent job in explaining trading concepts and mapping these to AI concepts to build trading strategies. A must-read if you want to use AI for building wealth.”
―RAJNEESH SINGH, Director, Amazon SageMaker
“This book is an excellent resource for learning machine learning and AI for quantitative trading. The authors’ practical guidance helps in creating strategies, building portfolios, and managing risks with QuantConnect’s™ support.”
―JASON JIE SHENG LIM, CFA, FRM, Risk Data Scientist
“This comprehensive guide masterfully bridges the gap between AI technology and practical trading applications, offering finance professionals valuable insights for developing robust, data-driven trading strategies.”
―CHRIS BARTLETT, CEO, Algoseek.com
About the Author
JIRI PIK: Founder and CEO of RocketEdge.com. A software architect and cloud computing expert, Jiri Pik specializes in designing high-performance trading systems. He has decades of experience in financial technologies and has worked with some of the world’s leading financial institutions, including Goldman Sachs and JPMorgan Chase.
ERNEST P. CHAN: A pioneer in applying machine learning to quantitative trading, Ernest P. Chan founded Predictnow.ai and QTS Capital Management. He is author of books such as Quantitative Trading and Machine Trading.
JARED BROAD: Founder and CEO of QuantConnect™, Jared Broad has empowered over 300,000 algorithmic traders worldwide with a platform that simplifies strategy design, backtesting, and live deployment.
PHILIP SUN: CEO and Co-founder of Adaptive Investment Solutions, LLC, and a seasoned quantitative fund manager, Philip Sun and his team focus on building state-of-the-art AI-driven risk management platform for wealth advisors and institutional investors.
VIVEK SINGH: A product leader at Amazon Web Services (AWS), Vivek Singh spearheads the development of large language models (LLMs) and Generative AI applications, bringing cutting-edge AI technologies to the trading domain.
Product details
- Publisher : Wiley
- Publication date : January 29, 2025
- Edition : 1st
- Language : English
- Print length : 416 pages
- ISBN-10 : 1394268432
- ISBN-13 : 978-1394268436
- Item Weight : 2.3 pounds
- Dimensions : 7.1 x 0.9 x 10 inches
- Best Sellers Rank: #146,629 in Books (See Top 100 in Books)
- #220 in Investment Analysis & Strategy
- #242 in Business & Finance
- Customer Reviews:
About the authors

Ernest Chan (Ernie) is the founder and chief scientific officer of Predictnow dot ai, a machine learning SaaS and consultancy for risk management and adaptive optimization. He started his career as a machine learning researcher at IBM’s T.J. Watson Research Center’s Human Language Technologies group, which produced some of the best-known quant fund managers. He was also one of the first few employees of Morgan Stanley’s AI group. He is the founder and non-executive chairman of QTS Capital Management, a quantitative CPO/CTA, and the acclaimed author of several books on quantitative trading, all published by Wiley. He obtained his PhD in physics from Cornell University and his BS in physics from the University of Toronto.

Jiri Pik is a leading innovator in the field of algorithmic trading. With extensive experience in the financial industry, Jiri has established himself as a true expert in developing and implementing cutting-edge trading strategies. He is the author of two highly acclaimed books, "Hands-On Financial Trading with Python" and "Hands-On AI Trading with Python, QuantConnect, and AWS," both of which have become indispensable resources for traders and developers seeking to master the art of automated trading. Jiri's passion for sharing his knowledge and empowering others has made him a sought-after speaker and educator in the field.

Philip Sun is a fintech entrepreneur, teacher of mathematical finance, quant trader and hedge fund manager and leader of research and investment teams with over 27 years of professional experience. Philip currently is the CEO and cofounder of Adaptive Investment Solutions, LLC; and an adjunct professor, teaching Algorithmic and High-Frequency Trading in the Master of Science in the Master of Science in Mathematical Finance & Financial Technology program at Boston University.
Philip holds an MBA from the Wharton School of University of Pennsylvania, PhD in Physics from Carnegie Mellon University, and Dual Bachelor Degree in Mathematics and Physics from Stony Brook University.

New Zealand biomedical engineer living in Miami. CEO and founder of QuantConnect. QuantConnect empowers quants, independent investors, and trading firms to build institutional caliber quantitative trading strategies for 1% of the cost.
We embrace a radical, fully open-source philosophy - building an ecosystem of 300,000 engineers and funds who leverage our technology to quickly and affordably do sophisticated analysis. Our open-source engine, LEAN, will be the operating system powering quantitative investment funds.

Vivek Singh is a Product leader at Amazon Web Services (AWS). He leads the development and growth of large language models (LLMs) and Generative AI application evaluation services, at AWS, to enable enterprises build scalable generative AI applications and improve AI safety, trust and responsible use. His area of expertise in technology, lies in LLM architectures, model evaluation, machine learning, pre-training and fine-tuning techniques. Prior to AWS, Vivek built his investment experience working at a large hedge fund, performing fundamental stock analysis, and covering multiple sectors including aerospace and defense, online retail, and travel and lodging. Vivek is passionate about using technology to democratize finance by spreading awareness and education on financial concepts and the power of investing in improving financial health and security for everyone. His field of interest in investing, lies in macroeconomics, fundamental stock analysis and value investing.
Products related to this item
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonReviews with images
It is a great book with a lot of real-life trading strategy scenarios
Top reviews from the United States
There was a problem filtering reviews. Please reload the page.
- Reviewed in the United States on March 10, 2025Format: HardcoverVerified PurchaseOne of the most practical books I've come across in the quant trading space! It provides a hands-on approach to learning QuantConnect, Python, AI, and real-world trading strategies.
- Reviewed in the United States on March 12, 2025Format: HardcoverVerified PurchaseShows the infinite possibilities in trading today with a platform like Quantconnect.
- Reviewed in the United States on March 10, 2025Format: HardcoverVerified PurchaseGreat book
5.0 out of 5 starsGreat bookIt is a great book with a lot of real-life trading strategy scenarios
Reviewed in the United States on March 10, 2025
Images in this review
- Reviewed in the United States on March 7, 2025Format: KindleVerified PurchaseThis was such a disappointment after page 2, once I realized it was a sales pitch for the QuantConnect platform. The chapter on AWS was trivial and worthless. I loved their cost estimate of running cost $8500 per month. No one that buys this book would have that kind of money to spend.
- Reviewed in the United States on February 26, 2025Format: HardcoverVerified PurchaseSo far it is great but a bit disappointed with print quality of figures. Hard to read.
So far it is great but a bit disappointed with print quality of figures. Hard to read.
Images in this review
- Reviewed in the United States on October 29, 2025Format: HardcoverVerified PurchaseA book like this should focus on giving you some basic strategies first to whet the appetite while introducing the important concepts. Rather this book begins by telling you everything less interesting, the kind of things that you would count as noise towards achieving your goal.
In other words, this book is a manual, not an interesting lecture by a popular professor. Hence its hard to read for beginners. ChatGPT will do a better job instead of this book in achieveing one's goals.
There is also lot of unnecessary information in the first few chapters which I do not understand why it was even mentioned in the book.
Lastly, the language is hard to absorb. I had to read many sentences multiple times and yet I could notnunderstand what they meant.
All in all, I decided to return the book after reaching end of second chapter and glancing over the next few ones.
- Reviewed in the United States on February 10, 2025Format: HardcoverVerified PurchaseThe information shared to learn techniques.
- Reviewed in the United States on March 15, 2025Format: HardcoverVerified PurchaseI have mixed feelings on this one. I like Ernest Chan's work, but he's just a coauthor on this with several others, and I'm not sure what each author's contribution was, since it's no indicated in the text.
I agree with other reviewers that this is too focused on quantconnect, but that's not necessarily a bad thing if you're ok using that platform.
In Chapter 6, which contains a bunch of example strategies and analysis, I'm left disappointed with the discussion. Many times the results are just presented in a graph, without actual discussion in text of the results. Moreover, many of the strategies actually are losers, but it's not mentioned in the text; instead you can only tell by looking at the figures. I've fine with authors presenting negative results, but there should be discussion at the end of each strategy regardless of outcome. Similarly, I don't find the analysis to be very rigorous. Sometimes the analysis is run just on a single stock symbol, no idea how it does on other symbols. Similarly, they don't show good choices of comparison baseline in many instances. There's one algorithm that does stock selection from the S&P500 universe based on volume, and then weights a portfolio of the selected stocks. The S&P500 is used as the baseline, but also they should have plotted another baseline of an equally-weighted portfolio to separate the effect of stock-selection from weight-selection. Missing this sort of thing is pretty sloppy in my view.
Top reviews from other countries
Minh NguyenReviewed in the United Kingdom on November 24, 20255.0 out of 5 stars A very useful reference book for quickly getting up to speed with QuantConnect
Format: HardcoverVerified PurchaseThis is a very useful reference book for those beginning to learn about trading strategies and looking to test them on QuantConnect like myself. I appreciate its lightweight approach, focusing on practical application rather than delving deeply into complex mathematical details—details that readers can easily explore on their own.
-
K.BinderReviewed in Germany on January 30, 20265.0 out of 5 stars High level trading and programming with python
Format: HardcoverVerified Purchasedies Buch vermittelt eine wunderbare Ideenlandschaft fürs trading und programmieren
RafReviewed in Italy on June 27, 20251.0 out of 5 stars Useless, not rigorous. Wasted money (just nice a sexy title for a book on the personal library)
Format: HardcoverVerified PurchaseThe worst and useless book ever. I try to not provide negative reviews in general but I must in this case. Unfortunately is too late to send it back, but this book is not worth the money I spent for it. The only nice stuff is its title and nothing else. The quality of the figures is extremely low and the book content is just copy paste of some python codes without any real explanation or rational. There is also no explanation about how use QC for trading (the main reason why I buy it), only the link to QC website with few sentences. The content is not rigorous and very bad explained. It is clear that this text has never been peer reviewed. In sum, it is useless to both experts and beginners. 300 pages just because big figures and copy paste of codes with very large font size. Almost zero content. Don’t waste your money, it is very sad to see practitioners writing so low quality book. It is surprising that Wiley allowed this publication in general.
Amazon CustomerReviewed in India on October 31, 20255.0 out of 5 stars Quant trading
Format: KindleVerified PurchaseExcellent write with practical orientation.
JasonReviewed in Singapore on April 2, 20255.0 out of 5 stars A must-read book for all interested in using AI for trading and portfolio construction
Format: HardcoverVerified PurchaseThis book is a must-read for anyone looking to master AI-driven trading strategies. It offers clear, step-by-step examples with complete code reference. The book provides practical insights that are both innovative and immediately applicable. Highly recommended for professionals and enthusiasts alike.














![The Candlestick Trading Bible [50 in 1]: Learn How to Read Price Action, Spot Profitable Setups, and Trade with Confidence Using the Most Effective Candlestick Patterns and Chart Strategies](https://m.media-amazon.com/images/I/51JozcNDI6L._AC_SR100,100_QL65_.jpg)



![Options Trading [All-in-1]: 34 Techniques, Tactics, & Strategies to Profit in the Financial Markets. The Ultimate In-Depth Guide for Beginners. Analyze, Execute, & Reduce Risks to Grow Your Net Worth](https://m.media-amazon.com/images/I/51kLgPS9xnL._AC_SR100,100_QL65_.jpg)

