inflearn logo

The Secret of Algorithmic Trading: How AI Predicts Stock Prices

Build your own powerful stock analysis model that uses AI to analyze over 40 types of economic indicators and stock price data to predict not only the S&P 500 and QQQ ETF, but also individual stocks!

(4.6) 40 reviews

481 learners

Level Basic

Course period Unlimited

Deep Learning(DL)
Deep Learning(DL)
Python
Python
transformer
transformer
lstm
lstm
Financial Technology
Financial Technology
Deep Learning(DL)
Deep Learning(DL)
Python
Python
transformer
transformer
lstm
lstm
Financial Technology
Financial Technology

Reviews from Early Learners

4.6

5.0

moljin

95% enrolled

I listened to the Backtest Research and Algorithm Trading courses continuously. I ran the provided code while taking the courses. As a non-developer who has only built web applications using Python web frameworks (Django, Flask, FastAPI)... there were quite a few parts that were a bit difficult for me to fully follow. Since I don't work in this field... I lack experience..., and I don't have much experience trading stocks either, so the lack of basic knowledge in both areas made it more challenging, but it was still sufficient for getting ideas. If I watch it multiple times and gradually build up my related background knowledge, something will work out. I remember when I first started coding with Python through self-study, it also took time to get on track. I hope there will be an algorithm trading course related to the Korean stock market as well. Thank you.

5.0

조남오

100% enrolled

I knew that using statistics to predict stock prices was reasonable, but it was great to learn the detailed process of actually creating a program. Of course, I don't have the ability to program it myself yet, but through this course, I've gained confidence in automated trading programs for the future. I will watch the lectures repeatedly and work hard to understand them. Thank you.

5.0

crimsonpath

100% enrolled

I took this course because I'm very interested in stocks, and I found the content to be compact, practical, and quite relatable. Beyond the indicators covered here, I've even thought of other indicators I'd like to add myself, and I plan to analyze stocks I'm interested in more deeply. Overall, I was satisfied with the course's neatness and richness, and I hope a lecture on automated stock trading comes out soon!

What you will gain after the course

  • 📊 U.S. Stock Prediction Using AI Deep Learning: Build your own AI model to predict the prices of the S&P 500, QQQ ETF, and individual stocks using LSTM & Transformer models.

  • 📈 Data-driven stock analysis and use of economic indicators: Learn how to retrieve economic indicators and stock price data from the FRED API and Yahoo Finance and develop AI-based investment strategies.

  • 🤖 Implementing a Deep Learning-Based Stock Price Prediction Model: Design and optimize an AI prediction model that combines stock price data and economic indicators using LSTM and Transformer models.

  • 📊 AI Prediction Results Visualization and Performance Evaluation: Compare the stock price trends predicted by AI with actual stock prices and analyze performance using metrics such as MSE, RMSE, and MAPE.

  • 🚀 Hands-on Project-Based Learning: Train AI models using real-world financial data, then build your own stock price prediction system and apply it to real-world investment analysis.

[The Secrets of Algorithmic Trading] Real Reviews from Students

"The essential course for mastering both coding and finance"

"I knew that predicting stock prices using statistics was reasonable, but it was great to learn in detail how to actually build a program. This course gave me confidence in automated trading programs." - Mr. Cho Nam-oh

"I enrolled because I was very interested in stocks, and the content is compact and practical. This course is so inspiring that it makes me think of indicators I’d like to add myself." - crimsonpath

"I was very interested in stock and cryptocurrency investing, and this course gave me the confidence to create my own machine learning models using code!" - Jisu

"The power to inspire even beginners to take on AI modeling"

"I had no prior knowledge of either Python or deep learning, but now I'm taking on the challenge of training transformer models. I'm so glad to know where to start studying deep learning, which had previously seemed so daunting!" - Dayeon Choi

"This is a really great course for getting started with deep learning and data science. I’m satisfied with how it covers the details while also highlighting the key points." - kyohyun58

"It's easy to follow because everything is explained clearly. It was a great help in quickly learning the parts I was curious about." - Son Hyeong-seok

"The process of turning ideas into reality, even for non-developers/non-majors"

"As a non-developer with little experience in stocks, it felt difficult at first, but after watching it repeatedly, I found it sufficient for coming up with ideas. It was a great help in finding my direction." - moljin

"It is very helpful because you can create the results yourself, from data collection and prediction to reviewing reports." - qiulong Xin

