Skip to content

Instantly share code, notes, and snippets.

@DinhKhai0201
Last active January 8, 2026 11:33
Show Gist options
  • Select an option

  • Save DinhKhai0201/58e9499563fa7526591f81a1ff77373e to your computer and use it in GitHub Desktop.

Select an option

Save DinhKhai0201/58e9499563fa7526591f81a1ff77373e to your computer and use it in GitHub Desktop.
token gitbook
# MegaBanX Documentation
---
## Introduction
Welcome to MegaBanX – a next-generation decentralized leverage trading protocol on MegaEth Network. MegaBanX combines decentralized perpetual trading with unified liquidity provision, enabling traders and liquidity providers to participate in global markets with capital efficiency.
This documentation covers everything from foundational concepts through advanced trading strategies and risk management for all user types.
---
# Overview
## About MegaBanX
MegaBanX is a decentralized exchange (DEX) protocol specializing in:
- **Perpetual Trading**: Trade crypto, forex, commodities, indices, and equities with leverage
- **USDC Collateral Model**: Stablecoin-backed trading with no counterparty risk
- **Unified Liquidity Pool**: LPs provide capital that powers all trading activity
- **Copy Trading**: Follow successful traders automatically with risk controls
- **Competitions & Tournaments**: Compete for rewards and demonstrate trading skill
### Key Features
| Feature | Benefit |
|---------|---------|
| Up to 100x Leverage | High capital efficiency for experienced traders |
| USDC Collateral | Stable, audited stablecoin backing all positions |
| Multi-Asset Markets | Trade crypto, forex, commodities beyond traditional silos |
| Transparent Liquidation | Oracle-driven liquidation with fair pricing |
| MBX Rewards | Earn platform token through trading activity and LP provision |
| Social Trading | Copy top traders or build your own track record |
### Key Statistics to Track
- Total Value Locked (TVL)
- 24h Trading Volume
- Active Traders
- Liquidity Pool Size
- MBX Circulating Supply
---
# Concepts
## High-Level Understanding Before Usage
Before using MegaBanX, understand these foundational concepts that underpin the protocol.
### Perpetual Trading Concepts
#### What Are Perpetual Contracts?
Perpetual contracts are derivatives with no expiration date, unlike traditional futures. They allow you to take leveraged positions on any underlying asset without needing to own the asset itself.
**Key Characteristics:**
- No settlement or expiration date
- Prices stay anchored to spot market through funding rates
- Available 24/7 with high leverage
- Require collateral (initial and maintenance margin)
#### The Funding Rate Mechanism
The funding rate is the core mechanism that keeps perpetual contract prices aligned with spot prices. It's a periodic payment between traders that incentivizes the market to converge.
**How It Works:**
When a perpetual contract trades at a **premium** (above the spot price):
- Long position holders pay shorts the funding rate
- This incentivizes shorts to open, pushing price back down
When a perpetual contract trades at a **discount** (below the spot price):
- Short position holders pay longs the funding rate
- This incentivizes longs to open, pushing price back up
**Funding Rate Components:**
The funding rate consists of two parts:
```
Funding Rate = Premium Index + Interest Rate (clamped by limits)
```
1. **Premium Index (P)**: Measures how much the perpetual price differs from spot
- Calculated from mark price vs. index price
- Time-weighted average over 8-hour window
- Positive if contract trades above spot, negative below
2. **Interest Rate (I)**: Cost of holding leverage
- Default: 0.01% per 8-hour period (0.03% daily)
- Adjusts with market conditions
- Clamped between ±0.05% buffer to prevent extremes
**Funding Settlement:**
- **Interval**: Every 8 hours (00:00, 08:00, 16:00 UTC by default)
- **Timing**: Must hold position at settlement time to pay/receive
- **Calculation**: `Funding Fee = Position Value × Funding Rate`
- **Position Value** (for USDC contracts): `Quantity × Mark Price`
**Example:**
Trader A holds a 10 BTC long position at mark price of $50,000, with funding rate at +0.01%:
- Position Value = 10 × $50,000 = $500,000
- Funding Fee = $500,000 × 0.01% = $50 USDC
- Result: Trader A pays $50 USDC to short holders
#### Understanding Long & Short Positions
**Long Position**: You profit if the asset price rises
- Opens by buying contracts
- Subject to positive funding rate payments (if rate is positive)
- Liquidated if price falls too much
**Short Position**: You profit if the asset price falls
- Opens by selling contracts
- Receives positive funding rate payments
- Liquidated if price rises too much
### USDC Collateral Model
#### Why USDC?
MegaBanX uses USDC stablecoin as the sole collateral. This provides:
- **Stability**: Price locked to $1 USD, no variance in collateral value
- **Composability**: Easy integration with DeFi ecosystem
- **Auditability**: Widely trusted stablecoin by Circle
- **Efficiency**: LPs know exact collateral, simplifying risk calculations
#### Margin Requirements
All traders must maintain collateral levels:
**Initial Margin**: Amount required to open a position
- Depends on leverage selected
- Higher leverage = lower percentage requirement
- Example: 10x leverage = 10% initial margin
**Maintenance Margin**: Amount required to keep position open
- Typically 50-75% of initial margin
- Position liquidated if equity falls below this
- Protects LPs from excessive losses
**Margin Ratio Formula:**
```
Margin Ratio = Account Equity / Position Value
```
- **100%**: Fully collateralized (no leverage)
- **50%**: 2x leverage maximum
- **10%**: 10x leverage maximum
- **1%**: 100x leverage maximum
#### Deposit & Withdrawal Flow
**Deposits:**
1. User sends USDC to MegaBanX smart contract
2. Instant credited to trading account
3. Can be used immediately for collateral
4. Non-custodial (user controls private keys)
**Withdrawals:**
1. Initiate withdrawal request
2. Amount must not be locked in active positions
3. Deduct any open trading losses
4. 1-block confirmation (or configured delay)
5. USDC returned to user wallet
### Unified Liquidity Pool
#### Pool Architecture
The Unified Liquidity Pool (ULP) is a single pool that:
- Receives USDC deposits from all liquidity providers
- Provides collateral for all trader positions across all markets
- Balances gains/losses across the entire platform
**Key Insight**: One pool funds all trading, not separate pools per asset.
#### How the Pool Sustains Trading
```
LP Capital + Trading Fees - Losses to Winning Traders = Pool Health
```
When traders profit, LP capital is used to pay them. When traders lose, those losses accrue to the pool. The trading fee structure ensures the pool remains net-positive.
#### LP Capital Efficiency
Because all traders share one pool:
- Capital isn't siloed (unlike per-market pools)
- Pool can handle market skew more efficiently
- High leverage possible due to capital depth
- Better liquidation support from larger capital base
### Funding Rates in Practice
#### As a Trader, How Do Funding Rates Affect Me?
**Scenario 1: You Go Long (Buy)**
If funding rate is +0.01% (positive):
- You PAY this rate to short holders
- Cost: (Position Value × 0.01%) per 8-hour period
- Every 8 hours, this is deducted from your account
If funding rate is -0.01% (negative):
- You RECEIVE this from short holders
- Gain: (Position Value × 0.01%) per 8-hour period
**Scenario 2: You Go Short (Sell)**
If funding rate is +0.01% (positive):
- You RECEIVE this from long holders
- Gain: (Position Value × 0.01%) per 8-hour period
If funding rate is -0.01% (negative):
- You PAY this to long holders
- Cost: (Position Value × 0.01%) per 8-hour period
**Strategic Use of Funding Rates:**
High funding rates signal that longs are overcrowded (bullish sentiment). Smart traders may:
- Open short positions to earn high funding
- Wait for rate to decrease before opening longs
- Use as sentiment indicator alongside technical analysis
### Liquidation Model
#### What Is Liquidation?
Liquidation is automatic position closure by the protocol when your collateral falls below the maintenance margin threshold. It protects the liquidity pool from catastrophic losses.
#### Liquidation Triggers
**Hard Liquidation** occurs when:
```
Account Equity < (Position Value × Maintenance Margin %)
```
Example with 10x position ($10,000 notional, $1,000 collateral):
- Maintenance margin: 5% = $500
- If account equity < $500 → liquidation triggers
- Price must move 5%+ against you to trigger
#### Liquidation Mechanics
1. **Detection**: Liquidation bot detects breach in margin ratio
2. **Position Closure**: Market order issued to close position
3. **Price**: Closing price = mark price ± liquidation fee
4. **Fee Distribution**:
- 50% to liquidator (incentive for execution)
- 50% to LP fund (capital protection)
5. **Surplus**: Any remaining collateral returned to trader
#### Liquidation Fee Structure
| Leverage | Liquidation Fee | Price Movement to Liquidate |
|----------|-----------------|------------------------------|
| 2x | 2% | ~50% against position |
| 5x | 5% | ~20% against position |
| 10x | 10% | ~10% against position |
| 25x | 15% | ~4% against position |
| 50x | 20% | ~2% against position |
| 100x | 25% | ~1% against position |
**Key Insight**: Higher leverage = lower price movement tolerance. Always manage position size accordingly.
#### Avoiding Liquidation
1. **Use Appropriate Leverage**: Don't exceed your risk tolerance
- Beginner: 2-5x max
- Intermediate: 10-25x max
- Advanced: 25-100x with strict risk management
2. **Monitor Margin Ratio**: Set alerts at 20% buffer above maintenance
- If maintenance = 5%, alert at 10%
3. **Use Stop-Loss Orders**: Close losing positions before liquidation
- Execute at your chosen level, not forced at worse price
4. **Diversify Position Size**: Don't put all capital in one trade
- Limit single position to 10-20% of account
5. **Account for Funding**: Model funding costs into position economics
- High funding = higher break-even price needed
### Performance & Competition Philosophy
#### Why Competitions Matter
Competitions serve multiple purposes:
1. **Community Engagement**: Give traders a goal and leaderboard
2. **Skill Validation**: Transparent proof of trading ability
3. **Marketing**: Top traders become brand ambassadors
4. **Volume Incentive**: Concentrated trading activity
5. **MBX Distribution**: Fair way to distribute rewards
#### Competition vs. Gambling
MegaBanX competitions emphasize **skill-based performance**, not luck:
- Long-term horizons reduce variance impact
- Scoring rewards risk-adjusted returns (Sharpe ratio)
- Losers don't lose access or get penalized
- Focus on consistency, not single lucky trades
### Copy Trading Concept
#### What Is Copy Trading?
Copy trading lets you automatically replicate the positions of successful traders:
**Follower**: You mirror another trader's trades at your chosen scale
**Leader**: Your trades are copied by followers, earning you rewards
#### How It Works
1. **Discovery**: Browse leaderboards, filter by strategy type
2. **Due Diligence**: Review leader's track record (ROI, Sharpe, win rate)
3. **Connection**: Deploy capital to "copy" this trader
4. **Automation**: When leader opens/closes, you do the same (scaled to your capital)
5. **Risk Control**: Set max position size, leverage caps, loss limits
6. **Earnings**: Leaders earn 10-20% performance fee on follower gains
#### Risk Controls for Followers
Every follower sets personal limits:
- **Max Leverage**: Prevent leader from using 50x if you only allow 10x
- **Max Position Size**: Cap individual position to X% of capital
- **Max Loss per Trade**: Stop copying if single trade exceeds Y%
- **Daily Loss Limit**: Pause copying if daily losses exceed Z%
- **Slippage Tolerance**: Adjust for market impact differences
### Rewards & Alignment (MBX)
#### MBX Token Overview
**MBX** is the native governance and incentive token of MegaBanX on the MegaEth Network.
**Key Properties:**
- Issued on: MegaEth Network
- Type: ERC-20 standard
- Use Cases: Governance, incentives, fee discounts, rewards distribution
- Circulating Supply: [To be specified]
- Max Supply: [To be specified]
#### How MBX Is Earned
**1. Trading Rewards**
- Earn MBX proportional to trading volume
- Distributed to both profitable and losing traders
- Volume-based: 0.001 MBX per $1,000 notional (example)
- Daily or weekly distribution
**2. Liquidity Provider Rewards**
- Earn MBX as % of LP pool capital
- Additional bonus for longer lock-up periods
- Distributed from protocol fee revenue
- Example: 2% annual distribution for flexible LPs, 5% for 1-year locked
**3. Copy Trading Rewards**
- Leaders earn rewards on follower capital
- Performance bonus if followers profit
- Example: +2 MBX bonus per $100K follower capital if AUM grows
**4. Tournament Prizes**
- Prize pool funded by 20% of trading fees
- Distributed to top 100 finishers
- Reward formula: `Prize = Pool × (Rank Coefficient)`
- 1st place: 10% of pool
- Top 10: 60% of pool
- Top 100: 100% of pool (full distribution)
**5. Early Supporter Bonus**
- Historical bonus for early users/LPs
- Vesting schedule: Linear over 12 months (example)
- Retroactive bonus based on TVL, volume, or other metrics
#### MBX Reward Rates (Example Structure)
| Activity | MBX per Unit | Frequency | Notes |
|----------|--------------|-----------|-------|
| Trading Volume | 0.001 per $1,000 | Daily | All traders qualify |
| LP Deposit (Flexible) | 2% APY | Weekly | On LP token balance |
| LP Deposit (1-Year Lock) | 5% APY | Weekly | Higher tier incentive |
| Copy Trading (Leader) | 2 MBX per $100K AUM | Monthly | If AUM increases |
| Tournament (1st) | 1,000 MBX | Per competition | Weekly tournament |
| Tournament (Top 10) | 100-500 MBX | Per competition | Tiered distribution |
#### What MBX Is NOT
To avoid confusion, clarify what MBX doesn't provide:
- **NOT a security**: MBX is not stock or equity in MegaBanX
- **NOT a loan**: Holding MBX does not obligate the protocol to you
- **NOT a guarantee of returns**: Rewards distribution depends on protocol activity
- **NOT a stablecoin**: MBX price fluctuates with market conditions
- **NOT required for trading**: Traders can use MegaBanX without holding MBX
- **NOT inflation-proof**: MBX supply may increase; value depends on demand
#### Token Emission Schedule (Example)
| Year | Emission | Mechanism | Notes |
|------|----------|-----------|-------|
| Year 1 | 10M MBX | Trading rewards, LP bonuses, tournaments | Bootstrap phase |
| Year 2 | 8M MBX | Reduced allocation as protocol matures | 20% decrease |
| Year 3 | 6M MBX | Further reduction | 25% decrease |
| Year 4+ | 2M MBX/year | Long-term sustainability | Maintenance level |
---
# Getting Started
## Practical Onboarding
Get up and running on MegaBanX in minutes.
### Access & Wallet Connection
#### Supported Wallets
MegaBanX supports any ERC-20 compatible wallet:
- **MetaMask**: Most popular, browser extension or mobile
- **WalletConnect**: Connects to 100+ wallets
- **Ledger**: Hardware wallet for maximum security
- **Trezor**: Alternative hardware wallet
- **Coinbase Wallet**: Integrated into Coinbase ecosystem
- **Trust Wallet**: Mobile-first wallet
#### Connecting Your Wallet
1. Visit [megabanx.com](https://megabanx.com) (example URL)
2. Click **"Connect Wallet"** in top-right corner
3. Select your wallet type
4. Approve connection request in wallet
5. Verify you're on **MegaEth Network** (chain ID: [specify])
6. Dashboard loads with your address
#### Network Setup for New Users
If you haven't used MegaEth before:
1. Open MetaMask settings
2. Go to **Networks** → **Add Network**
3. Enter:
- Network: MegaEth
- RPC URL: [provide URL]
- Chain ID: [provide ID]
- Currency: ETH
- Block Explorer: [provide URL]
4. Save and switch to network
### Supported Networks
#### MegaEth Network
**Primary Network for MegaBanX**
| Parameter | Value |
|-----------|-------|
| Network | MegaEth Mainnet |
| Chain ID | [Specify] |
| RPC URL | [Provide endpoint] |
| Block Time | ~2 seconds |
| Finality | Instant |
| Currency | ETH |
**Supported Assets:**
- USDC (Circle's stablecoin)
- MBX (native token)
- Major tokens: ETH, BTC, stables
#### Bridging to MegaEth
If your USDC is on another chain, bridge first:
1. Visit [megaethbridge.com](https://megaethbridge.com) (example)
2. Select source chain (Ethereum, Polygon, Optimism, etc.)
3. Enter USDC amount
4. Pay bridge fee (~0.1-0.5%)
5. Confirm transaction in wallet
6. Wait 5-20 minutes for confirmation
7. USDC appears on MegaEth
### Depositing USDC
#### Step-by-Step Deposit
1. **Connect Wallet**
- Ensure you're on MegaEth network
- Click "Connect Wallet" if not already done
2. **Navigate to Wallet**
- Click **Wallet** in left sidebar
- Click **Deposit**
3. **Select Asset & Amount**
- Token: USDC (default)
- Amount: Enter USDC quantity
- Review fee: Usually zero on layer-2s
4. **Approve Transaction**
- Click **Approve USDC Spending**
- Confirm in wallet (gas fee applies)
- Wait for confirmation
5. **Complete Deposit**
- Click **Deposit** button
- Confirm final transaction
- Wait for block confirmation
6. **Verify Funds**
- Funds appear instantly in trading account
- Check Wallet tab to verify balance
#### Important Notes
- **Minimums**: No minimum deposit (but gas fees may apply)
- **Fees**: Zero deposit fees on MegaBanX (gas only)
- **Speed**: Instant on MegaEth (~2 second block time)
- **Safety**: Your private keys never leave your wallet
### Withdrawing Funds
#### Step-by-Step Withdrawal
1. **Close All Positions**
- Go to **Positions** tab
- Close any open trades (otherwise capital is locked)
2. **Navigate to Wallet**
- Click **Wallet** in left sidebar
- Click **Withdraw**
3. **Specify Amount**
- Amount: Enter USDC to withdraw
- System shows available balance (minus locked collateral)
- Can't exceed available amount
4. **Request Withdrawal**
- Click **Request Withdrawal**
- Confirm in wallet if signature required
- No gas fee (off-chain signature)
5. **Processing**
- Withdrawal queued for execution
- Processed next block confirmation (~2 seconds)
- USDC sent to your wallet
6. **Verify Receipt**
- Check your wallet for USDC
- Verify amount matches request
#### Withdrawal Requirements
- **No Active Positions**: Must close all trades first
- **Minimum to Remain**: If LP, check minimum LP requirement
- **Processing Time**: ~2-30 seconds depending on network load
### Basic Terminology
Reference this glossary of common terms before trading.
| Term | Definition |
|------|-----------|
| **Perpetual/Perp** | A leverage contract with no expiration date |
| **Long** | Betting asset price will rise; profit if it does |
| **Short** | Betting asset price will fall; profit if it does |
| **Entry Price** | Price at which you opened your position |
| **Mark Price** | Current price used for funding and liquidation |
| **Index Price** | Spot price from external data feeds (oracle) |
| **Liquidation Price** | Price at which your position auto-closes |
| **Position Size** | Total notional value of your open position |
| **Collateral** | USDC you've deposited to back your positions |
| **Leverage** | Multiplier on your collateral (e.g., 10x = $1K controls $10K position) |
| **Initial Margin** | % of position notional required to open (e.g., 10% for 10x) |
| **Maintenance Margin** | % of position notional required to stay open (e.g., 5% for 10x) |
| **Funding Rate** | Payment between traders to keep perpetual price anchored to spot |
| **Funding Fee** | Actual amount paid/received based on your position size and funding rate |
| **Slippage** | Difference between expected execution price and actual price |
| **Price Impact** | How much your trade moves the market price |
| **Liquidation Fee** | % of position paid to liquidator and LP fund when liquidated |
| **PnL (Profit/Loss)** | Your unrealized gains or losses on open positions |
| **ROI** | Return on Investment as % (e.g., +25% ROI = 25% gain on original capital) |
| **Sharpe Ratio** | Risk-adjusted return metric (higher = better risk-adjusted performance) |
---
# Trading
## User-Facing Mechanics
Everything you need to know about placing and managing trades on MegaBanX.
### Trading Overview
#### The Trading Interface
**Main Dashboard Elements:**
1. **Markets Selector**: Filter by asset class (crypto, forex, commodities, indices, equities)
2. **Price Chart**: Candlestick chart with technical indicators
3. **Order Book**: Real-time bids/asks from liquidity pool
4. **Order Placement Panel**: Where you enter trade parameters
5. **Position Monitor**: Shows all open positions and profit/loss
6. **Recent Trades**: Order history and execution logs
#### Market Selection
Traders choose from multiple asset classes:
- **Crypto Markets**: BTC, ETH, major altcoins
- **Forex Markets**: EUR/USD, GBP/USD, and 100+ pairs
- **Commodities**: Gold, Silver, Oil, Natural Gas
- **Indices**: SPX (S&P 500), NDAQ, HSI, CAC40
- **Equities**: Top 100 stocks (e.g., AAPL, MSFT, TSLA)
### Perpetual Contracts
#### Anatomy of a Perpetual Contract
Each perpetual on MegaBanX is defined by:
| Parameter | Example | Purpose |
|-----------|---------|---------|
| **Asset Pair** | BTC/USDC | What you're trading |
| **Mark Price** | $45,250 | Current settlement price |
| **Index Price** | $45,200 | Spot oracle price |
| **Funding Rate** | +0.01% | Current 8-hour rate |
| **Open Interest Long** | $500M | Total long notional |
| **Open Interest Short** | $480M | Total short notional |
| **24h Volume** | $2.5B | Trading activity |
| **Basis** | +$50 | Premium over spot |
### Long & Short Positions
#### Opening a Long Position
**Scenario**: You believe BTC will rise to $50,000
**Step 1: Select Market**
- Click BTC/USDC trading pair
**Step 2: Choose Long**
- Click **Long** button (or buy side)
**Step 3: Set Parameters**
- Size: 1 BTC (notional = $45,250)
- Leverage: 10x
- Collateral: $4,525 USDC
**Step 4: Review Details**
- Entry Price: $45,250
- Liquidation Price: $40,725 (10% below entry)
- Margin Used: 10% of account
- Est. Funding Cost: $0.40 per 8 hours
- Max Profit: Unlimited (as price rises)
- Max Loss: $4,525 (collateral deposited)
**Step 5: Submit Order**
- Click **Buy/Long**
- Confirm in wallet if required
- Position opens immediately at mark price
#### Opening a Short Position
**Scenario**: You believe ETH will fall to $2,000
**Step 1: Select Market**
- Click ETH/USDC trading pair
**Step 2: Choose Short**
- Click **Short** button (or sell side)
**Step 3: Set Parameters**
- Size: 10 ETH (notional = $22,500)
- Leverage: 5x
- Collateral: $4,500 USDC
**Step 4: Review Details**
- Entry Price: $2,250
- Liquidation Price: $2,362 (5% above entry)
- Margin Used: 9% of account
- Est. Funding Income: +$0.20 per 8 hours (if rate positive)
- Max Profit: Limited by liquidation at $0 (unlikely)
- Max Loss: $4,500 (collateral)
**Step 5: Submit Order**
- Click **Sell/Short**
- Confirm in wallet
- Position opens immediately
#### Position Management
**After Position Opens:**
1. **Monitor P&L**
- Unrealized P&L shows in real-time
- Updates with each new mark price
2. **Add to Position**
- Click **Add Position** on same pair
- Increases size but uses more collateral
- New average entry price calculated
3. **Reduce Position**
- Click **Reduce/Close**
- Enter % or amount to close
- Closes oldest tranche first (FIFO)
- Realizes profit/loss on that portion
4. **Close Entire Position**
- Click **Close All**
- Closes entire position immediately
- Realizes full profit/loss
- Collateral freed up
### Leverage & Margin
#### Understanding Leverage Ratios
MegaBanX offers leverage from 1x (no leverage) to 100x, with corresponding margin requirements:
| Leverage | Initial Margin | Maintenance Margin | Max Favorable Move | Max Adverse Move |
|----------|-----------------|---------------------|-------------------|------------------|
| 1x | 100% | 100% | Unlimited | 100% to zero |
| 2x | 50% | 25% | Unlimited | 50% |
| 5x | 20% | 10% | Unlimited | 20% |
| 10x | 10% | 5% | Unlimited | 10% |
| 25x | 4% | 2% | Unlimited | 4% |
| 50x | 2% | 1% | Unlimited | 2% |
| 100x | 1% | 0.5% | Unlimited | 1% |
#### Calculating Your Liquidation Price
**Formula:**
```
For Long Position:
Liquidation Price = Entry Price × (1 - Maintenance Margin % + Fee %)
For Short Position:
Liquidation Price = Entry Price × (1 + Maintenance Margin % + Fee %)
```
**Example: 10x Long Position on BTC**
- Entry Price: $40,000
- Maintenance Margin: 5%
- Liquidation Fee: 10%
- Liquidation Price = $40,000 × (1 - 0.05 + 0.10) = $40,000 × 0.95 = $38,000
Price must fall 5% ($2,000) to hit liquidation.
#### Margin Ratio Alerts
MegaBanX sends alerts when margin usage is high:
- **Margin Ratio** = Account Equity / Position Value
- **Yellow Alert**: < 30% (position is 3.3x leveraged)
- **Red Alert**: < 15% (position is 6.7x leveraged, near danger zone)
- **Auto-Liquidation**: < maintenance threshold
**Best Practice**: Close or reduce positions when in red alert to avoid forced liquidation.
#### Adding Collateral
If your position is near liquidation, add more USDC:
1. Go to **Wallet**
2. Click **Deposit** to add more USDC
3. Deposit immediately credited
4. Margin ratio improves
5. Can now hold losing position longer
### Funding Rates in Practice
#### Monitoring Funding Rates
**Where to Find:**
- Markets page: Shows current funding rate for each perpetual
- Position page: Shows your funding cost/income per 8 hours
**Current Rates Example:**
- BTC: +0.008% (longs pay shorts)
- ETH: -0.002% (shorts pay longs)
- ADA: +0.015% (high positive, very bullish)
#### Funding Impact on Positions
**Example: 1 BTC Long at $40,000 with +0.01% Funding**
- Position Value: $40,000
- Funding Fee: $40,000 × 0.01% = $4
- Cost per 8 hours: $4
- Cost per day (3 cycles): $12
**If held 30 days:** $12 × 3.75 = $45 funding cost
**Incorporate into Trade Logic:**
- Need price to rise $45 minimum to break even on funding
- Equivalent to 0.11% price increase required
- Affects break-even threshold significantly on longer holds
#### High Funding Rate Opportunities
**When Funding is Very High (e.g., +0.05%):**
**Strategy 1: Short to Earn Funding**
- Open short position to collect high funding
- Profit even if price stays flat
- Risk: Price rises against you
**Strategy 2: Longing at Support**
- Open long at key support level
- Collect funding while waiting for breakout
- Risk: Break below support level
**When Funding is Very Negative (e.g., -0.03%):**
**Strategy 1: Long to Earn Funding**
- Open long position to collect funding
- Profit even if price stays flat
- Risk: Price falls against you
**Strategy 2: Short at Resistance**
- Open short at resistance level
- Collect funding while waiting for breakdown
- Risk: Break above resistance level
### Trading Fees
#### Fee Schedule
MegaBanX uses a tiered fee structure that decreases with higher volumes:
| Volume (30d) | Maker Fee | Taker Fee | Notes |
|--------------|-----------|-----------|-------|
| $0 - $100K | -0.02% | 0.08% | Maker rebate! |
| $100K - $1M | -0.01% | 0.06% | Reduced taker |
| $1M - $5M | 0% | 0.05% | Free maker |
| $5M - $10M | 0% | 0.04% | Reduced taker |
| $10M+ | 0% | 0.03% | Professional tier |
**Key Insight**: Makers get rebated (negative fee) for providing liquidity at rest.
#### Calculating Your Fee
**Example: You Buy 1 BTC at $40,000 (Taker Order)**
With $500K in 30-day volume:
- Taker Fee Rate: 0.05%
- Fee = $40,000 × 0.05% = $20
- You pay $20 in USDC
**Example: You Place Limit Order That Sits 10 Minutes (Maker Order)**
With $50K in 30-day volume:
- Maker Fee Rate: -0.02%
- Fee = $40,000 × (-0.02%) = -$8
- You earn $8 in USDC rebate!
#### Fee Reduction with MBX
Hold MBX token for additional fee discounts:
| MBX Held | Discount | Effective Taker Fee at Tier 1 |
|----------|----------|-------------------------------|
| 0 | 0% | 0.08% |
| 100 MBX | 10% | 0.072% |
| 1,000 MBX | 25% | 0.06% |
| 10,000 MBX | 50% | 0.04% |
#### Fee Distribution
Where do trading fees go?
```
Total Fees Collected
├── 50% → Liquidity Pool (protection)
├── 30% → MBX Stakers (governance incentive)
├── 15% → Trading Rewards (volume-based distribution)
└── 5% → Protocol Operations
```
### Market Hours
#### Trading Availability
MegaBanX operates **24/7** on blockchain; however, market liquidity varies:
| Asset Class | Liquidity Hours | Notes |
|-------------|-----------------|-------|
| **Crypto** | 24/7 | Constant liquidity |
| **Forex** | 17:00 UTC Sun - 21:00 UTC Fri | Synced with forex markets |
| **Commodities** | 08:00 UTC - 20:00 UTC | Liquid during US/Asia trading |
| **Indices** | 13:30 UTC - 20:00 UTC | Synced with stock market hours |
| **Equities** | 13:30 UTC - 20:00 UTC | US market hours extended |
#### After-Hours Trading (Limited Liquidity)
If you trade outside market hours:
- Liquidity is lower
- Spreads are wider
- Price impact is higher
- Slippage increases significantly
**Recommendation**: Avoid large positions outside main market hours unless experienced.
### Liquidations
#### How Liquidations Work on MegaBanX
**Liquidation Detection:**
1. Oracle continuously monitors mark price
2. Liquidation bot checks all positions every block (~2 seconds)
3. If equity < maintenance margin threshold, triggers liquidation
**Liquidation Execution:**
1. Bot submits market order to close position
2. Position sold at mark price (fair price)
3. Liquidation fee (5-25% depending on leverage) deducted
4. 50% of fee → liquidator, 50% → LP fund
5. Remaining collateral returned to trader
**Example: 50x BTC Long Position Gets Liquidated**
- Position: 1 BTC at $40,000 entry
- Collateral: $800 USDC (1% margin)
- Liquidation Fee: 20% (50x leverage tier)
- Price falls to: $39,600 (0.5% drop)
**Liquidation Price = $40,000 × 0.995 = $39,800** (with fee buffer)
**Execution:**
- Position closed at ~$39,600
- Liquidation Fee: $40,000 × 20% = $8,000 (exceeds collateral!)
- Shortfall: $7,200 covered by LP fund
- Trader loses all $800 collateral
#### Protecting Against Liquidation
**Leverage Management:**
- Start conservative (2-5x max for beginners)
- Increase only after proven track record
- Remember: 10x = 10% price move liquidates you
**Position Sizing:**
- Risk 1-2% per trade maximum
- Position size = Account Size ÷ (Leverage × 50)
- Example: $10,000 account at 10x → max $200 per trade
**Stop Losses:**
- Always set stop loss before entry
- 2-3% below entry for scalps
- 5-10% below entry for swings
**Monitoring:**
- Set alerts at 30% margin usage
- Check positions before bed/work
- Close if you can't monitor
---
# Markets
## Separated by Asset Class
Trade across multiple global markets from one platform.
### Crypto Markets
#### Spot Price vs. Perpetual
- **Spot Price**: Actual market price you'd pay to own the asset
- **Perpetual Price**: Leverage price on MegaBanX (should stay near spot via funding)
#### Available Crypto Pairs
| Pair | Leverage | Spread | Volume (24h) |
|------|----------|--------|--------------|
| BTC/USDC | Up to 100x | ~2 bps | $800M+ |
| ETH/USDC | Up to 100x | ~3 bps | $500M+ |
| SOL/USDC | Up to 50x | ~5 bps | $200M+ |
| ADA/USDC | Up to 50x | ~8 bps | $100M+ |
| LINK/USDC | Up to 50x | ~10 bps | $50M+ |
#### Crypto Market Mechanics
**Mark Price Calculation:**
- Uses median of top 3 price feeds (Binance, Coinbase, Kraken)
- Updates every 1 second
- Prevents oracle manipulation
**Basis (Perpetual - Spot):**
- Positive basis: Perpetual more expensive (bullish)
- Negative basis: Perpetual cheaper (bearish)
- Funding rate normalizes basis to zero over time
#### Trading Strategies in Crypto
**Momentum Trading**
- Follow price breakouts with momentum indicators
- Long on breakout above resistance
- Short on breakdown below support
- Best with 5-10x leverage during high volatility
**Mean Reversion**
- Trade extremes expecting price to revert
- Short when RSI > 70, long when RSI < 30
- Use 3-5x leverage to allow reversions
- Set tight stops (2-3%)
**Funding Rate Arbitrage**
- Long at support with positive funding to earn yield
- Short at resistance with negative funding to earn yield
- Low leverage (1-2x) since you hold longer
- Collect funding multiple times
### Forex Markets
#### Major Pairs Available
| Pair | Leverage | Spread | Liquidity Hours |
|------|----------|--------|-----------------|
| EUR/USD | Up to 50x | ~1 pip | 17:00-21:00 UTC |
| GBP/USD | Up to 50x | ~2 pips | 17:00-21:00 UTC |
| USD/JPY | Up to 50x | ~1 pip | 17:00-21:00 UTC |
| AUD/USD | Up to 25x | ~2 pips | 12:00-20:00 UTC |
| CAD/USD | Up to 25x | ~2 pips | 18:00-21:00 UTC |
#### Forex Trading Considerations
**Funding Rates:**
- Lower than crypto (0.001-0.005% typically)
- Still worth monitoring on long holds
- Inversely correlated pairs have different rates
**News & Events:**
- Major economic releases cause spikes
- Fed/ECB meetings create volatility
- Best to avoid 30 minutes before scheduled news
**Carry Trade Opportunities:**
- High interest rate vs. low interest rate pairs
- Earn funding on favorable pairs
- Requires stable position for weeks/months
### Commodities
#### Metals & Energy Available
| Commodity | Leverage | Spread | Trading Hours |
|-----------|----------|--------|---------------|
| GOLD | Up to 50x | ~$0.20 | 08:00-20:00 UTC |
| SILVER | Up to 50x | ~$0.05 | 08:00-20:00 UTC |
| OIL (WTI) | Up to 50x | ~$0.05 | 12:00-20:00 UTC |
| NATGAS | Up to 25x | ~$0.02 | 12:00-20:00 UTC |
| COPPER | Up to 25x | ~$0.01 | 12:00-20:00 UTC |
#### Commodity Market Dynamics
**Gold (Safe Haven Asset)**
- Rises in risk-off markets
- Inverse correlation with US Dollar strength
- Lower volatility than crypto/equities
- Good hedge against portfolio risk
**Oil (Cyclical)**
- Rises in risk-on markets
- Highly correlated with economic growth
- Supply shocks cause spikes
- Geopolitical events matter
#### Commodity Trading Strategies
**Risk-Off Trades**
- Buy gold when stock markets fall
- Sell oil when risk appetite drops
- 5-10x leverage for small account management
**Macro Trades**
- USD strength → USD pairs down, commodities up
- Inflation expectations → Gold up, bonds down
- Long-term holds with 1-2x leverage
### Indices
#### Major Indices Available
| Index | Underlying | Leverage | Spread | Hours |
|-------|-----------|----------|--------|-------|
| SPX | S&P 500 | Up to 50x | ~0.5 points | 13:30-20:00 UTC |
| NDX | NASDAQ-100 | Up to 50x | ~1 point | 13:30-20:00 UTC |
| DXY | US Dollar Index | Up to 50x | ~0.2 points | 17:00-21:00 UTC |
| HSI | Hang Seng (HK) | Up to 25x | ~2 points | 01:00-08:00 UTC |
| FTSE | FTSE 100 (UK) | Up to 25x | ~2 points | 08:00-16:30 UTC |
#### Index Trading Benefits
- **Diversification**: Own entire economy/sector in one trade
- **Lower volatility**: Smoother price action than single stocks
- **Macro exposure**: Direct play on economic conditions
- **News-driven**: Clear catalysts (earnings, Fed, jobs)
#### Index Trading Strategies
**Trend Following**
- Long SPX above 50-day moving average
- Short NDX below 200-day moving average
- Use 5-10x leverage on confirmed trends
**Election/Political Hedging**
- Short SPX if major political uncertainty
- Long gold simultaneously as hedge
- 2-5x leverage for longer holds
### Equities
#### Available Stocks
| Stock | Market Cap | Volatility | Leverage |
|-------|-----------|-----------|----------|
| AAPL | Mega-cap | Low (~20%) | Up to 25x |
| MSFT | Mega-cap | Low (~20%) | Up to 25x |
| TSLA | Large-cap | High (~40%) | Up to 10x |
| AMZN | Mega-cap | Low (~22%) | Up to 25x |
| NVDA | Large-cap | High (~35%) | Up to 10x |
#### Equity Trading Considerations
**Trading Hours:**
- Synced to US market hours (13:30-20:00 UTC)
- European pre-market available (08:00-13:30 UTC) with lower liquidity
- Gaps possible at market open
**Earning Reports:**
- Volatility increases 50%+ during earnings
- Wide spreads before/after earnings
- Risk management crucial
**Dividend Impact:**
- Ex-dividend date: Price adjusts down by dividend amount
- No actual dividend paid on perpetual (contract settlement only)
- Mark important dates to avoid surprises
#### Equity Trading Strategies
**Growth Stock Momentum**
- Long NVDA, TESLA on breakouts above resistance
- Average into weakness, scale out into strength
- 5-10x leverage on highly volatile names
**Blue-Chip Value**
- Long AAPL, MSFT on dips to support
- Hold longer-term (weeks) for premium dividends effect
- 2-5x leverage on lower volatility
**Post-Earnings Drift**
- Watch for trend continuation after earnings
- Trade the 5-day post-earnings momentum
- Wait for volatility to decrease before entry
---
# Competitions
## Feature-Focused Documentation
Understand the competition mechanics and how to compete.
### Trading Tournaments
#### What Are Tournaments?
Monthly competitions where traders compete for MBX prize pools. Ranked by risk-adjusted returns, not raw gains.
**Key Facts:**
- Held every month, starting [Date]
- Entry: Free (no entry fee)
- Prize Pool: $100,000+ MBX per month
- Ranking: Sharpe Ratio (risk-adjusted performance)
- Duration: 4 weeks (rolling window)
#### Tournament Rules
1. **Eligibility**
- Must have account older than 7 days
- Minimum $100 USDC deposited
- Residents of [specify jurisdictions] only
2. **Ranking Metric: Sharpe Ratio**
- Measures return per unit of risk
- Formula: `(Average Return - Risk-Free Rate) / Standard Deviation`
- Higher Sharpe = better risk-adjusted trading
- Avoids rewarding gamblers who got lucky
3. **Return Calculation Period**
- Includes all trades opened during competition month
- Trades opened before month but closed during count
- Only realized P&L counts (closed positions)
4. **Withdrawals During Competition**
- Allowed anytime
- Reduces your trading capital and scores
- Can withdraw and still place in rankings
5. **Prohibited Activity**
- Wash trading (buying and selling own position artificially)
- Collusion with other traders
- Using multiple accounts
- Manipulation of order books
- **Consequence**: Disqualified, funds frozen for audit
#### Examples: How Sharpe Ratio Works
**Trader A (Risky):**
- Total Return: +50%
- Daily Volatility: 15%
- Sharpe Ratio: (50% - 2%) / 15% = 3.2
**Trader B (Conservative):**
- Total Return: +25%
- Daily Volatility: 5%
- Sharpe Ratio: (25% - 2%) / 5% = 4.6
**Winner**: Trader B (higher Sharpe = better risk-adjusted)
### Tournament Rooms
#### What Are Rooms?
Sub-competitions within main tournament, filtered by strategy or asset class:
- **Crypto Room**: BTC, ETH, altcoins only
- **Forex Room**: Currency pairs only
- **Equities Room**: Stocks and indices only
- **Multi-Asset Room**: Mix of all assets
- **Copy Trading Room**: Copy leaders only
#### How Rooms Work
1. Trade only designated assets for your room
2. Sharpe ratio calculated separately per room
3. Separate prize pools per room
4. Can qualify in multiple rooms simultaneously
5. Each room has independent leaderboard
**Example Prize Distribution (per room):**
- 1st: 2,000 MBX
- 2-10: 300 MBX each (2,700 total)
- 11-100: 50 MBX each (4,500 total)
- Total: 9,200 MBX per room
### Scoring Model
#### Risk-Adjusted Returns
Sharpe Ratio is the core metric:
**Daily Calculation:**
```
Day 1: $10,000 account
Trade 1: +$100 (profit), +1%
Trade 2: -$50 (loss), -0.5%
Day Realized Return: +0.5%
Day 2: $10,050 account
Trade 3: +$500 (profit), +5%
Day Realized Return: +5%
Average Daily Return = (0.5% + 5%) / 2 = 2.75%
Daily Volatility = Std Dev of [0.5%, 5%] = 3.18%
Sharpe Ratio = 2.75% / 3.18% = 0.87
```
#### Performance Tiers
| Sharpe | Rank | Status |
|--------|------|--------|
| < 0 | None | Losing trader |
| 0 - 1 | Bronze | Below average risk-adjusted |
| 1 - 2 | Silver | Average performance |
| 2 - 3 | Gold | Strong risk-adjusted |
| 3 - 5 | Platinum | Very strong |
| 5+ | Diamond | Elite trader |
#### Leaderboard Mechanics
**Real-Time Updates:**
- Calculated every hour
- Reflects all closed trades in current month
- Open P&L not included (only realized)
**Tie-Breaking:**
- If Sharpe equal, sorts by total return
- If still equal, sorts by earliest entry
**Participation Minimum:**
- Must have at least 5 closed trades to rank
- 1 closed position per 5 trading days required
- Prevents gaming with tiny trades
### Rankings & Leaderboards
#### Leaderboard Structure
**Live Leaderboard** shows real-time ranking:
| Rank | Username | Sharpe | Return | Win Rate | Trades |
|------|----------|--------|---------|----------|--------|
| 1 | ProTrader_X | 4.2 | +45% | 62% | 47 |
| 2 | DeFi_Master | 3.8 | +38% | 58% | 53 |
| 3 | CryptoQuant | 3.5 | +32% | 61% | 42 |
| 10 | YourName | 2.1 | +18% | 54% | 31 |
| 100 | NewTrader | 0.8 | +5% | 48% | 18 |
#### Metrics Explained
- **Sharpe**: Risk-adjusted return (main ranking metric)
- **Return**: Total % gain/loss from start
- **Win Rate**: % of closed trades that were profitable
- **Trades**: Number of closed positions
#### Using Leaderboards
**For Learning:**
1. Click on top trader
2. View their trading history
3. See what works in current market
4. Follow their copy trading signals
**For Networking:**
1. Connect with traders near your skill level
2. Chat rooms by room/tier
3. Share strategies and insights
4. Form trading groups
**For Motivation:**
1. Set personal rank target
2. Track progress vs. leaderboard
3. Compete with friends (private rooms)
4. Build reputation for future opportunities
### Real-Time Competition
#### Live Updates During Trading
**Dashboard Shows:**
- Your current Sharpe ratio (updated hourly)
- Rank in tournament
- Points to next rank tier
- Prize pool amount if place holds
**Alerts:**
- Rank changed (up or down)
- Top 10 breakout notifications
- Friend rank updates
- Prize pool increase announcements
#### Competition Strategy
**Early Positioning (Week 1-2):**
- Be conservative with leverage
- Build positive track record
- Don't over-trade
- Focus on consistency
**Mid Competition (Week 2-3):**
- If ahead, reduce leverage
- If behind, look for high-conviction trades
- Manage risk carefully
- Analyze market conditions
**Late Stage (Week 4):**
- If in top 20, protect gains with reduced risk
- If making top 100 push, average up good trades
- Don't panic trade
- Stay disciplined
**Important**: Never risk capital you can't afford to lose.
### Rewards Distribution
#### Prize Pool Breakdown
**Monthly Prize Pool: $100,000 MBX (Example)**
Distributed across:
- Main Tournament: $60,000 MBX
- Crypto Room: $15,000 MBX
- Forex Room: $10,000 MBX
- Equities Room: $10,000 MBX
- Copy Trading Room: $5,000 MBX
#### Payout Schedule
**Distribution happens:**
1. Leaderboard finalized on last day of month
2. Winners announced publicly
3. Rewards distributed next 24-48 hours
4. MBX sent directly to winner wallets
5. No gas fees (distributed directly on-chain)
#### Tax Implications
- **US**: Prize winnings are taxable as ordinary income
- **EU**: May be taxable depending on jurisdiction
- **Asia**: Varies by country
- Keep records of all winnings for tax filing
---
# Copy Trading
## Feature Module Documentation
Understand how copy trading works and its risk controls.
### Overview
#### What Is Copy Trading?
Copy trading automates position replication:
- **Follower**: You select a leader, capital automatically copies their trades
- **Leader**: Your trades are replicated by followers, you earn performance fees
#### Benefits
**For Followers:**
- Hands-off passive income generation
- Diversify across multiple leaders
- Learn by copying skilled traders
- Reduce time spent on analysis
**For Leaders:**
- Monetize trading skill
- Build track record without capital
- Earn 15-20% performance fee on profits
- Establish personal brand
### How Copy Trading Works
#### Step 1: Discover Leaders
**Browse Leaderboard:**
1. Go to **Copy Trading** tab
2. Filter by:
- Strategy type (momentum, mean reversion, arbitrage)
- Asset class (crypto, forex, equities)
- Historical Sharpe ratio
- Win rate
- Number of followers
3. View leader profile:
- 1-year performance chart
- Monthly returns breakdown
- Max drawdown
- Avg holding time
- Win/loss statistics
#### Step 2: Due Diligence
Before copying, evaluate the leader:
**Key Questions:**
1. Is track record real and verifiable? (Blockchain audit trail)
2. What's the Sharpe ratio? (Is it consistent?)
3. How long has leader been trading? (6+ months ideal)
4. What's their max drawdown? (Should be < 30%)
5. Do they trade during your available hours?
6. What leverage do they use? (Matches your risk tolerance?)
**Red Flags:**
- Sharpe ratio > 5 (too good to be true)
- Track record < 1 month (not enough data)
- Max drawdown > 50% (excessive risk)
- Win rate = 100% (impossible, probably fake)
- Recent trades (may not be real performance)
#### Step 3: Connect Your Capital
**Copy Setup Process:**
1. Click **Copy This Trader**
2. Set your parameters:
- Capital amount: $1,000 (example)
- Max leverage allowed: 10x (your limit)
- Max position size: 5% of your capital
- Stop-loss level: -10% (daily max loss)
3. Approve smart contract:
- View fee schedule
- Confirm leader address
- Approve USDC transfer
4. Activation:
- Capital moved to copy trading vault
- Starts copying next trade only (not retroactively)
- Historical performance doesn't affect you
#### Step 4: Monitoring Positions
**Dashboard shows:**
- Leader's open positions
- Your copied positions (at your scale)
- Real-time P&L on each copy
- Total profit/loss
- Fees accrued
**Receive Alerts:**
- Leader opens new position
- Leader closes position
- Your position hit stop-loss
- Daily loss limit approaching
### Risk Controls
#### Follower Controls
Every follower sets personal guardrails:
**1. Leverage Cap**
- Limit maximum leverage on copied positions
- If leader uses 50x, but you allow max 10x → position capped at 10x
- Reduces risk, but reduces potential gains
**2. Position Size Limit**
- Max notional value per position
- Set as % of your capital or fixed amount
- Prevents leader from controlling too much capital
- Example: Max 5% means $5,000 on $100K account
**3. Daily Loss Limit**
- Stop copying if losses exceed threshold
- Example: Stop if down more than 10% in single day
- Pauses copy trading, can resume tomorrow
- Protects against rogue leader behavior
**4. Slippage Tolerance**
- Allows price impact when copying
- Your order executes slightly worse than leader's
- Example: Leader buys at $40,000, you buy at $40,100
- Adjust based on position size and asset
**5. Copy Pausing**
- Manually pause copying anytime
- No penalty, just stop replicating
- Existing positions remain open
- Resume copying anytime
#### Leader Responsibilities
If you become a leader:
**Mandatory Disclosures:**
1. Trading strategy description (clear, honest)
2. Historical performance (not cherry-picked)
3. Risk profile (leverage, volatility expected)
4. Hours and frequency of trading
5. Any conflicts of interest
**Prohibited Behavior:**
- Pump-and-dump schemes
- Wash trading (fake volume)
- Collusion with other leaders
- Misrepresentation of track record
- Trading on material nonpublic information
**Monitoring:**
- Platform monitors for irregular patterns
- Excessive leverage raises alerts
- Followers can vote to suspend leader
- Bad behavior results in banning and fund freeze
### Follower Responsibilities
#### What Followers Should Do
1. **Ongoing Monitoring**
- Check performance weekly
- Verify leader's strategy hasn't changed
- Monitor your risk metrics
- Stay engaged (don't set and forget entirely)
2. **Rebalancing**
- Adjust capital allocation quarterly
- Remove poorly-performing leaders
- Add new leaders based on new analysis
- Don't concentrate all capital on one leader
3. **Tax Tracking**
- Record all copy trading fees paid
- Track realized P&L for taxes
- Document leader details for audit trail
- Keep records for 7+ years
4. **Risk Management**
- Don't copy leaders trading outside your risk tolerance
- Diversify across multiple leaders/strategies
- Never risk more than you can afford to lose
- Keep emergency funds outside copy trading
#### Common Mistakes to Avoid
- **Chasing Recent Winners**: Past performance ≠ future results
- **Over-Concentration**: Putting 100% in one leader
- **Ignoring Drawdowns**: Not checking on losses during downturns
- **High Leverage Naively**: Copying 50x leader with 50x leverage
- **No Stop-Loss**: Not setting loss limits on copy
- **Long-Term Complacency**: Not monitoring performance for months
---
# Liquidity Providers
## Capital Providers Documentation
Understand how to become a liquidity provider and earn returns.
### Liquidity Pool Overview
#### What Is the Unified Liquidity Pool?
The Unified Liquidity Pool (ULP) is a single capital reserve that:
- Backs all trader positions across all markets
- Pools capital from all LPs into one shared pool
- Distributes losses and gains proportionally
- Generates returns from trading fees and positive trader outcomes
#### Pool Architecture
```
Unified Liquidity Pool
├── Deposits from LP 1: $10,000
├── Deposits from LP 2: $25,000
├── Deposits from LP 3: $50,000
├── Total Capital: $85,000
├── Used for:
│ ├── Backing Trader A 10x long: $5,000 position
│ ├── Backing Trader B 5x short: $10,000 position
│ └── Remaining idle: $70,000
└── Earns from:
├── Trading fees: 50% distributed to LP fund
├── Liquidation fees: 50% of all liquidation fees
└── Winning trader losses: All losses accrue to pool
```
#### Why Unified Pool Model?
**Capital Efficiency:**
- $85,000 capital can support $100,000+ notional positions
- Money market dynamics optimize capital usage
- No per-market silos
**Risk Distribution:**
- All LPs share upside and downside
- One asset class loss offset by another
- Diversification at pool level
**Scalability:**
- More LPs = larger pool = can support higher trading volume
- Higher trading volume = more fee income
- Virtuous cycle benefits all participants
### How LPs Earn
#### Revenue Streams for Liquidity Providers
**1. Trading Fees (50% of total)**
- Longs pay taker fees: 0.05% average
- Shorts pay taker fees: 0.05% average
- Makers get rebates: -0.02% (still flows to pool)
- Weekly distribution to LP token holders
**Example:**
- $100M notional volume daily
- Average taker fee: 0.05%
- Daily fee revenue: $50,000
- LP share: $25,000 (50%)
- Distributed weekly: $175,000 to all LPs
**2. Liquidation Fees (50% of liquidations)**
- Liquidation fee: 5-25% of position (depending on leverage)
- LP fund receives 50%
- Creates safety buffer
**Example:**
- $1M position liquidated with 10% fee
- Liquidation fee: $100,000
- LP fund: $50,000
- Shared across all LPs pro-rata
**3. Net Positive Outcomes**
- When traders lose, LPs gain (their capital)
- Win rate typically 45-55%
- Losses accrue to LP capital
#### APY (Annual Percentage Yield) Examples
| Pool Size | Daily Volume | Daily Fees to LP | Est. APY | Notes |
|-----------|--------------|------------------|----------|-------|
| $10M | $50M | $12,500 | ~45% | Early stage |
| $50M | $200M | $40,000 | ~30% | Growth phase |
| $100M | $400M | $75,000 | ~27% | Scaling |
| $500M | $1B | $300,000 | ~22% | Mature |
**Key Insight**: Higher APY when pool is smaller (less dilution of fees).
#### LP Token Distribution
LPs receive LP tokens representing their share:
**Example:**
- You deposit $10,000 USDC
- Total pool: $100,000
- You receive: 100 LP tokens (10% ownership)
- Pool earns $1,000 fee
- Your share: $100 (pro-rata)
### LP Risks
#### Market Risk
**Long Exposure:**
- If traders overwhelmingly long, pool profits when price rises
- Pool loses when price falls (opposite of traders)
- Creating natural balance
**Volatility Drag:**
- High volatility increases liquidation risk
- More positions liquidated = more loss
- Stable markets = better for LPs
#### Liquidation Risk
When traders take excessive positions, LPs bear the loss:
**Scenario:**
- Trader opens 100x position with $100 collateral
- Total position: $10,000
- Price moves 1% against them
- Liquidation triggered, loss = $100
**Who Loses:**
- Trader loses their $100 collateral
- LP fund covers $100 shortfall
- Pool capital reduced by $100
**Mitigation:**
- Platform limits leverage (max 100x)
- Liquidation fees provide buffer
- Multiple liquidation price levels provide cushion
#### Oracle Risk
Mark price determined by oracle:
**What Could Go Wrong:**
- Oracle feed broken (provider outage)
- Oracle manipulated (flash loan attack)
- Delayed price update (network congestion)
**Consequences:**
- Premature liquidation at wrong price
- LP capital lost defending against attack
**Mitigation:**
- Multiple oracle feeds (Chainlink primary)
- Circuit breakers if price moves > 5% in 1 block
- Manual override capability (multisig)
#### Smart Contract Risk
Code could have bugs:
**Known Risk:**
- All smart contracts have bugs
- 100% audit doesn't guarantee safety
- History of hacks: $2-500M typical loss
**Mitigation:**
- Audits by: Trail of Bits, OpenZeppelin, [other firms]
- Insurance coverage: $[Amount] via Nexus Mutual
- Gradual launch: Start with $[limit], increase over time
- Monitoring: 24/7 ops team with pause circuit breaker
### Deposits & Withdrawals
#### Becoming an LP
**Requirements:**
1. Minimum deposit: $1,000 USDC
2. Account age: 7+ days
3. Residency: Not in restricted jurisdictions
4. Whitelist (first 1,000 LPs): Apply on website
**Process:**
1. Connect wallet
2. Go to **Liquidity** tab
3. Click **Become an LP**
4. Approve USDC spending (one-time)
5. Enter amount: e.g., $10,000
6. Review fees: Usually zero
7. Confirm deposit
8. Receive LP tokens immediately
**Confirmation:**
- USDC transferred to pool
- LP tokens in wallet
- Can track P&L in dashboard
- Earnings start immediately
#### Deposit Options
**Flexible Tier (Default)**
- Withdraw anytime (24-hour delay)
- No time lock
- 2% APY base rate
- Trading fee allocation: 40%
**3-Month Lock**
- Must wait 3 months to withdraw
- Slightly higher rates
- 3% APY base rate
- Trading fee allocation: 60%
**6-Month Lock**
- Must wait 6 months to withdraw
- Higher rates
- 4% APY base rate
- Trading fee allocation: 75%
**12-Month Lock**
- Must wait 12 months to withdraw
- Best rates
- 5% APY base rate
- Trading fee allocation: 85%
#### Withdrawing Capital
**Process:**
1. Go to **Liquidity** tab
2. Click **Request Withdrawal**
3. Select tier (if locked, must wait expiry)
4. Enter amount (LP tokens to burn)
5. Confirm: You'll get USDC back
**Timing:**
- Flexible: 24-hour processing window
- Locked: Automatic at maturity
- Early exit (if enabled): 5% penalty
**Edge Case - Pool Under-Water:**
If pool has losses > available reserves:
- Proportional haircut applied
- If pool down 10%, get $9,000 per $10,000 LP tokens
- Rare event (requires massive trader losses)
#### Managing Your LP Position
**Monitoring Dashboard:**
| Metric | Current | All-Time |
|--------|---------|----------|
| Deposit | $10,000 USDC | — |
| LP Tokens | 100 | — |
| Pool Price | $100/token | — |
| Current Value | $10,000 | — |
| Unrealized P&L | +$500 (5%) | — |
| Fees Earned (30d) | $285 | $1,200 |
| APY | 27% | 12% |
**Actions Available:**
1. Add more capital (increase LP tokens)
2. Withdraw portion (reduce LP tokens)
3. Claim fees (convert accrued to USDC)
4. Check liquidation events (see who got liquidated)
---
# Risk & Security
## Alephium-Style Risk Section
Understand the risks and limitations of MegaBanX before using it.
### Trading Risks
#### Leverage Amplifies Losses
**Core Risk**: Leverage increases both gains and losses.
- 10x leverage: A 10% price move = 100% account loss
- 50x leverage: A 2% price move = 100% account loss
- 100x leverage: A 1% price move = 100% account loss
**You Can Lose More Than You Deposit** (in theory):
- Initial margin protects against total loss (in most cases)
- In extreme scenarios (gap risk), losses could exceed collateral
- Liquidation fee paid even if collateral insufficient
**Recommendation:**
- Start with 2-5x leverage until you have proven track record
- Never risk more than 2% of account per trade
- Use stop losses on every position
- Account for slippage and gaps in your risk model
#### Market Volatility
**Crypto & Equities are Volatile:**
- 20% daily swings can happen on major assets
- Your $10,000 position can swing $2,000 in hours
- Emotion may cause poor decisions
**Funding Rates Can Turn Against You:**
- +0.01% becomes -0.01% quickly
- High funding expected to mean-revert
- Don't assume funding direction persists
**News Events Create Gaps:**
- Fed announcements, earnings surprises
- Price gaps down overnight
- Stop-loss executes at worse prices than expected
**Recommendation:**
- Position size to sleep at night comfortably
- Don't trade on high-emotion days
- Set stop-loss before opening any position
- Have realistic profit targets (2-5% is good)
### Leverage & Liquidation Risks
#### Liquidation Is Automatic and Unforgiving
Your position closes at market price when maintenance margin breached:
**You Get:**
- Position closed at mark price
- Liquidation fee (5-25%) paid to liquidators/LP fund
- Remaining collateral returned (if any)
**You Don't Get:**
- Choice of exit price
- Refund of liquidation fee
- Opportunity to reduce size instead of full closeout
- Advance warning (detected in real-time)
**Example Loss Scenario:**
```
Initial Setup:
- Account: $10,000 USDC
- Position: 10 BTC at $50,000 = $500,000 notional
- Leverage: 50x
- Collateral: $10,000 (2% of notional)
- Liquidation Price: $49,500 (1% below entry)
What Happens:
- BTC drops to $49,500 → liquidation triggered
- Position force-closed at ~$49,200 (slippage)
- Loss: $8,000 (8% of position)
- Liquidation Fee: $0 (position value can't cover fee)
- Final: Lost entire $10,000 account
```
**Recommendation:**
- Never use maximum leverage
- Liquidation price should be far below/above support/resistance
- Always have buffer (liquidation price 5-10% away)
- Reduce size if approaching liquidation zone
#### Cascading Liquidations
During market crashes, liquidations can cascade:
**Scenario:**
- Market crashes 5% in minutes
- 50x leveraged positions liquidate
- Many liquidations = high slippage
- Your position gets closed at even worse price
**Protection:**
- Avoid maximum leverage during high volatility
- Use circuit breakers (max daily loss limits)
- Position size smaller during known news events
### Liquidity Provider Risks
#### Impermanent Loss (Not Applicable Here)
MegaBanX doesn't have impermanent loss because:
- All positions priced in USDC (stable)
- LP capital doesn't get price-divergence exposure
- No asset pairing like traditional AMMs
**Instead, LPs Face:**
- Directional loss (if traders overwhelmingly correct)
- Liquidation risk (shortfall from bad liquidations)
- Oracle risk (mark price manipulation)
#### Liquidity Risk
If too many traders withdraw simultaneously:
- LP withdrawal queue forms
- Delayed withdrawal by 24-48 hours
- Can't access capital when needed most
**Mitigation:**
- Platform maintains minimum reserve (20% of pool)
- Withdrawal limits per day
- Emergency withdrawal fee (3-5%) for large withdrawals
#### Economic Risk (Negative Pool Days)
Traders might make money systematically:
**Scenario:**
- Market conditions favor traders
- High win rate (65%+) across all trades
- LP capital decreases week-over-week
- Liquidations insufficient to cover losses
**Protection:**
- Protocol fee: 5% of trading fees → insurance fund
- Insurance fund covers shortfalls first
- Protects LPs from minor drawdowns
- Major drawdown = hair-cut across all LPs
**Typical Pool Performance:**
- Expected ROI: 15-25% APY (long-term average)
- Variance: 5-10% monthly swings
- Drawdown tolerance: -15% max in bad months
- Recovery: Typically within 1-2 months
### Oracle Risks
#### Mark Price Manipulation
Mark price determined by oracles. If compromised:
**Attack Vector: Flash Loan**
1. Attacker borrows $100M via flash loan
2. Buys up all available liquidity on uniswap → price surges
3. MegaBanX's oracle sees inflated price
4. Short positions get liquidated at high price
5. Attacker profits from liquidations
6. Repays flash loan with profit
**MegaBanX Protections:**
- Multiple oracle feeds (Chainlink primary)
- Price stays within 5% of median feed
- 5%+ movements trigger circuit breaker
- Manual multisig review of extreme prices
#### Oracle Outage
If all price feeds go down:
**Scenario:**
- Chainlink node network suffers outage
- Mark price stuck at last known price
- Trades can't execute (can't get accurate price)
- Liquidations pause (no price to reference)
**Impact:**
- Trading halted until feeds restored
- Open positions remain open (may drift far from mark)
- No liquidations = larger losses when trading resumes
- LPs at risk if market moved significantly
**Historical Precedent:**
- Rare event (1-2 times per year across all DeFi)
- Typically resolved within 1-24 hours
- Protocol operations team ready to manually intervene
### Smart Contract Risks
#### Code Vulnerabilities
All smart contracts can have bugs:
**Known Attack Vectors:**
- Reentrancy attacks (recursively call functions)
- Integer overflow/underflow (numeric edge cases)
- Logic errors (incorrect permission checks)
- Flash loan attacks (unchecked external calls)
**Scope of Risk:**
- Users could lose all deposited funds
- LPs could face haircuts
- Entire pool could be drained in worst case
**Mitigation:**
1. **Audits**
- Third-party audit by: [List firms]
- Public audit reports available
- Critical findings: [Number identified and fixed]
2. **Insurance**
- Nexus Mutual coverage: $[Amount]
- Covers user losses from smart contract bugs
- Premium: 0.5-1% annual
3. **Monitoring**
- 24/7 ops team
- Automated anomaly detection
- Circuit breakers for unusual activity
- Pause button (multisig-controlled)
4. **Gradual Launch**
- Started with $[limit] TVL cap
- Increased by $[amount] weekly
- Full launch at $[amount] TVL
#### Upgrade Risk
Protocol may be upgraded over time:
**Changes Could Include:**
- Fee structure changes (reduces your returns)
- Leverage limits (affects trading strategies)
- Pool parameters (changes risk profile)
- Governance structure (voting power shifts)
**Your Protection:**
- Governance tokens for voting
- 2-week delay before changes take effect
- Can withdraw during delay period if disagree
### No Guarantee Disclaimer
#### You Trade at Your Own Risk
**MegaBanX Makes No Guarantees:**
- Not a guarantee of profits
- Not a guarantee of funds safety
- Not a guarantee of protocol function
- Not a guarantee of token value
**Your Responsibility:**
- You understand the risks
- You've read all documentation
- You have appropriate risk management
- You don't trade funds you can't afford to lose
**In Case of Loss:**
- MegaBanX does not compensate users
- Insurance (if purchased) may cover smart contract bugs only
- No other recourse available
- Blockchain transactions are irreversible
#### Legal Disclaimer
MegaBanX is a decentralized protocol:
- **Decentralized**: No single party controls it
- **Non-custodial**: We never hold your private keys
- **Permanent**: Code is immutable once deployed
- **Uninsured**: Unless you purchase insurance
- **Irreversible**: Blockchain transactions can't be reversed
---
# Reference
## Dry, Exact, Expandable
Precise parameter values and calculations.
### Fee Schedule
#### Tier-Based Taker/Maker Fees
| 30d Volume | Taker Fee | Maker Fee | MBX Discount (1k MBX) |
|-----------|-----------|-----------|----------------------|
| $0 - $50K | 0.08% | -0.02% | 0.06% / -0.02% |
| $50K - $100K | 0.06% | -0.01% | 0.05% / -0.01% |
| $100K - $500K | 0.05% | 0% | 0.04% / 0% |
| $500K - $1M | 0.04% | 0% | 0.03% / 0% |
| $1M - $5M | 0.03% | 0% | 0.025% / 0% |
| $5M+ | 0.025% | 0% | 0.02% / 0% |
#### Fee Reduction with MBX
| MBX Held | Taker Reduction | Notes |
|----------|-----------------|-------|
| 0 | 0% | Baseline |
| 100 | 10% | 10 MBX minimum |
| 500 | 20% | Increased from 10 |
| 1,000 | 25% | Common tier |
| 5,000 | 40% | Serious trader |
| 10,000 | 50% | Max discount |
| 50,000 | 50% | No additional benefit |
#### Fee Calculation Examples
**Example 1: $100K account, 0.05 BTC at $50,000**
Notional: 0.05 × $50,000 = $2,500
Tier: 0.05% taker
MBX Discount: 0% (no MBX held)
Fee = $2,500 × 0.05% = $1.25
**Example 2: Same position with 1,000 MBX held**
Fee = $2,500 × 0.05% × (1 - 0.25) = $0.94
Savings: $0.31 per trade
### Funding Calculation
#### 8-Hour Funding Rate Formula
**Full Formula:**
```
Funding Rate = clamp[
(Average Premium Index) + clamp(Interest Rate - Average Premium Index, 0.05%, -0.05%),
0.05% (max),
-0.05% (min)
]
```
#### Components
**1. Average Premium Index (P)**
Calculated over 480 minutes (8-hour window):
```
P = (P1×1 + P2×2 + ... + P480×480) / (1+2+...+480)
```
Where:
- P1 = premium in minute 1
- P2 = premium in minute 2
- Later minutes weighted more heavily
- Formula: Time-Weighted Average Price (TWAP)
**Premium** at each minute = (Mark Price - Index Price) / Index Price
**2. Interest Rate (I)**
Default daily: 0.03% (0.01% per 8-hour period)
Can increase up to 0.05% if funding is at limit repeatedly
**3. Clamping (Limits)**
Upper limit: +0.05% max per period
Lower limit: -0.05% min per period
This prevents extreme funding from creating incentive misalignment.
#### Funding Fee Calculation
**For Each Position:**
```
Funding Fee = Position Value × Funding Rate
Position Value = (Quantity × Mark Price) for USDC-settled
```
**Example:**
- Holding: 1 BTC long
- Mark Price: $50,000
- Funding Rate: +0.01%
- Funding Fee = ($50,000 × 1) × 0.01% = $5 USDC
Payable every 8 hours (3 times daily).
#### Funding Rate History
MegaBanX publishes historical rates for each pair:
| Hour | BTC Rate | ETH Rate | ADA Rate |
|------|----------|----------|----------|
| 00:00 | 0.008% | 0.002% | 0.012% |
| 08:00 | 0.009% | -0.001% | 0.015% |
| 16:00 | 0.007% | 0.003% | 0.010% |
### Liquidation Parameters
#### Liquidation Price Calculation
**For Long Positions:**
```
Liquidation Price = Entry Price × (1 - Maintenance Margin % - Liquidation Fee %)
```
**For Short Positions:**
```
Liquidation Price = Entry Price × (1 + Maintenance Margin % + Liquidation Fee %)
```
#### Leverage-Based Parameters
| Leverage | Initial Margin | Maintenance Margin | Liquidation Fee | Liquidation Price Range |
|----------|---|---|---|---|
| 2x | 50% | 25% | 2% | 23% below entry (long) |
| 5x | 20% | 10% | 5% | 15% below entry (long) |
| 10x | 10% | 5% | 10% | 15% below entry (long) |
| 25x | 4% | 2% | 15% | 17% below entry (long) |
| 50x | 2% | 1% | 20% | 21% below entry (long) |
| 100x | 1% | 0.5% | 25% | 25.5% below entry (long) |
#### Liquidation Sequence
1. **Detect**: Mark price breaches threshold
2. **Alert**: User notified (if monitoring)
3. **Execute**: Market order to close within 2 blocks
4. **Fee Distribution**:
- 50% to liquidation bot (incentive)
- 50% to LP fund (safety)
5. **Remainder**: Returned to trader wallet
### Market Parameters
#### Market-Specific Limits
| Market | Max Leverage | Funding Cap | Price Precision | Min Notional |
|--------|---|---|---|---|
| BTC/USDC | 100x | ±0.05% | 0.01 USDC | $50 |
| ETH/USDC | 100x | ±0.05% | 0.01 USDC | $50 |
| EUR/USD | 50x | ±0.03% | 0.0001 | $100 |
| SPX | 50x | ±0.04% | 0.1 | $200 |
| AAPL | 25x | ±0.04% | 0.01 | $100 |
#### Oracle Configuration
| Parameter | Value |
|-----------|-------|
| Primary Feed | Chainlink (multiple nodes) |
| Backup Feed | [Specify] |
| Update Interval | 3-5 seconds |
| Price Deviation Trigger | 5% |
| Circuit Breaker | Pause on 5%+ move in 1 block |
### Glossary
| Term | Definition |
|------|-----------|
| **Basis** | Difference between perpetual price and spot price |
| **Basis Risk** | Risk that basis doesn't converge to zero |
| **Circuit Breaker** | Automatic system pause if unusual activity detected |
| **Collateral** | USDC or other assets backing a position |
| **Drawdown** | Peak-to-trough decline from highest point |
| **Entry Price** | Price at which position was opened |
| **Equity** | Account balance minus losses on open positions |
| **Execution** | Filling an order at market price |
| **Flash Loan** | Uncollateralized loan lasting single block |
| **Funding** | Payment between traders for leverage |
| **Gap Risk** | Price jumping over stop-loss orders |
| **Impermanent Loss** | Loss from asset price divergence in liquidity pools |
| **Index Price** | Spot market price from oracle feeds |
| **Initial Margin** | Minimum collateral to open position |
| **Leverage** | Multiplier on collateral (e.g., 10x = $1K controls $10K) |
| **Liquidation** | Automatic position closure due to margin breach |
| **Liquidity** | Ability to buy/sell without significant price impact |
| **Maintenance Margin** | Minimum collateral to keep position open |
| **Mark Price** | Settlement price used for funding/liquidation |
| **Notional Value** | Total contract value (price × quantity) |
| **Oracle** | Off-chain price feed provider |
| **PnL** | Profit and Loss on open or closed positions |
| **Position** | Open long or short contract holding |
| **Price Impact** | Slippage from market order size |
| **Sharpe Ratio** | Risk-adjusted return (return / volatility) |
| **Short Squeeze** | Price spike when shorts forced to cover |
| **Slippage** | Difference between expected and executed price |
| **Stop-Loss** | Automatic order to close if price moves against you |
| **Take-Profit** | Automatic order to close at profit target |
| **Taker** | Order that crosses spread (market order) |
| **Maker** | Order that sits in book (limit order) |
| **TVL** | Total Value Locked in protocol |
---
# FAQ
## Frequently Asked Questions
### General
**Q: Is MegaBanX safe?**
A: MegaBanX is non-custodial (you hold private keys) with audited smart contracts and insurance coverage. However, all DeFi carries risks including smart contract bugs, oracle failures, and market risks. Read the Risk & Security section before using.
**Q: What network is MegaBanX on?**
A: MegaBanX is deployed on MegaEth Network, a Layer 2 blockchain focused on efficiency.
**Q: Who is behind MegaBanX?**
A: [Specify team/DAO]. The protocol is governed by MBX token holders via Snapshot voting.
**Q: Do I need KYC to use MegaBanX?**
A: No, MegaBanX is fully non-custodial. No KYC is required. However, platforms that bridge to MegaBanX or fiat on-ramps may require KYC.
**Q: What are the gas fees?**
A: On MegaEth, gas is minimal (less than $0.01 per trade typically). Layer 2 technology makes this possible.
### Trading
**Q: Can I short any asset?**
A: Yes, you can take short positions on any perpetual available. Shorting has the same leverage limits as longing.
**Q: What's the maximum leverage?**
A: 100x on crypto pairs, 50x on forex/commodities/indices, 25x on equities.
**Q: Can I hedge my crypto holdings on MegaBanX?**
A: Yes, you can short the same amount of crypto you hold to fully hedge. This eliminates price exposure but you still pay/receive funding.
**Q: What happens if I'm underwater on a position?**
A: As long as you have positive collateral (above maintenance margin), you can hold. If collateral falls below maintenance, liquidation is triggered automatically.
**Q: How do I avoid liquidation?**
A: Use conservative leverage (2-5x), position size appropriately (1-2% risk per trade), set stop losses, and monitor positions. Never use maximum leverage.
### Competitions
**Q: Can I trade normally while in a competition?**
A: Yes, all your trades automatically count toward your competition rank. No special "competition mode" needed.
**Q: If I withdraw funds, does my competition standing change?**
A: Your Sharpe ratio stays the same, but your account size decreases, which may affect leaderboard position.
**Q: What if I accused of cheating in a tournament?**
A: MegaBanX has onchain audit trail of all trades. Suspicious patterns (wash trading, etc.) are flagged and investigated. Violations result in permanent ban and fund freeze.
**Q: Can I see other traders' positions in competitions?**
A: No, positions are private. You see only their historical trades and leaderboard stats.
### Copy Trading
**Q: How much does copy trading cost?**
A: Leaders earn 15-20% of followers' profits. Followers pay zero fees (fee comes from profits).
**Q: Can I copy multiple leaders?**
A: Yes, you can diversify across 5-10 leaders simultaneously. Recommended to spread capital.
**Q: What if my leader gets hacked?**
A: Copy trading connects to their trading logic, not their wallet. If their trading account is compromised, the protocol stops copying.
**Q: Can I change my risk controls mid-trade?**
A: Yes, you can pause/resume/stop copying anytime. New limits apply to future trades only.
**Q: How do I become a copy trading leader?**
A: Trade normally on MegaBanX for 1+ month with profitable track record. Apply via dashboard. Top 1,000 traders by Sharpe ratio get approved.
### Liquidity Providers
**Q: How much can I earn as an LP?**
A: Expected APY: 15-25% per year in normal conditions. This varies based on trading volume and market conditions.
**Q: What if traders lose money? Do I lose too?**
A: Yes, proportionally. If traders lose $100K on the platform, that $100K comes from LP capital.
**Q: Can I withdraw anytime?**
A: Flexible LPs can request withdrawal anytime (24-hour processing). Locked LPs must wait until lock expires.
**Q: What's the minimum LP deposit?**
A: $1,000 USDC minimum. No maximum.
**Q: Is there impermanent loss for LPs?**
A: No, all assets are USDC-settled. Impermanent loss (from asset pairing) doesn't apply. Instead, LPs face directional risk (traders winning collectively) and liquidation risk.
---
# Updates
## Changes and Improvements
### Changelog
**v1.0.0 - Launch** (January 2024)
- Perpetual trading: BTC, ETH, major alts
- Forex: EUR/USD, GBP/USD, 50+ pairs
- Trading fees: 0.05-0.08%
- LP yield: 20-30% APY
- Competitions: Monthly with 100K MBX prizes
**v1.1.0 - Equities & Commodities** (March 2024)
- Added: Equities (top 100 stocks)
- Added: Commodities (gold, oil, natural gas)
- Indices: SPX, NASDAQ, DAX, Hang Seng
- Copy trading: Public launch
- UI: Improved dashboard
**v1.2.0 - Governance & Staking** (May 2024)
- MBX governance votes
- Staking: Earn governance power
- Fee reduction: 10-50% discounts with MBX
- Insurance: $[Amount] via Nexus Mutual
**v2.0.0 - Scaling & Advanced Features** (Coming [Date])
- Advanced orders: Trailing stop, OCO, iceberg
- Cross-margin: Share margin across positions
- Portfolio analytics: Advanced PnL tracking
- API: Public trading API for bots
- Advanced charting: [Detail features]
### Protocol Updates
**Oracle Upgrade - [Date]**
- Added secondary oracle feed: [Provider]
- Improved circuit breaker logic
- 3% deviation now triggers manual review
**Liquidation Engine Optimization - [Date]**
- Liquidation bots now aware of slippage
- Close positions at better prices
- Liquidation fee reduced 0.5-1%
**Fee Adjustment - [Date]**
- Maker rebates: -0.02% (was -0.01%)
- Taker fees: 0.05% (was 0.06%) for lower tiers
- LP allocation: 50% (was 40%)
---
**Last Updated**: January 2024
**Next Review**: [Date]
**Feedback**: [Support email or form]
---
## Document Navigation
- **New Users**: Start with Getting Started
- **Traders**: Go to Trading & Markets
- **LPs**: See Liquidity Providers section
- **Risk-Averse**: Read Risk & Security first
- **Competition Focused**: See Competitions section
---
*MegaBanX Documentation v1.0*
*Non-custodial | Fully Onchain | Community Governed*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment