Prerequisites
Before You Start
- Near wallet connected (Near Wallet, Meteor, or Sender)
- Sufficient token balance for trading
- Gas fees: approximately 0.003-0.007 NEAR per transaction
Placing a Limit Order
Limit orders allow you to set your exact buy or sell price.Enter Order Details
Fill in your order parameters:
- Limit price: Your desired execution price
- Quantity: Amount to trade
- Review the platform fee
- Check total value
Limit Order Example
Placing a Market Order
Market orders execute immediately at the best available price.Select Market Order
Choose “Market Order” instead of limit order
Market orders don’t require a price - only the quantity
Enter Quantity
Specify how much you want to buy or sell
- The system will show estimated execution price
- Check for price impact on large orders
Market Order Example
Trading Flow Visualization
Mobile Trading
Vita CLOB is optimized for mobile trading with responsive interfaces.

Understanding Order Parameters
Market ID
Each trading pair has a unique market ID:- Generated from base and quote token addresses
- Includes decimal configurations
- Example:
1for NEAR-USDC pair
Price Formatting
Prices must account for token decimals:| Description | Formula/Example |
|---|---|
| Actual Price | price / (10 ^ quote_token_decimals) |
| Example | 495000000 = 4.95 USDC (with 6 decimals) |
Quantity Formatting
Quantities use the base token’s decimal precision:| Description | Formula/Example |
|---|---|
| Actual Quantity | quantity / (10 ^ base_token_decimals) |
| Example | 1000000000000000000000000 = 1 NEAR (24 decimals) |
| Minimum order size | 1 lot |
| Lot size | 10^lot_decimals (varies by market) |
Match Limit
- Default: 50 matches per order
- Prevents excessive gas consumption
- Can be adjusted based on needs
Fee Calculation
Trading fees are automatically calculated and deductedFor buy orders, fees are deducted from the quote token amount:
- Formula:
net_amount = gross_amount * 10000 / (10000 + fee_rate) - Fee rates are set per market by the market creator
- Check specific market fees:
near view [TBD] get_market '{"market_id": "1"}'
Order Validation
Before submitting, the system validates:- Sufficient token balance
- Valid price (limit orders must be > 0)
- Market is active
- No self-trading
Troubleshooting
Order rejected: Insufficient balance
Order rejected: Insufficient balance
Ensure you have enough tokens in your wallet:
- For buy orders: Need quote token (e.g., USDC) + fees
- For sell orders: Need base token (e.g., NEAR)
Order rejected: Market not active
Order rejected: Market not active
The selected market may be paused. Check market status or try another pair.
Order rejected: Self trade
Order rejected: Self trade
You cannot trade with your own orders. Cancel existing orders on the opposite side first.
Transaction failed
Transaction failed
Common causes:
- Insufficient gas fees
- Network congestion
- Wallet connection issues
Next Steps
Manage Orders
Learn to track and cancel your orders
Order Matching
Understand how orders are matched

