inflearn logo

My stock alert bot built with Claude Code

A hands-on course for people who have tried Claude Code but have never built a complete program and run it every day. Over 12 lessons, you’ll build a program with no order-placement features that uses your keys to retrieve market prices from the Korea Investment & Securities Open API, saves them to SQLite, and sends a short log to your Telegram at a set time. In each lesson, you’ll build one part using a prompt and verify it with tests that run without API keys, while adding checks to prevent real-world operational mishaps such as market holidays, incorrect units, and duplicate messages.

1 learners are taking this course

Level Basic

Course period Unlimited

Python
Python
REST API
REST API
SQLite
SQLite
pytest
pytest
Python
Python
REST API
REST API
SQLite
SQLite
pytest
pytest

What you will gain after the course

  • You can have Claude Code generate code using a prompt that specifies the scope and 'what not to do', then verify it with tests (pytest) that run without keys.

  • You can connect to the Korea Investment & Securities Open API using my key (the token is saved for reuse), retrieve index, watchlist stock, investor-by-investor net trading, and KOSPI 200 futures (night and regular sessions) data, and save it to SQLite along with each value’s date and retrieval time.

  • At the scheduled times, you can send morning · evening reports to my Telegram. Just copy over the numbers, change the currency unit in a single file, and block any posts containing words that imply buying, selling, or recommendations before they’re sent.

  • By checking market holidays · weekends · send times · value dates · blank cells · and duplicate values, you can avoid sending numbers that might be wrong and leave a single line: 'Not sent: reason'

  • You can use Windows Task Scheduler to run it at a set time even when you’re not logged in, and ensure each alert is sent only once per day. Dates and days of the week are calculated in Korean time, failed sends are retried, and a single file can stop all sending.

  • You can create a log listing the numbers sent alongside that day’s results, and count the days on which the example observation rule matches the “always rises” control group (fewer than 20 days is “insufficient sample”).

Recommended for
these people

Who is this course right for?

  • Someone who has tried Claude Code and can read a little Python, but has never built a program from start to finish and run it every day.

  • For those who want the indices, stocks, and investor-by-investor net trading figures they check every day sent to their Telegram at a set time.

  • Those who want to learn from real operational incidents why numbers received from an API can be wrong (units, dates, market holidays, duplicate deliveries) and how to prevent this through checks and testing.

Need to know before starting?

  • Experience installing and using Claude Code at least once (installation and basic usage are not covered)

  • Experience reading Python code (variables, functions, and basic if statements). You don’t need to memorize the syntax; we’ll read through the key lines of the code together in the video.

  • Experience running commands in the Windows Command Prompt (pytest · SQLite · Task Scheduler are covered from scratch in the course)

  • Requirements: A Windows PC · A Korea Investment & Securities account in your own name and an Open API key · A Telegram account

Hello
This is navigatekai

Career Verified

I’m a solo founder, not a developer. I built a subscription service (free and paid channels) from scratch with Claude Code, added payments and daily delivery, and have been running it for eight months. I’ve kept a date-by-date record of the incidents and fixes along the way. It tracks the problems I encountered after building the service in numbers—for example, how 54% of 676 commits over two months were fixes. I’m turning what actually happened, the rules I set afterward, and prompts you can use as-is into a course.
More

Curriculum

All

12 lectures ∙ (1hr 29min)

Course Materials:

Lecture resources
Published: 
Last updated: 

Reviews

Not enough reviews.
Please write a valuable review that helps everyone!

Similar courses

Explore other courses in the same field!

Limited time deal

$16,500.00

50%

$26.40