Mechanism of CFD Trading
Understanding Long & Short Positions, Leverage, and Margin
For those new to investing or trading, it’s essential to understand the core concepts of Long and Short positions, Leverage, and Margin. Below, we explain the basics along with practical points to keep in mind.
1. Long and Short Positions
Long Position
A long position is taken when you expect an asset’s price to rise. If the price goes up, you profit; if it goes down, you incur a loss.
Transaction flow: Place buy order → Broker (or exchange) executes → Hold position → Close position to realize profit or loss
In stocks, additional income like dividends may apply, and in bonds, interest. In CFDs, dividend adjustments can occur.
Short Position
A short position is taken when you expect an asset’s price to fall. In futures or CFD trading, you can enter a short position without borrowing, but for spot stocks, borrowing is required.
Spot stock process: Borrow stock → Sell in the market → Buy back at a lower price → Return stock and realize profit
(In CFDs or futures, borrowing is not needed; you can open and close positions directly.)
Short positions carry obligations like dividend payments, borrowing costs, and theoretically unlimited loss potential, so risk management is crucial.
2. Leverage and Margin
Leverage
Leverage is the ratio of the position value to your own capital. For example, 10x leverage means 1 unit of capital controls 10 units of market exposure.
Effect: Both profits and losses are amplified, and higher volatility assets increase risk rapidly.
Formula:
Leverage = Position Value ÷ Account Equity = 1 ÷ Initial Margin Rate
Margin
Initial Margin: Minimum deposit required to open a position
Maintenance Margin: Minimum balance needed to maintain the position. Falling below triggers a margin call or forced liquidation
Margin types:
Cross Margin: Entire account balance absorbs losses
Isolated Margin: Margin fixed per position
Example: Account equity 1,000 USD, leverage 20:1 → Maximum position 20,000 USD
1% price increase → Profit 200 USD → Account equity up 20%
5% price decrease → Possible full loss of account equity
3. Margin Calculation
Basic Formulas
Initial Margin = Notional Value × Initial Margin Rate
Maintenance Margin = Notional Value × Maintenance Margin Rate
Notional Value Calculation
Stock CFD: Price × Quantity
FX: Trade size (lots) × Contract unit × Exchange rate
Index/Futures: Points × Contract value per point × Number of contracts
Examples
Stock CFD: Apple 150 USD, buy 100 shares, margin rate 10% → Notional value 15,000 USD, margin 1,500 USD
FX: EUR/USD 1.1200, buy 1 lot (100,000 EUR), margin rate 2% → Notional value 112,000 USD, margin 2,240 USD
Margin Call & Forced Liquidation
(Account balance + unrealized P&L) < Maintenance Margin → triggers margin call or forced liquidation
Stop-loss price can be calculated as Allowed Loss ÷ Position Size
4. Trading Costs
Spread: Difference between bid and ask price; cost is incurred immediately on entry
Commission: Fixed or percentage-based depending on trade size; varies by broker
Swap/Overnight Financing: Cost for holding positions overnight, reflecting interest rate differences, commodity storage/transport costs, or futures contango/backwardation
Other Costs: Slippage, requotes, taxes, currency conversion, etc.
5. Risk Management and Practical Strategies
Position Sizing: Risk only 0.5–2% of account equity; adjust using volatility indicators like ATR
Loss Management: Set stop-loss in advance and monitor maintenance margin continuously
Cost Optimization: Minimize spread/commission for short-term trades; manage swap/rollover for long-term positions
Broker Selection: Check fee structure, execution quality, asset segregation, and regulatory status
Stress Testing: Consider extreme volatility, liquidity crises, and broker risk to ensure account stability
6. Summary
Long: Betting on price increase
Short: Betting on price decrease
Leverage: Participate in a large market with small capital, but both profits and losses are magnified
Margin: Notional value × margin rate; insufficient margin triggers margin call or liquidation
Trading Costs: Consider spreads, commissions, swaps, etc. comprehensively
Risk Management: Position sizing, stop-loss setting, cost optimization, broker selection, and stress testing are essential