The Korean Stocks Edition of the Pillow Investment Method Series
While you work,
your account works on its own
Build and fully own an AI automated trading system designed exclusively for the Korean market that reads foreign and institutional trading flows and automatically buys and sells on its own.
07:00
Data collection and prediction,
through AI review
10:00
Only buy stocks that pass verification
automatically
During market hours
Every 60 seconds
monitor take-profit and stop-loss levels
15:40
Automatic reconciliation with the brokerage ledger
All you’ve done is go to work.
Two and a half years
A Course Dedicated to Automated Trading
1,600+
Cumulative students across the series
4.9/5.0
Course rating for the previous U.S. edition
24 hours
Currently conducting unmanned verification operations on AWS (simulation)
While you work
You simply went to work,
while your account works a full day.
Turn on the system in the morning and head to work. Here’s what happens in the meantime.
🧍 My Day
🤖 A Day in Your Account
07:00
Turn off the alarm and
get ready for work
It completes data collection, AI predictions, and reviews on its own.
10:00
During a meeting,
focus on your work
Automatically buy only stocks that pass the verification.
During trading hours
After lunch
Afternoon work
Monitor take-profit and stop-loss levels every 60 seconds
15:40
Preparing to leave work
After the market closes, automatically reconcile with the brokerage ledger
Evening
Rest at home,
📱 check notifications
Send today’s trading report to Slack
“
You live your daily life,
while the system watches the market..
You don’t need to stay glued to the charts. Monitoring, trading, and record-keeping are all handled by the system. All you have to do is start your day in the morning—that’s it.
Why this course was created
"Instructor, isn't there a Korean stocks version?"
It wasn't just one person asking.
Throughout the two and a half years of creating the series from Version 1 through Version 3, requests to “cover Korean stocks as well” continued to pile up.
2025.02
T***[Inquiry About Applying to Korean Stocks] Would it be possible to collect price information for Korean stock listings this way as well?
2025.12
m***I wish there were also a course on algorithmic trading in the Korean stock market.
2026.05
Y***Does the course only cover U.S. stocks? I'm wondering whether it can also be used for Korean stocks.
2026.06
A***Is it possible to manage multiple accounts? I’m planning to operate them for U.S. and Korean stocks.
s***Will this technique work in the Korean stock market too?
8***I only trade Korean stocks. Would it still be okay for me to take this course?
And countless requests…
So, we created the Korean Stocks Edition.
With your support, we redesigned it from the ground up specifically for the Korean market.
Not a port, but a redesign
Built from the ground up,
following the rules of the Korean market.
"If we just swap out the brokerage API in the U.S. system, wouldn't that work?" I tested that assumption first, too. The conclusion was a redesign. That's why you'll have a system that truly fits the Korean market.
News sentiment → supply and demand
Korea is a market where "who is buying"
is publicly disclosed
Korean stocks lack sufficient news sentiment data. Instead, what foreign investors and institutions buy and sell every day is publicly disclosed. This system uses that flow of money as a signal—the only independent source of information that comes from outside the price chart.
VKOSPI → VIX T-1
Treating the time difference not as a flaw, but as
logic
VIX is an index that indicates how unsettled the U.S. market is. Since the U.S. market closes during the Korean night, in the Korean morning, “the level of fear confirmed last night in the U.S.” is the freshest data. On days when the market is unsettled, the system automatically tightens its buying.
The Structure of the Korean Market
We etched the market’s grammar into
code.
Avoiding the opening auction, truncating to KRX tick units, the ±30% price limit, determining market holidays, fixed Korean time without daylight saving time—and even why the day starts at 7 a.m., after the U.S. market closes. The system knows, even if you don’t.
Automated trading built by following along
looks easy.
Automated Trading in the Video
A few conditions are all it takes to successfully buy.
Buy on a golden cross and sell on a death cross.
In a sunny bull market, anything works.
A Practical Account in a Bear Market
It’s different when foreign investors start selling.
Gap down, no criteria for when to sell, and ambiguous executions.
This is always the point where your account collapses.
This course does not teach you the “code to buy” stocks.
It teaches you when not to buy and when to stop.
At the heart of those criteria is data released daily only in the Korean market.
The net buying by foreign investors and institutions—in other words, market supply and demand.
Simply put, it shows where the market’s big players are actually putting their money and where they are taking it out.
The question this course answers
The real question of automated trading
is something else.
If you have traded Korean stocks, you already know firsthand why this course is necessary.
A stock whose chart and news both looked good, but was helplessly pushed down when foreign investors started selling
Bought on instinct, with no criteria for when to sell—and watched the loss grow
You tried attaching an automated trading system, but with only a few lines of buying conditions, you experienced it collapse in a downturn
“
It’s not about whether the code runs,
but whether you can trust it with your money.
In live markets, there will be moments when communication is cut off, a day’s worth of data is missing, or it’s unclear whether an order has been executed. The Korean-language Pillow Investment Method course teaches you exactly how to design the system to respond in those moments.
What You Will Build in This Course
25 large-cap KOSPI and KOSDAQ stocks,
a system that automates the entire day
For 25 large-cap stocks, including Samsung Electronics, SK hynix, LG Energy Solution, Hyundai Motor, NAVER, POSCO Holdings, Celltrion, and Hanwha Aerospace, the decision pipeline below runs without human intervention. You only need to check the results.
Data collection→
ML price prediction · 14 days→
Technical indicators + supply and demand score→
AI final review→
Automatic buying→
60-second take-profit/stop-loss monitoring→
Automatic selling
If any stage of the pipeline fails, it stops immediately — "no purchases that day" is the default (fail-close).
Whenever a buy or sell occurs, and whenever data collection is complete, a Slack notification containing the rationale behind the trade will arrive. All you need to do on your way to work is read “why the system chose this stock today.” And this entire process is built through vibe coding with AI (Claude)—not by typing code line by line, but from the position of a developer who plans, gives instructions, and verifies.
From choosing stocks in the morning to reconciling the books in the afternoon
The steps below do not end as separate examples; they are automatically connected every day within a single system.
1
7:00 a.m., data collection
Automatically collect market prices, macroeconomic indicators, and the net buying and selling by foreign investors and institutions every day.
2
Scoring of Supply and Demand and Indicators
Convert supply and demand into a score from -1 to +1, and calculate seven technical indicators.
3
Machine Learning Prediction
Kaggle’s free GPU predicts the prices of 25 stocks 14 days ahead.
4
AI final review
Claude exercises the final veto. We do not buy on days when the review fails.
5
10:00, automatic purchase
We only buy stocks that pass the four-step verification, with a 10% cap per stock.
6
60-second monitoring during market hours
It automatically executes profit-taking (locking in gains), stop-losses (cutting off losses), and time-based exits. Stop-losses always come first.
7
Automatic selling and Slack reports
When you sell, the reason for the sale arrives immediately along with its basis.
8
3:40 PM, Ledger Reconciliation
We reconcile with the brokerage records and close out the day.
Paper trading and live trading differ in their API environments and order methods. In the course, we review the Korea Investment & Securities KIS OpenAPI specifications together, implement them to suit the environment, and first validate the order functionality in paper trading.
From the actual lecture materials — The system completed in this course
25
Trading Targets
Large-cap Stocks
96items
Collected columns
Backfilled from 2010
9
DB tables
16 service modules
80+
Automated testing
(pytest)
24h
Still operating unattended in a paper-trading environment on AWS
right now
One weapon · supply and demand
The system identifies first which stocks foreign investors and institutions are buying
In Korea, the market publicly reveals every day “who is buying.” We score the net purchases over the past five trading days as a percentage relative to each stock’s size, measuring how unusually large the accumulation is, rather than the amount of money involved. This means you can see the movements of major investors each morning as a single score, without having to search through stock news every night.
From the Actual Course Materials — Why We Chose Supply and Demand Over News Sentiment
Two Weapons · Four-Stage Verification
Of the 25 stocks, only one or two that qualify for purchase today
remain.
We buy only stocks that pass four rounds of validation—not ones that merely look good on the surface. Blocking impulsive purchases at the system level is the first way to protect your account.
Universe of 25 stocks
ML Gate · 14-day forecast of +3% or higher
7 hard filters · composite score
VIX Gate
AI Veto Power
Buy
AI can only reject candidates. On days when AI review is unavailable due to errors or outages, we take the day off rather than buy without a review.
From the actual course materials — how the score is calculated; every step of the process is recorded numerically.
Weapons Set · Safety Devices
We build not a "working example"
but a "system you can entrust"
Even on days when the market is volatile, the system operates strictly according to its predefined principles. So you don’t have to keep watching the charts throughout the trading session.
When in doubt, don’t buy.
If AI fails, the prediction is outdated, or ATR cannot be calculated, all purchases are blocked.
The same order will never be sent twice.
Defend against the worst automated trading accidents with four layers.
Stop-loss orders are executed at market price; stop-loss comes first.
Always exit even on a gap down
An error in one instrument cannot stop everything.
Isolation by instrument, with automatic daily reconciliation against the ledger
From the actual lecture materials — if we can’t pass even one gate, we abandon the entry.
Weapon Net · Security
The area we put the most effort into is
the place you can’t see.
Your stock brokerage account API keys will be stored on this server.
So rather than a pretty dashboard, we built an impenetrable vault first.
We show you through the architecture—not words—why you can trust us with your account information.
The only externally exposed port is SSH.
Database Key Dualization and Row-Level Security
Authentication that even prevents timing attacks
Token and account number masking
From the actual lecture materials — Zero external exposure of the API surface area
Balances and executions are confirmed through the world’s most accurate ledger*, the official brokerage app. The reasons for the trades arrive in a Slack report. These are the design standards of developers who handle security in the field.
* Ledger (元帳): This is the official transaction record for your account kept by the securities firm. Market prices and executions change by the second, while separately created screens receive this record and display it again, so the numbers may briefly differ due to transmission and synchronization delays. That’s why the securities firm’s app, which shows the original record, is the most accurate source for verification.
Five Weapons · Market-Phase Response
We do not respond to bull and bear markets
with the same values.
After operating the system in practice for two and a half years, the threshold values for taking profits (locking in gains) and cutting losses (limiting losses) evolved three times, from v1 to v3, and every reason for the changes has been documented. What you take away is not the “correct” numbers, but criteria you can adjust yourself according to market conditions—so even when the market changes after the course ends, you will be able to fine-tune the values yourself.
v1
×2.5 / ×1.5
Risk of being stopped out early during a sharp decline
v2
×4.0 / ×2.5
Holding for too long before taking profit
v3 · Current
×3.0 / ×2.5
Break down and adopt backtests
From the actual course materials — the priority of sell decisions: cutting losses is always the top priority
Course reviews
Stories from Those Who Started First
These are genuine reviews from students of the Pillow Investment Method series (from Part 1 through the U.S. edition).
★★★★★
"I’m very interested in automated trading, so I’ve taken other courses as well, but your course is the best. It’s fun and easy to understand. I’m taking away a lot of insights."
yun*** · U.S. Edition
★★★★★
"I successfully completed the process of building the system from start to finish while maintaining a sense of tension. Over the next few months, I’ll delve deeper, fine-tune it, and optimize it to suit me."
jun*** · U.S. Edition
★★★★★
"I purchased it, listened diligently for two days, and completed it. I’m going to start paper trading on Monday. I’ve become interested in automated trading."
byu*** · U.S. Edition
★★★★★
"I’m leaving another review after completing the course. Overall, it was a well-structured and well-organized course that was a great help. I’m also looking forward to future updates."
cou*** · U.S. Edition
★★★★★
"This course has more to learn than I expected. I started with this one, and now I’m convinced I should take the previous courses as well."
EN** · U.S. Edition
★★★★★
"Thank you for your efforts to find new tools and improve with each lecture. I’ll listen to it several times and try following along."
Jo** · U.S. Edition
★★★★★
"I was satisfied because the course was compact and practical. It made me think of indicators I’d like to add myself, and I hope the stock auto-trading course comes out soon!"
cri*** · Series Part 1
★★★★★
"I was very interested in automated trading using coding and machine learning, and this gave me the confidence that I could study what I’d really wanted to learn and build it myself!"
Ji* · Series, Part 1
★★★★★
"The explanations were clear, and the lecture was structured so well that I was able to follow along and learn without any difficulty. I plan to take another course after reviewing the material!"
IT Sal*** · Series Part 1
★★★★★
"I should try applying it directly to my portfolio. Please upload the next lecture soon~"
sil*** · Series Part 1
전체 수강평
보러 가기 →
Swipe the card sideways to see more.
Two ways to use it
Leave it all to the system, or
just receive morning recommendations.
It’s okay if automation feels overwhelming at first. Start with whichever method you’re comfortable with, and you can switch to the other one at any time.
The first method
Fully automated trading
Delegate everything, from buying and monitoring to selling and reconciling the ledger.
You only need to check the notifications and your brokerage app.
The second method
Recommendations by the system, trading by my own hand
No money moves, and every morning, only the candidates and rationale are sent via Slack. Trades are placed directly through your brokerage app.
I also used the approach of referring only to recommendations and making trades myself for a long time, and I was able to achieve sufficiently satisfactory results with that alone. (This is based on personal experience and does not guarantee profits.)
One more
Learn how to work and thrive in the age of AI
The key to winning at vibe coding isn’t typing speed—it’s planning. Defining what to build yourself and learning how to give instructions that AI understands precisely—these are the muscles this course repeatedly trains throughout all 12 lessons. These muscles will serve you just as well outside of automated trading, regardless of which AI tool you use.
Planning is half the battle.
Write the design document before the code. The quality of AI output is determined by the quality of the instructions.
Give the AI rules.
We enforce in documentation the lines that must not be crossed.
Verify AI with AI
Let's review the 5 defects caught by the verification agent.
The final line is guarded by humans.
The ability to draw the boundaries of automation is a design skill.
AI does the typing, but
people who plan, instruct, and verify become stronger with AI.
This is a way of working that applies not only to developers, but also to planners, marketers, and anyone who uses AI.
Curriculum
12 lessons,
in the exact order the system is built up
By following the four steps in order, a fully automated system comes online in the final lesson.
1Foundational DesignLessons 00–04 · The system's framework
00 System Overview
01 Planning and Architecture
02 AI Agents and Development Rules
03 Initial Project Setup
04 Stock Universe Selection
Planning comes before code — Complete the design document and development rules for assigning tasks to AI at this stage.
2Data and PredictionsLessons 05–07 · The System’s Eyes
05 Market Data Collection and Backfilling
06 Supply-and-Demand Scoring — The Heart of This Course
07 Machine Learning Predictions — Kaggle GPU
The supply–demand score, the heart of this system, is created here — including methods to prevent data leakage that can ruin backtests
3Buy DecisionLessons 08–09 · The System’s Judgment
08 Buy Candidate Extraction — 7 indicators including the golden cross, RSI, and MACD; ML gate
09 Composite Scoring and AI Review — 7 hard filters, VIX gate, and AI veto power
"When in doubt, don’t buy" Becomes Code — Implementing Data Freshness Checks and Blocking Purchases When They Fail
4Trading and OperationsLessons 10–11 · The Hands of the System
10 Korea Investment & Securities Automated Trading — Orders and executions, ATR take-profit/stop-loss, four-layer duplicate order protection
11 AWS Deployment and Automation — Scheduler, Slack notifications, and four security enhancements
It covers the transition structure from paper trading to live trading, as well as a roadmap of tasks to review before making the transition.
Python · FastAPI · Supabase · Kaggle GPU · TensorFlow · Claude API · Korea Investment & Securities KIS OpenAPI · APScheduler · AWS
We’ve removed in advance any reason to hesitate
before getting started.
Start without any principal.
The first run uses virtual funds for simulated trading. After validating the entire process, you can decide whether to proceed with live trading.
If you get stuck, the instructor answers directly.
We have continued providing direct answers to questions until the system is up and running.
You don't need coding skills.
Build the entire process with AI. Terminal commands and editing configuration files are all you need.
The person who builds
Without losing it, without being breached.
Built to a working developer’s standards.
I am a working developer who has developed a blockchain project worth 15 billion won for a major financial corporation. Through my work in security, I developed the standard of "making systems impenetrable", and after personally operating automated trading systems for two and a half years, I added the standard of "designing systems so they do not incur losses". This is why I build programs that actually work, rather than flashy end products, and stories from my professional experience add depth and engagement throughout the course.
This course is not just one installment; it is the accumulation of two and a half years.
We built the second installment’s automated trading on top of the first installment’s predictions, then added the third installment’s complete automation on top of that, and this Korean edition layers in order flow and security. Questions from students and trial-and-error in real-world operations in each installment inform the design of the next.
Click a card to go to each course.
Run it alongside the U.S. version for the Korean market during the day and the U.S. market at night. This completes a hands-off, 24-hour system.
Target Audience
Recommended for people like this
Working professionals who are curious about what foreign investors and institutions are buying but don’t have time to look it up every day
For those who want a complete system that goes beyond a few lines of automated trading conditions and includes criteria for when not to buy and stop-loss rules
Learn how to actually fix errors and failures encountered in vibe coding. For those who want to learn how to reach the desired result by continuing to check and fix things even when they do not work on the first try
Those who want to build a fully secure automated trading program
Those who want to learn the entire process of how developers work in the age of AI—from planning and giving instructions to reviewing and testing—through engaging real-world stories
It's okay if you don't know how to code. For those who want to see it through to the end with AI while understanding what they're doing
This is not suitable for those who:
Day trading and scalping. This system takes a 14-day swing-trading perspective.
Those expecting a ready-made product that is complete once installed
For those who want a guaranteed profit. We do not make such promises
Prerequisites · No coding skills required (work with AI) · Korea Investment & Securities account (paper trading available) · KIS OpenAPI application
Frequently Asked Questions
Click on what you’re curious about
코딩 초보인데 가능한가요?
Yes. I show the entire process exactly as it is—from writing the design document to building it together with AI. Basic terminal commands and configuration file edits are all you need. In fact, many of the students in the previous course were non-majors, and some completed it in just two days. If you get stuck, the instructor will personally help you resolve the issue through the Q&A board, so you only need to follow the steps in order.
운영 비용은 얼마나 드나요?
Machine learning runs on Kaggle’s free GPU, so there is no cost. Aside from that, there are only the costs of a small AWS instance and Claude API calls, and the course also covers configurations for saving money. During the paper-trading stage, you do not need to deposit real money into a brokerage account. I show you my exact operating setup in the course, so it is not too late to check the expected costs for yourself before getting started.
잔고와 체결은 어디서 확인하나요?
Check using the brokerage’s official app, which is the most accurate ledger, and receive the basis for each trade in Slack reports. The server is secured with four layers of protection. Not creating a separate interface was an intentional design choice. The numbers on a proprietary interface could differ from the brokerage’s ledger, and opening an interface would create an attack surface. The system focuses on telling you the "reason" behind each trade.
실계좌 전환은 언제 하나요?
The default is paper trading. After validating it through sufficient simulated operation, the decision is yours. The remaining tasks will also be revealed as a roadmap in the final lecture. Not rushing is part of this system’s philosophy. As simulated operation data accumulates, the course will also cover which values to check and how, so you can determine for yourself when to make the transition.
미국편을 먼저 들어야 하나요?
No, this course is self-contained. The Korea edition alone gives you one complete system. However, the two systems share the same design philosophy, so if you operate them together, they form a 24-hour setup covering the Korean market during the day and the U.S. market at night. Taking them in order will deepen your understanding significantly as you explore the same problem in different markets.
Important Notes and Disclaimer
This course is an educational systems design course and does not constitute specific stock recommendations or investment advice · All investment decisions and their consequences are your own responsibility; you may lose your principal, and nothing herein guarantees profits · The default setting is paper-trading mode, and switching to live trading must be done only after sufficient validation and at your own judgment and responsibility (currently operating in a paper-trading environment; this does not guarantee live-trading performance) · The parameters in the course are reference values for learning purposes · The policies and pricing of external services (KIS, Kaggle, AWS, Supabase, Claude API) may change
The real skill in automated trading lies not in "code that buys" but in
"code that stops when something seems wrong".
A system that doesn’t buy when things are ambiguous, never places the same order twice, and compares itself against the brokerage’s records every day. Build it yourself and own it with a complete understanding of how it works.
The first run is a simulated investment using virtual funds. Verify it without risking your principal, then you can decide whether to proceed with real trading.
"Instructor, is there a Korean stock version?"
The Pillow Investment Method, now in the Korean Stocks edition.
Starting tomorrow, even while you’re in a meeting, the system will read the order flow, verify it, trade, and protect your assets on your behalf. Together with the U.S. edition, from the Korean market during the day to the U.S. market at night—a hands-off 24-hour automated trading system is complete.
If you start building today, your system will wake up along with the market when it opens next.