Stocks that will rise tomorrow—does AI know? (94% accuracyin predicting stock prices!)

Stock investing is no longer about intuition; it’s the era of data and AI!

An AI model trained on more than 40 types of economic indicators and stock price data predicts not only the S&P 500 and QQQ ETFs but also individual stocks with 94% accuracy.

📖 Course Introduction

Did you know that AI-based stock price prediction is not just a theory, but a powerful financial tool you can apply to real-world investing?

The deep learning-based AI model covered in this course
✅ predicts the S&P 500 ETF with 94% accuracy
✅ predicts the QQQ ETF with 93% accuracy
✅ can also analyze individual stocks with high accuracy

Can a person analyze multiple stocks simultaneously using such an enormous amount of economic indicators and stock price data?

"Today, rather than relying solely on intuition or experience for stock investing, we are in an era where AI learns from countless economic indicators and stock price data, enabling us to make data-driven investment decisions!"

This course provides a comprehensive, hands-on learning experience, covering everything from analyzing economic indicators using the FRED API and Yahoo Finance to building a stock price prediction system using LSTM- and Transformer-based deep learning models.

🔥Passion!for stock investment

I was truly passionate about stock investing! So I even sought out and took a famous chart trading strategies course costing over 400,000 won for three hours, and through swing trading based on chart analysis, I consistently earned an average of about 1 million won per month for three years.

💼Using the seed I built that way, I’m now taking on long-term investing as well and gradually building a stable portfolio.

⚡Short-terminvestmentautomation:thoughts

But I didn’t stop there. After considering more efficient and systematic investment methods, I came up with the idea: "Could short-term investing be automated?"

🤖 I thought that if I built an AI-based stock price prediction model myself and created a program that identifies trading signals in the real market, not only I but also you would be able to detect trading opportunities more efficiently.

🎯CourseCreationMotivation

I created this course because I wanted to share the know-how I gained through this process with many people. In the upcoming Part 2, I will cover the process of implementing an automated U.S. stock trading program in practice, so please be sure to check it out!


"We hope you too can experience a new investment paradigm by leveraging data and technology!"

📰AI Algorithmic Trading – Accounting for 60–80% of Wall Street

  • In fact, various U.S. securities firms and investment institutions are actively adopting AI for stock analysis and automated trading. For example, in 2017, Goldman Sachs replaced 600 stock-trading analysts with two computer engineers and introduced an AI investment analysis program called 'Kensho', enabling it to complete in five minutes an analysis that would take 15 people four weeks.

  • Additionally, Renaissance Technologies, a U.S. fund management company, conducts its trading entirely through computer systems and achieves an average annual return of 30%. The company generates profits through statistical and scientific algorithmic trading.

  • In this way, AI-driven stock trading has become so widespread that it accounts for more than 60–80% of U.S. stock trading, and many companies are increasing their efficiency and profitability through this technology.

🔥 Unique Features and Differentiators of This Course

✅ Stock price prediction with deep learning + economic indicators!

  • Rather than simple AI modeling, it combines economic data to make more precise predictions.

  • By using economic data and the stock price data you want to predict as dual inputs, you can accurately predict the target future stock price.

  • [Data collection → preprocessing → model design → prediction → evaluation] Build the entire pipeline.

✅ Directly implement an AI model validated with 94% accuracy

  • Rather than stopping at theory, you will personally train and improve a proven AI model.

  • You can train AI prediction models not only for the S&P 500 and QQQ but also for individual stocks.

✅ A completely hands-on course—connected all the way to real-world investing

  • Rather than simply learning AI modeling, you will practice with real-world data so you can apply it directly to investing.

  • In the latter part of the course, you will learn how to analyze AI prediction results and develop investment strategies.

✅ Step-by-step explanations that even beginner programmers can follow

  • No prior AI development experience is required!

  • We’ll proceed step by step, from how to collect data to how to apply deep learning models.

🎯What will you be able to do after taking this course?

✔ You can analyze more than 40 types of economic data to predict stock price trends.
✔ You can use deep learning models to analyze the likelihood of individual stocks rising or falling.
✔ You can create an analysis tool that helps with buy and sell decisions based on AI predictions.
✔ You can develop the ability to make data-driven decisions when investing in stocks.
✔ You can develop your own AI stock price prediction model and establish investment strategies.

Recommended for people who:

I’m interested in U.S. stocks and want to make profits through stock investment.
We’ll show you how to make more accurate investment decisions using economic indicators and stock price data analyzed by AI.

