AI Auto-Trading Experiment
AI Auto-Trading Experiment
Overview
An experiment building and running an automated trading system with AI and ₩5M. No guarantees of success. Learning while building.
Why I Started
34 years as a semiconductor engineer. Systems thinking — designing, verifying, iterating — is wired into how I work. I wanted to apply that same mindset to financial automation.
The goal isn't profit. It's the experience of building a system where AI operates real capital — and doing it myself.
System Architecture
- A rule engine based on moving averages and RSI makes all trading decisions
- AI assists with analysis and reports — it does not decide
- Real-time trade alerts via Telegram
- 2-week paper trading validation before switching to a live account
- Runs as a long-running scheduler process; after any code change, the process is restarted per SOP and the change is visually confirmed.
Current Status
v1.1 live. Confirmed MA60 gap in the paper trading environment due to the KIS API's 30-day data limit. Fallback logic based on IS_PAPER applied to both is_market_ok() and check_buy_signal(). Regime assessment and stock scan confirmed working correctly under DRY_RUN. Also formalized the operations rule that the long-running scheduler must be restarted after any code change — documented as an SOP.
Update History
- 2026-04-09 — Python module cache issue identified — confirmed in live operation that code changes are not reflected without restarting the scheduler. Added diagnostic logs to is_market_ok() / MA60 fallback to close > MA20 for paper trading environment applied / same fallback applied to check_buy_signal() / BUY reason string format error fixed / DRY_RUN buy cycle restored / scheduler restart SOP document created
- v1.1 · 2026-04-08 — Dual regime filter / ₩10B volume filter / IMMEDIATE·NEXT_OPEN sell branching / same-day rebuy block / log system overhaul
- v1.0 · 2026-04-07 — KIS API, rule engine, Telegram alerts, scheduler MVP complete
Related Logs
- Auto-Trading — Module Cache Issue Identified & Buy Cycle Restored (2026-04-09 Log)
- I Fixed the Code. Why Didn't the System Change? (2026-04-09 Insight)
- Auto-Trading v1.1 Setup & First Run Standby Log (2026-04-08)
- Auto-Trading MVP Complete Log (2026-04-07)
- What I Didn't Know Until I Built an AI Trading System