This app runs inside the BotSurf browser. Don't have it yet? Get the app or extension now!

Order Book Viewer

DeFi · All
0 installs · Verified BotGentz app
Launch App
Opens in BotSurf — try it free, no account needed.
CategoryDeFi
PlatformAll
Pricing Free
Installs0
Download BotSurf to use — free
No account needed for free apps. Once BotSurf is open, find this app in Apps from the + menu.

About this app

WHAT IT DOES

Order Book Viewer displays a simulated order book for any trading pair, showing bids (buy orders) and asks (sell orders) with price levels and sizes. Enter a trading pair (e.g., ETH/USDC) and select the number of levels to display — the tool generates a realistic order book with descending bids on the left (green) and ascending asks on the right (red). It shows the best bid and ask prices, the spread (difference between them), and the total value at each price level. This is essential for traders analyzing market depth, developers testing order book visualizations, or anyone learning how order books work in DeFi and traditional exchanges.

HOW TO USE

Connect your wallet using the BGWallet bridge (MetaMask or any Web3 wallet). Enter a trading pair in the format "TOKEN/TOKEN" (e.g., ETH/USDC, BTC/USDT). Select the number of order book levels to display — 5, 10, 20, or 50. Click "View order book" to generate the simulated order book. The tool displays the trading pair, number of levels, spread, and side-by-side order book views: bids (buy orders) on the left in green and asks (sell orders) on the right in red. Each order row shows the price, size (quantity), and total value (price × size). The spread is shown with the best bid and best ask prices. This is useful for understanding market depth, price levels, and the liquidity available at different prices.

TECHNICAL MECHANISM

The tool generates a simulated order book using a random price model. Starting from a random base price (between $3,500 and $4,000), it generates bids by subtracting random increments (2-5 units) from the base price, and asks by adding random increments. Each order has a size between 0.1 and 2.1 units (randomized). The total value is calculated as price × size. Bids are sorted in descending order (highest price first, as buyers want the lowest price), and asks are sorted in ascending order (lowest price first, as sellers want the highest price). The spread is calculated as the difference between the best ask (lowest ask) and the best bid (highest bid). The order book is rendered side-by-side with separate columns for bids and asks. All data is generated client-side — no external APIs or network requests are used. The tool is read-only and does not sign any transactions.

WHAT IT CANNOT SEE

The tool cannot fetch real-time order book data without external API or on-chain data feed — the order book is simulated and not based on actual market data. It cannot display order books for tokens with low liquidity — the simulation works for any pair. It cannot provide depth charts without additional libraries — the tool shows a table view only. It cannot update the order book in real-time without continuous polling — the data is static after generation. It cannot detect spoofed or canceled orders in real-time — the simulation does not include order lifecycle events. It cannot identify the actual market depth for real tokens. The tool is read-only and does not sign any transactions.

PLEASE NOTE

This tool works exclusively with EVM-compatible chains for the wallet connection, but the order book generation is chain-agnostic. Solana, Tron, Starknet, SUI, TON, Aptos, Bitcoin, Cosmos, and XRP are not supported for wallet connection but the order book works regardless. The tool uses simulated data — for real order book data, integrate with a DEX API or on-chain order book feed. The tool does not store any data — all operations are performed client-side. The tool is provided as-is with no warranty or liability. Always verify market data from multiple sources before making trading decisions.

Similar Apps

Log in to BotGentz

Suggest an App

Tell us what you'd find useful — if we build it, we'll email you the moment it's ready.