Using AI in financial markets
Traders who want to learn investment methods
Learn how to build LSTM & Transformer models using deep learning and apply them to real-world investing.

Developers who want to master deep learning and data analysis through real-world projects
You can learn through project-based training using real financial data, from AI model development to data collection, training, and evaluation.

🚀How I will change after taking the course!

✔ You can predict stock prices with AI and develop data-driven investment strategies.
✔ You can directly perform financial data analysis using deep learning.
✔ You can analyze the stock market using LSTM and Transformer models.
✔ You can develop your own AI stock price prediction model and create a tool to support investment decisions.
✔ Even after completing the course, you can continue improving your analysis model using the provided code.

It includes content like this.

📈 AI Model Training Progress (Changes as Epochs Increase)

✅ As the model undergoes more training, the loss value (Loss) decreases and performance improves.
✅As the number of Epochs increases, prediction accuracy improves, but we also check for the possibility of overfitting.

📊 Stock price trends predicted by AI (compared with actual data)

✅Compare the actual stock price (blue line) with the AI-predicted stock price (orange line)to analyze prediction accuracy.
✅ The AI model visually represents the difference between the predicted and actual stock prices for individual stocks, making it easy to check accuracy.

📂 QQQ ETF & S&P 500 ETF Prediction Accuracy Analysis

✅ AI model-predictedS&P 500 and QQQ ETF accuracy data is analyzed and saved as an Excel file.
✅Prediction errors are analyzed by comparing them with actual stock prices, and you can verify the model’s reliability.

📋AI prediction accuracy analysis by individual stock

✅AI prediction results and accuracy for individual stocks can be checked.

✅You can objectively evaluate the AI model’s predictive performance using metrics such as MAE, MSE, RMSE, MAPE(%), and Accuracy(%).
✅ Learn how to minimize prediction errors and improve the model’s reliability through these metrics.

📊AI Prediction Analysis Results for the Top 20 Nasdaq Stocks

✅ This graph shows the AI’s analysis and prediction of the stock price movements of the top 20 Nasdaq stocks.
✅ The blue line represents the actual stock price, while the orange line represents the stock price predicted by the AI for 7 days later.
✅ You can visually see how accurately the AI model trained on historical data predicts future price movements.
✅ Using this model, you can analyze based on data the likelihood that a particular stock will rise or fall in the future.
✅ Through the graph, you can evaluate the AI’s prediction accuracy and consider how to apply it to real-world investing.

📢 Frequently Asked Questions (FAQ)

We’ve compiled the questions we receive most often before enrollment. Check your questions quickly!

If you have any questions about something not covered here, please feel free to post them on the Q&A board at any time.

We will provide a kind and detailed answer as soon as we check it!

Q. I invest in domestic stocks. Will this course be helpful?

Of course! The core logic of automated trading—strategies, backtesting, and order execution—is the same regardless of the market. Based on the pipeline you learn in this course, you can readily apply it to Korean stocks by simply replacing the data sources or incorporating the specifics of the Korean market, such as trading hours and upper price limits.

Q. I’m not familiar with coding or stock investing. Is it okay for me to take the course?

Yes, absolutely! We explain everything in an easy-to-follow way so that anyone who can perform basic computer commands can keep up. Even if you don't have in-depth knowledge of stock investing, you can learn and practice the principles and logic of automated trading systems step by step.

Q. Will we practice using Cursor AI?

Yes, that's right. Rather than just learning the theory, you will use Cursor AI to build an automated trading system for a simulated account yourself and work on a hands-on project connecting it to a real account. Even those who are unfamiliar with development can use AI to solve coding challenges and complete the project.

Q. How is it different from the AI recommendation services offered by securities firms?

This goes far beyond the simple performance analysis and recent good-news summaries provided by existing services. This course focuses on the “data analysis process” of collecting and preprocessing economic indicators yourself and building your own AI model. It will be the best choice for those who want to take the first step toward creating an AI that can read the market for itself.

Q. Can I ask questions if I have any questions while taking the course?

Yes, if you get stuck while following the course, please feel free to post your questions in the community at any time. We will actively support you so that every student can complete the course to the end.

Q. How should I structure the curriculum?

If you lack the basics, we recommend first learning the core principles of machine learning-based stock price prediction through the 'Secrets of Algorithmic Trading' course. After that, you can most effectively build your system by learning practical strategies and automated trading know-how through the 'Pillow Investment Method' course.

