Eidode / Simulators / How Exchanges Work
How Exchanges Work — CEX/DEX Flow + 11 Trading Products
When you tap "buy" on Binance, an entirely different chain of events fires than when you swap on Uniswap. This simulator runs both flows side-by-side — order matching vs liquidity pool, custodial vs self-custodial, KYC vs wallet-only. It also covers the 11 products you'll find on real exchanges: spot, convert, DCA bot, P2P, earn/savings, grid bot, copy trade, launchpad/IEO, margin, futures, and options — each with a risk rating and an honest beginner-suitability call.
CEX flow — what happens when you tap "buy" on Binance
Step 1 / 5
1. Sign in + KYC
You log in with email + password + 2FA. Your identity is verified (ID + selfie) and stored by the exchange.
Who holds your keys?
The exchange holds your private keys. You log in with email + password. Withdrawal requires their cooperation.
You hold your private keys in your own wallet. The DEX has no account — you connect and sign. No one can freeze your funds.
CEX flow — what happens when you tap "buy" on Binance
1) Your tap sends a market order over HTTPS to Binance's matching engine. 2) The engine matches your order against the order book — finding sellers at the best ask. 3) Your account balance updates in the database. 4) The actual crypto stays in Binance's internal accounting; no blockchain transaction has occurred. 5) Only when you withdraw does Binance broadcast an on-chain transaction from their hot wallet to your wallet.
DEX flow — what happens when you swap on Uniswap
1) You connect your wallet (MetaMask, Phantom) to the DEX UI. 2) You select swap parameters; the UI computes the expected output using the pool's reserves. 3) You sign a transaction in your wallet — this is the moment of approval. 4) The signed transaction goes to a mempool, then a validator includes it in a block. 5) The pool's smart contract executes the swap atomically: takes your tokens, gives you the other side. The whole thing is on-chain, public, and verifiable.
Trust models compared
CEX: you trust the company's solvency, security, and willingness to honor withdrawal. They hold your keys. DEX: you trust the smart contract's correctness and your own ability to sign safely. You hold your keys. Different risks, not better-or-worse.
The 11 products on a real exchange
Most major CEXes offer 11+ distinct products with very different risk profiles. Beginner-safe (low risk): spot, convert, DCA bot. Local fiat onramp (medium): P2P. Medium-risk passive: earn/savings, grid bot. Higher-risk active: copy trading, launchpad. Advanced (high to very high): margin, futures, options. The simulator's Products tab walks through each one with risk rating, "for beginners?" honesty, and a typical-flow checklist.
Spot vs futures — the most important distinction
On spot, you own the actual coin. Price drops 50%? You still hold 1 BTC, you're just down 50% in fiat terms. On futures with 10× leverage, a 10% adverse move liquidates your entire collateral — you walk away with $0. Spot has volatility risk; futures has volatility risk plus liquidation risk plus funding-rate cost (0.5-3%/day of collateral). For >95% of beginners, spot is the right product.
Why grid bots are sneakier than they look
Grid bots advertise "passive income from volatility". The math: in a perfectly sideways market, a grid bot earns each grid spread × number of fills. In a trending market, you accumulate one side and end up underwater. Most beginners try grid bots in a bull market, ride wins for weeks, then get destroyed on the first 20% pullback. They're a real product but require understanding when the underlying assumptions break.
P2P — the fiat onramp for emerging markets
In Vietnam, Indonesia, Brazil, Nigeria, Philippines, India, and most non-US/EU markets, P2P is the dominant way beginners buy crypto with local currency. The exchange (Binance P2P is largest) acts as escrow: seller posts ad with a payment method (bank transfer, MoMo, GoPay, PIX), buyer transfers fiat directly, then exchange releases crypto. Faster and cheaper than card buys; main risk is social-engineering scams targeting buyers. Pick sellers with high reputation (≥100 trades, ≥98% completion).
CeFi earn — the Celsius lesson
In 2021, "earn 8-18% APY on USDC" sounded amazing. Then Celsius, BlockFi, and Voyager all collapsed in 2022, taking $billions of customer deposits to zero. The lesson: CeFi yield isn't magic — it comes from the exchange lending your deposit out, and if borrowers default or the exchange becomes insolvent, your deposit is at risk. Rule of thumb: flexible savings on major exchanges (Binance, Coinbase, Kraken) at 3-6% on stablecoins is reasonable. Anything above 10% on a stablecoin is taking serious counterparty risk you may not be aware of.
Launchpad / IEO — survivorship bias in action
Launchpads sound like "exclusive early access" but the historical record is harsh: most IEO tokens dump 60-95% in the months after listing. The few moonshots (BNB-era Binance Launchpad in 2019) create FOMO that masks the long tail of failures. The math: even if 1 in 20 IEOs returns 10×, you need to participate in all 20 to capture that one — and most beginners concentrate capital in 1-2 launches, losing everything when those don't win the lottery. Skip unless you're prepared to lose 100% of what you commit.
Frequently Asked Questions
+Why does a CEX swap feel instant but a DEX swap takes 10 seconds?
CEX swaps don't touch the blockchain — they're just internal database updates. DEX swaps need a block to be mined/validated, which takes 12 seconds on Ethereum L1, 400ms on Solana, ~2 seconds on Base/Arbitrum.
+Which is safer for a beginner — CEX or DEX?
For first buys, a regulated CEX (Coinbase, Kraken, Binance) is usually safer because the platform handles security for you. Once you understand wallets and know how to read transaction prompts, DEXes give you full custody but require careful clicking — wallet drainers exclusively target DEX users.
+Can I lose money on a CEX even without trading?
Yes, three ways: (1) the exchange is hacked and your balance is gone; (2) the exchange goes insolvent (Mt. Gox, FTX); (3) the exchange freezes your withdrawals due to a regulatory action or compliance review. None of these touch your account directly — they're infrastructure risks you bear by being a customer.
+What is KYC and why do CEXes require it?
Know Your Customer is identity verification — ID upload + selfie. Required by anti-money-laundering laws in most jurisdictions. DEXes don't require KYC because there's no company in the loop to enforce it; the smart contract serves anyone with a wallet.
+Spot vs futures — which should a beginner pick?
Spot, almost always. Spot has one risk (price moves). Futures adds leverage (10-100×), liquidation (your collateral vanishes on a small adverse move), and funding rates (0.5-3% of collateral lost per day). Industry data: 60-80% of retail futures traders lose money within 6 months. Spot has no equivalent failure mode beyond price drops.
+Is margin trading just futures with extra steps?
Different mechanics, similar risk. Futures is a synthetic derivative position with leverage built in. Margin is real spot trading where you borrow funds from the exchange to amplify. Both have liquidation. Both charge ongoing fees (funding for futures, interest for margin). For beginners, both are dangerous and the choice between them is academic — neither is appropriate until you understand spot deeply.
+Do grid bots actually work?
Yes in genuinely sideways markets — earning small spreads on each completed grid pair. No in strongly trending markets — you accumulate the losing side and end up holding the bag. Net-net: grid bots are tools that require correct market regime identification. Most users deploy them in bull markets where they look amazing, then get hammered when the trend reverses. They're not "passive income"; they're leveraged on your reading of market conditions.
+How do I evaluate a copy-trading lead trader?
Look beyond raw return. Check: max drawdown (how bad was their worst loss?), sample period (anything under 6 months is selection bias), number of copiers (high social proof isn't skill), performance during 2022 and 2024 corrections (did they survive bear markets?). Most "200% in 3 months" lead traders blow up within 12 months. Diversify across 3-5 leads if you choose to use this product at all.
+Do trading products differ between CEX and DEX?
Mostly yes. Spot exists on both (Uniswap swaps are essentially spot). Futures exists on both (perp DEXes like dYdX, GMX, Hyperliquid). Margin exists primarily on CEXes (a few DEX lending protocols offer something similar). Grid bots exist on both (CEX-built or third-party DEX bots). Copy trading is mostly a CEX product — it requires identity-tagged lead traders, which doesn't fit DEX's pseudonymous model.
+Convert vs Spot — when is each one right?
Convert is for tiny one-off swaps where you don't want to deal with an orderbook. Spread is 0.5-2% baked into the quote. Spot is for any amount over ~$50 because the orderbook fee (0.1%) plus a tight market spread totals ~0.15% on a major pair — 10× cheaper than convert. Rule: under $50, convert is fine; over $50, use spot.
+Is DCA actually better than lump-sum?
Mixed historical evidence. Lump-sum invested at any past start date has beaten DCA over long enough horizons because markets trend up. But DCA wins emotionally — it removes the "did I buy the top?" anxiety that derails most retail. For most beginners DCA is the right choice even if it underperforms slightly: it's the strategy you'll actually stick with. The best strategy you can't commit to is worse than a mediocre strategy you can.
+Is P2P safe for buying crypto with VND/IDR/BRL?
Yes if you pick reputable sellers (≥100 completed trades, ≥98% completion rate) and never release escrow without verifying the fiat actually arrived in your bank app. The exchange's escrow protects you on the crypto side; the fiat side is a normal bank transfer between two real bank accounts. Scams target inexperienced buyers — never release crypto based on a screenshot, always verify in your own bank app.
+Are exchange savings accounts safe?
Flexible savings on a major regulated exchange (USDC at 3-6% APY on Binance, Coinbase, Kraken) is reasonable for amounts you would otherwise leave idle on the exchange. Fixed-term locks and any APY above ~10% on stablecoins carries meaningful counterparty risk. The 2022 collapses of Celsius, BlockFi, and Voyager (all "high-yield" CeFi platforms) wiped out customer deposits — assume any yield product can do the same and size accordingly.
+Should I trust an exchange launchpad/IEO?
Trust the exchange to run the sale fairly. Don't trust the token to appreciate. Historical data: most IEO tokens dump 60-95% post-listing within 12 months. A few outliers (Polygon, BNB-era launchpads) skew the perception of "launchpad returns" but the median outcome is negative. Treat it like a lottery ticket — only commit what you're prepared to write off completely.
+Why do crypto options exist if futures already give leverage?
Three reasons: (1) options have asymmetric payoff — limited loss (just the premium paid), potentially large gain; (2) sophisticated traders use them to hedge spot or futures positions; (3) selling options generates income (with unlimited downside risk). For beginners, none of these are reasons to trade options — futures already covers leverage, hedging requires understanding the Greeks, and selling options is one of the fastest ways to blow up an account.