Trading Bots: What I Learned Building Them — Starting This Blog

🌐 한국어

I've been building and running stock and crypto trading bots for a while now. What I learned along the way, the time I wasted going down wrong paths, and the practical realities nobody seemed to be talking about — this blog is where I'm writing all of it down.

What This Blog Covers

Three tracks.

  • Software development — patterns accumulated from building real tools in Go and Python: signal bot frameworks, web dashboards, LLM-connected CLIs.
  • Automated stock trading — real-time quotes from the Korea Investment Securities (KIS) API, ETF gap strategies, safety mechanisms for bots.
  • Automated crypto trading — exchange API integration, grid bots, and the theory of arbitrage alongside its unsentimental reality.

Why Write It

Search for automated trading and you get two kinds of articles: ads promising some fixed monthly income, or theory too abstract to act on. What's hard to find is an honest record from someone who actually wrote the code and ran it for real.

Flash loan arbitrage, for instance, looks like a risk-free free lunch on paper. In practice, market efficiency and competition from MEV bots make it extremely hard for an individual to profit. Nobody tells you that until you've been through it.

First Principle — Start by Not Losing Money

The order I follow never changes. The code that moves money goes in last.

# Development order (this is genuinely how I do it)

# M1: make the data flow visible (just fetch quotes and display them)

# M2: trading logic (compute entries/exits — still no real orders)

# M3: safety mechanisms + real orders (force exit, TP/SL, state persistence)

I confirm with my own eyes that data flows correctly, verify that the strategy math is right, and only then attach real ordering. Skip that sequence and something will go wrong — reliably.

What's Next

From the next post onward I'll get into concrete implementation — real-time KIS API quotes, exchange API integration, designing safety mechanisms for bots, and similar hands-on topics.

Disclaimer: The automated trading and investment content on this blog is for educational and informational purposes and is not investment advice. All investment decisions and their outcomes are your own responsibility.

댓글

이 블로그의 인기 게시물

한국투자증권 KIS API로 실시간 시세 받기 (WebSocket 실전)

파이썬으로 업비트 API 연동하기 — 시세 조회부터 주문까지 기초

Go로 자동매매 신호봇 프레임워크 설계하기