Q. There are several automated trading courses. Which one should I take?

A. We have organized the three courses into a connected roadmap so that you can systematically learn market analysis and automated trading with as little trial and error as possible, all the way to building your own automated trading system. Please review the guide below and choose the step that matches your current abilities and goals. (If you’re viewing this on a mobile device, you can zoom in with your fingers for a clearer view.)

▲ The course you are currently viewing is STEP 1.
Once you complete the predictive model, you will place actual orders based on those predictions in STEP 2.
(On mobile, you can zoom in with your fingers for a clearer view.)

The person who created this course

Cybersecurity (Security Solution Development & Cryptography & Hacking)

  • Ransomware Prevention Solution Design & Development

  • Ultra-lightweight encryption and driver authentication technology for vehicle and IoT environments

  • Smart Home IoT Vulnerability Analysis and Hacking Tool Development

  • Design and development of an AI web application firewall (WAF)

  • Penetration testing for large enterprises


Planning

  • Planning a proactive defense system at the group level

  • Establishing an Integrated Penetration Testing Governance Framework


Blockchain · Fintech

  • Mobility payment, NFT, and digital asset service architecture design and development

  • Building STO (Security Token Offering) systems for large enterprises

Data Platforms & Automation

  • Semiconductor·manufacturing line SQL·data pipeline quality management solution design·development

  • Planning and designing an AI workflow automation platform based on n8n, MCP, and A2A

Education & Community

  • Wireless Hacking and Security Special Lecture for Semiconductor Company Employees

  • IT practical know-how online course operations

  • Half-Price Real Estate CEO

Notes Before Taking the Course

📌Practice Environment

  • Python (pandas, NumPy, TensorFlow, etc.)

  • Google Colab, Visual Studio Code, or Cursor IDE

  • Data Collection Using the FRED API and Yahoo Finance

  • Matplotlib, Seaborn, Plotly (data visualization)

📌 Learning Materials

  • It will be provided via a Notion link!

  • Please refer to the class notes for the introductory lecture!




    You can view the class notes as shown in the second screenshot by hovering your mouse over the playback screen (black) on the current screen and scrolling down slightly with your mouse.



    (Before scrolling down)


    (After scrolling down)


    No materials are displayed for lessons without lecture materials.
    📑 Only lessons displaying this icon have materials, so please keep that in mind! 😊

    If you have difficulty accessing it due to an internal company network or similar environment, please feel free to contact us anytime at banbu.jh@gmail.com! 😊

📌 Additional knowledge that may be helpful

  • Deep Learning and Machine Learning Fundamentals

    • Experience using TensorFlow will be helpful.

    • Having a basic understanding of neural networks (NNs) and time series analysis concepts will help you learn more quickly.

  • Experience with data analysis and preprocessing

    • Experience using data manipulation and analysis libraries such as Pandas and NumPy will make it easier to follow the exercises.

  • Basic understanding of financial data and economic indicators

    • Experience working with financial data from sources such as the FRED API and Yahoo Finance will be an added advantage.

📌 Don't worry if these concepts are unfamiliar!
The course explains the relevant content clearly and is designed to help you learn it naturally through hands-on practice. 🚀

Recommended for
these people

Who is this course right for?

  • Those interested in stocks and the economy

  • Those who want to learn Python

  • Those who want to learn deep learning

  • Those who want to try data analysis

  • Those who want to learn how to work with data

Need to know before starting?

  • Python

Hello
This is cheatkeyman

Inflearn Verified

1,763

Learners

146

Reviews

149

Answers

4.7

Rating

7

Courses

IT Developer at a Major Corporation | Specialist in Security, AI, Fintech, and Data

With hands-on expertise gained in the field, I help people without a technical background build their own systems.

👨‍💻 Professional Experience

  • Current IT developer at a major corporation (AI, cloud, data, and information security)

  • Fintech: Payment, NFT, and STO (security token) system architecture design and development

  • Data: Design and development of SQL and data pipeline quality management solutions for semiconductor and manufacturing lines

  • AI automation: Planning and designing AI workflow automation platforms based on n8n, MCP, and A2A

  • Security: Multiple projects, including ransomware prevention solutions, AI web application firewalls (WAF), and penetration testing for large corporations.

  • Half-Price Real Estate (banbu.kr) CEO — Combining practical expertise and business through a platform I plan and operate myself

🔑 An 'IT Cheat Key' Course That Teaches Only the Essentials

