# Spot Trading

Learn how to trade synthetic assets on DSwap, DI Network's spot trading platform that provides access to global markets through oracle-based pricing.

## Getting Started

### Connect Your Wallet

1. Visit the DSwap interface
2. Click "Connect Wallet"
3. Select your preferred wallet (MetaMask, WalletConnect, etc.)
4. Approve the connection

### Fund Your Account

Before trading, you need DUSD:

1. **Mint DUSD**: Deposit collateral (ETH, WBTC, USDC) to mint DUSD
2. **Buy DUSD**: Purchase from DEXs like Uniswap
3. **Bridge DUSD**: Transfer from other supported chains

## Making Your First Trade

### Step 1: Select Assets

1. Choose your input asset (what you're selling)
2. Choose your output asset (what you're buying)
3. Available assets include crypto, commodities, equities, and forex

### Step 2: Enter Amount

1. Enter the amount you want to trade
2. The interface shows the estimated output amount
3. Review the exchange rate and fees

### Step 3: Execute Trade

1. Click "Swap" to proceed
2. Approve the transaction in your wallet
3. Wait for confirmation (usually 1-2 blocks)

## Trading Interface

### Asset Selection

```
From: DUSD (1000)
  ↓ [Swap Button]
To: xBTC (0.025)

Exchange Rate: 1 DUSD = 0.000025 xBTC
Fee: 3 DUSD (0.3%)
```

### Price Information

* **Oracle Price**: Real-time price from Chainlink/Pyth
* **No Slippage**: Exact amounts based on oracle pricing
* **Fee Display**: Transparent 0.3% trading fee

## Supported Assets

### Cryptocurrencies

* **xBTC**: Synthetic Bitcoin
* **xETH**: Synthetic Ethereum
* **xBNB**: Synthetic Binance Coin
* **xSOL**: Synthetic Solana

### Commodities

* **xGOLD**: Synthetic Gold
* **xSILVER**: Synthetic Silver
* **xOIL**: Synthetic Crude Oil

### Equities

* **xAAPL**: Synthetic Apple Stock
* **xTSLA**: Synthetic Tesla Stock
* **xGOOG**: Synthetic Google Stock

### Forex

* **xEUR**: Synthetic Euro
* **xGBP**: Synthetic British Pound
* **xJPY**: Synthetic Japanese Yen

## Trading Strategies

### Dollar-Cost Averaging (DCA)

Gradually build positions over time:

1. Set a regular schedule (daily/weekly)
2. Trade fixed DUSD amounts
3. Reduce timing risk and volatility impact

### Swing Trading

Trade based on price movements:

1. Monitor asset price trends
2. Buy during dips, sell during peaks
3. Use technical analysis for entry/exit points

### Portfolio Rebalancing

Maintain target asset allocation:

1. Set target percentages for each asset
2. Regularly rebalance to maintain ratios
3. Use DSwap for efficient rebalancing

## Risk Management

### Position Sizing

* Never risk more than 5% of portfolio on single trade
* Start with small positions to learn the platform
* Gradually increase size as you gain experience

### Diversification

* Spread investments across asset categories
* Don't concentrate in single asset or sector
* Consider correlation between assets

### Stop Losses

While DSwap doesn't have built-in stop losses:

1. Set mental stop loss levels
2. Monitor positions regularly
3. Execute manual stops when needed

## Fees and Costs

### Trading Fees

* **Standard Fee**: 0.3% per trade
* **Minimum Fee**: 0.1 DUSD
* **Maximum Fee**: 100 DUSD per transaction

### Fee Optimization

* **Batch Trades**: Combine multiple swaps to save on gas
* **DI Token Discounts**: Pay fees with DI for 20% discount
* **Volume Discounts**: Higher volume traders get reduced fees

## Advanced Features

### Batch Trading

Execute multiple trades in one transaction:

1. Add multiple trade pairs to batch
2. Review total fees and gas costs
3. Execute all trades atomically

### Price Alerts

Set up notifications for price movements:

1. Choose asset and target price
2. Set alert type (above/below/percentage change)
3. Receive notifications via email/push

### Trading History

Track your performance:

1. View all past trades
2. Calculate profit/loss
3. Export data for tax reporting

## Common Issues

### Transaction Failures

**Cause**: Insufficient gas or network congestion **Solution**: Increase gas limit or wait for lower congestion

### Price Differences

**Cause**: Oracle price updates between quote and execution **Solution**: Use slippage tolerance or retry transaction

### Asset Not Available

**Cause**: Asset trading paused or not supported **Solution**: Check asset status or try alternative assets

## Best Practices

### Before Trading

* Research the underlying asset
* Understand market conditions
* Check oracle price accuracy
* Ensure sufficient DUSD balance

### During Trading

* Double-check trade details
* Monitor gas prices
* Use appropriate slippage settings
* Keep transaction receipts

### After Trading

* Verify trade execution
* Update portfolio tracking
* Plan next moves
* Review performance

## Mobile Trading

### Mobile Interface

* Responsive design works on all devices
* Touch-optimized controls
* Same features as desktop

### Mobile Wallets

* MetaMask Mobile
* Trust Wallet
* Rainbow Wallet
* WalletConnect compatible wallets

## Tax Considerations

### Record Keeping

* Save all transaction hashes
* Track cost basis for each trade
* Note dates and amounts
* Calculate gains/losses

### Tax Tools

* Export trading history
* Use crypto tax software
* Consult tax professionals
* Understand local regulations

## Getting Help

### Support Channels

* **Discord**: Real-time community support
* **Telegram**: Official announcements
* **Documentation**: Comprehensive guides
* **FAQ**: Common questions answered

### Community Resources

* **Trading Tips**: Community-shared strategies
* **Market Analysis**: Technical and fundamental analysis
* **Educational Content**: Tutorials and guides
* **AMAs**: Regular community sessions
