What is spot vs futures trading?
Spot and futures are the two fundamentally different ways a bot can trade the same market, and confusing them is one of the fastest ways to blow up an account. In spot trading you buy the actual asset with your own cash and own it outright — the worst case is the asset going to zero. In futures trading you trade a leveraged contract that tracks the asset; you can profit from falling prices and amplify gains, but you also pay recurring funding fees and can be liquidated — losing your whole margin on a routine move that spot would have shrugged off. This guide lays out exactly how each works, the four differences that matter for a bot, and why almost every beginner bot should start on spot.
What spot trading is
Spot trading is the simple, intuitive kind: you exchange cash for an asset at the current ("spot") price and you own it. Buy 0.1 BTC and you hold 0.1 BTC. There is no leverage unless you explicitly borrow, no funding fee, and no liquidation — if the price falls, your position is worth less but it is never forcibly closed. The most you can lose is what you put in. This is the foundation every crypto bot guide starts from.
What futures trading is
A futures contract is an agreement whose value tracks an underlying asset, traded with leverage and margin. The dominant crypto form is the perpetual swap — a futures contract with no expiry, kept in line with spot by a periodic funding rate paid between longs and shorts. Futures let a bot go short to profit from falling prices and use leverage to control a large position with small margin — but that leverage cuts both ways, and a move against you can trigger liquidation.
The four key differences
1. Ownership: spot owns the asset; futures hold a contract. 2. Leverage: spot is 1× by default; futures let you take 5–125× — amplifying both gains and losses. 3. Direction: spot mainly profits from rises; futures profit from rises or falls. 4. Ongoing cost & ruin risk: spot has none beyond fees; futures charge funding and can liquidate you, as covered in the futures bot guide.
Spot vs futures in code
With ccxt the difference is mostly the market type and an explicit leverage call. The order logic is otherwise identical to the crypto bot guide.
python · spot_vs_futures.py# SPOT — own the asset, 1x, no liquidation
spot = ccxt.binance({'apiKey': K, 'secret': S})
spot.create_market_buy_order('BTC/USDT', 0.01)
# FUTURES — leveraged perpetual, can short, can liquidate
fut = ccxt.binance({'apiKey': K, 'secret': S,
'options': {'defaultType': 'future'}})
fut.set_leverage(3, 'BTC/USDT') # 3x — small on purpose
fut.create_market_sell_order('BTC/USDT', 0.01) # a short — impossible on spot
Which should a bot use?
Futures add three new ways to lose — leverage, funding and liquidation — on top of the market risk you already face. A bot that is not yet consistently profitable on spot will simply lose money faster on futures. Prove your sizing, stops and edge on spot first; only graduate to low leverage once the strategy is demonstrably working and you understand liquidation math cold.
Getting started safely
Backtest your idea on the strategy backtester, build and paper trade it on spot, and run live on spot at the smallest size. Treat futures as an advanced graduation step, not a starting point — and never use leverage you have not first survived in a backtest and on paper.
Frequently asked questions
What is the difference between spot and futures trading?
In spot trading you buy and own the actual asset with your own cash, with no leverage, no funding fees and no liquidation — the most you can lose is what you put in. In futures trading you trade a leveraged contract that tracks the asset; you can profit from falling prices and amplify gains, but you pay recurring funding and can be liquidated, losing your whole margin on a move that spot would shrug off.
Should a beginner trading bot use spot or futures?
Spot, without exception. Futures add three new ways to lose — leverage, funding and liquidation — on top of ordinary market risk. A bot that is not yet consistently profitable on spot will only lose money faster on futures. Prove your sizing, stops and edge on spot first, and graduate to low leverage only once the strategy is demonstrably working.
Can you lose more than you invest in futures trading?
You can lose your entire margin, and with high leverage a routine price move can liquidate the position and wipe that margin out — something spot trading never does. Most retail futures venues auto-liquidate before your balance goes negative, but the practical outcome is the same: the full margin behind a leveraged position can vanish far faster than on spot.
What is a perpetual future and how does it differ from spot?
A perpetual future, or perpetual swap, is a futures contract with no expiry date that is kept close to the spot price by a periodic funding rate paid between longs and shorts. Unlike spot, it is leveraged, can be shorted, charges funding, and can be liquidated. It is the dominant futures instrument in crypto and behaves very differently from simply owning the asset.