IT is vast, but you don’t need to know everything. If you learn exactly what you need and put it to proper use, anyone can handle IT like a pro.

My courses don’t just list theory. Drawing on practical experience and genuine dedication, they help you learn only the essential core knowledge you truly need without wasting time.

  • How to Apply Technology to Real-World Projects

  • How to Solve Real-World Problems in the Field

  • Know-how for non-majors to independently build businesses and portfolios

When technology becomes a powerful tool that transforms your life, I’ll be your “IT cheat key” on that journey.

Thank you! 🎯

Business collaboration and course inquiries
✉ banbu.jh@gmail.com

More

Curriculum

All

19 lectures ∙ (1hr 58min)

Published: 
Last updated: 

Reviews

All

40 reviews

4.6

40 reviews

  • cndtjd54121421님의 프로필 이미지
    cndtjd54121421

    Reviews 3

    ∙

    Average Rating 5.0

    5

    32% enrolled

    It's a bit difficult, but I'm following along well! It's fun.

    • cheatkeyman
      Instructor

      Hello, @도상지. Thank you for leaving such a valuable review. If you encounter any difficulties or have any questions while taking the course, please feel free to ask at any time. I will support you until they are resolved. Thank you.

  • itsaladent님의 프로필 이미지
    itsaladent

    Reviews 1

    ∙

    Average Rating 5.0

    5

    100% enrolled

    The explanations were clear, and the lecture was so well-structured that I was able to follow along smoothly. I plan to take other courses after reviewing this one a few more times!

    • cheatkeyman
      Instructor

      Hello, @IT샐러던트. Thank you for leaving such a valuable review. If you encounter any issues or have any questions while taking the course, please feel free to ask at any time. I will support you until they are resolved. Thank you.

  • moljin님의 프로필 이미지
    moljin

    Reviews 16

    ∙

    Average Rating 4.8

    5

    95% enrolled

    I listened to the Backtest Research and Algorithm Trading courses continuously. I ran the provided code while taking the courses. As a non-developer who has only built web applications using Python web frameworks (Django, Flask, FastAPI)... there were quite a few parts that were a bit difficult for me to fully follow. Since I don't work in this field... I lack experience..., and I don't have much experience trading stocks either, so the lack of basic knowledge in both areas made it more challenging, but it was still sufficient for getting ideas. If I watch it multiple times and gradually build up my related background knowledge, something will work out. I remember when I first started coding with Python through self-study, it also took time to get on track. I hope there will be an algorithm trading course related to the Korean stock market as well. Thank you.

    • cheatkeyman
      Instructor

      Hello. Thank you for your interest in the course. As you mentioned, this course requires experience in development, finance, and stocks, so it's natural for non-developers or those without much experience in this domain to find it somewhat challenging at first. However, the purpose of the course is to help domain non-experts and non-developers quickly learn using AI in line with current trends and implement their own ideas. From that perspective, I think @moljin has been following along well. Also, as the context size that AI can recognize continues to grow, if you have the right ideas and direction, you can use AI to implement additional features or expand existing ones. Thank you for your feedback on investing in the domestic stock market. I will take it into consideration as I think about improving and expanding the course going forward. Thank you for leaving such a thoughtful review.

  • silverwave님의 프로필 이미지
    silverwave

    Reviews 2

    ∙

    Average Rating 5.0

    5

    100% enrolled

    I should try applying this to my portfolio directly. Please upload the next lecture soon!

    • cheatkeyman
      Instructor

      Thank you, silverwave, for taking the course! I'm glad the lecture was helpful. Please look forward to the next lecture, I'll prepare diligently!

  • crimsonpath565643님의 프로필 이미지
    crimsonpath565643

    Reviews 2

    ∙

    Average Rating 5.0

    5

    100% enrolled

    I took this course because I'm very interested in stocks, and I found the content to be compact, practical, and quite relatable. Beyond the indicators covered here, I've even thought of other indicators I'd like to add myself, and I plan to analyze stocks I'm interested in more deeply. Overall, I was satisfied with the course's neatness and richness, and I hope a lecture on automated stock trading comes out soon!

    • cheatkeyman
      Instructor

      Thank you so much, crimsonpath, for your valuable review! I'm glad you found inspiration in the indicators and stock analysis. An automated trading lecture will also be released soon, so please look forward to it!

cheatkeyman's other courses

Check out other courses by the instructor!

Similar courses

Explore other courses in the same field!

25% off for new members

$27.40

25%

$37.40