Lesson 014 min read

Why Crypto (for Algo Devs)

November 05, 2026

// TL;DR

Crypto is a programmer's dream market: 24/7, open and free real-time APIs, one library (CCXT) across 100+ exchanges, and enough volatility (BTC IV ~55% vs Nifty ~12%) that there's real edge for disciplined automation. But it adds risks equities don't have: no regulator or circuit breaker, exchanges that have collapsed with customer funds (FTX), stablecoins that went to zero (UST), liquidation in minutes, and 24/7 markets that crash at 3am. In India, crypto gains are taxed at a flat 30% + 1% TDS with no loss set-off. The mindset: the openness is a joy and a trap — survival is the goal, use testnets, keep leverage low, never trust one exchange with money you can't lose.

Welcome to the wild cousin of the Options Trading course. Before any funding rates or Greeks, let us be clear-eyed about why crypto is so attractive to people like us — and why that very attractiveness is dangerous.

Why a programmer is drawn to crypto

Honestly, crypto is the most programmable market that has ever existed, and if you are a coder it is hard not to love:

  • 24/7/365. No market open, no close, no holidays. You can test an idea at 2am on a Sunday and it is live.
  • Open, free APIs. No exchange-data fees, no broker approvals, no paperwork. Pull live BTC order books and funding rates in ten lines of Python. One library — CCXT — speaks to 100+ exchanges with a single interface.
  • Abundant data. Years of free historical candles, order-book snapshots, funding history. Backtesting data that would cost a fortune in equities is just… there.
  • Enormous volatility. BTC implied volatility runs ~50–70% against a Nifty’s ~12%. More movement means more opportunity for a disciplined, automated approach (and more danger — hold that thought).

For someone comfortable with data, APIs and systems, this feels like a playground built specifically for you. That feeling is real, and it is also exactly where people get hurt.

The risks that are genuinely different

Every risk from the options course still applies, and then crypto stacks on a whole extra layer — the kind that can take your money regardless of whether your analysis was right:

  • No regulator, no circuit breaker. There is no SEBI, no clearing house, no trading halt. A 40% crash just keeps going.
  • Exchanges collapse. FTX, Mt. Gox and others have failed and taken customer funds with them. “Not your keys, not your coins” is a hard-earned proverb.
  • Stablecoins can de-peg. A “dollar” token that goes to 90 cents — or, like UST, to zero — can wipe out a position whose only job was to be safe.
  • Liquidation. Leverage plus a fast move equals a forced close at the worst possible price, in minutes.
  • 24/7 means your risk never sleeps. The worst crashes love weekends and 3am. Your algo and your risk management have to be awake when you are not.
  • Scams everywhere. Rug-pulls, fake tokens, pump-and-dumps, “guaranteed returns” — the space is full of them.

The Indian context (tax & regulation)

If you are trading from India, two things matter a lot. First, tax: crypto gains are taxed at a flat 30%, plus a 1% TDS on transactions, and — importantly — losses cannot be set off against other income or carried forward the way equity losses can. That flat, unforgiving tax treatment changes the maths of frequent trading significantly. Second, regulation is still evolving: crypto is not banned, but its legal and regulatory status keeps shifting, and you should assume less protection than you get in regulated markets. Factor both into any plan, and keep clean records.

The mindset

So here is the attitude to carry through this whole course. The openness of crypto is a gift and a trap: the same lack of guard rails that makes it a programmer’s playground means nobody is stopping you from blowing up. So:

  • Survival first, always. The goal is not to get rich quick; it is to still be here next year.
  • Use testnets and paper-trade. Most exchanges have testnets — practise there, extensively, before real money.
  • Keep leverage low (or zero while learning). Leverage is how crypto accounts die fastest.
  • Never trust one exchange with money you cannot lose. Spread funds, use self-custody where you can, and assume any single venue could fail.

The programmer’s edge in crypto is real — but it is an edge in execution and discipline, not a shortcut around risk. Treat it with respect and it is a genuinely fascinating market to automate.

Pitfalls

  • Falling for the “easy money” story. The volatility that creates opportunity also destroys the careless. Most retail leverage traders lose.
  • Trusting an exchange blindly. FTX looked fine until it didn’t. Diversify venues; self-custody long-term holdings.
  • Ignoring the 30% + 1% TDS. Indian crypto tax is harsh and losses don’t offset — model it before you trade actively.

Recap

Crypto is the most programmable market there is — 24/7, open free APIs, huge volatility — which makes it a magnet for coders. But it layers on serious extra risks (no regulator, exchange failure, depeg, liquidation, 24/7) and, in India, a harsh flat 30% + 1% TDS tax. The mindset: survival first, testnets before real money, low leverage, and never trust one venue.

Next: Lesson 2 — Crypto Market Structure, where we map what you can actually trade and where.