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

Cross-Wallet Portfolio Rebalancer

Trading · All
0 installs · Verified BotGentz app
Launch App
Opens in BotSurf — try it free, no account needed.
CategoryTrading
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

Cross-Wallet Portfolio Rebalancer watches the current page for the user's wallet address, reads the user's token balances across multiple wallets via eth_call, compares current portfolio allocation against a target allocation (user-defined or market-cap weighted), calculates the rebalancing trades needed to achieve the target allocation, estimates gas costs and slippage for each trade, and displays a rebalancing plan with trade recommendations, estimated costs, and execution priority. The tool connects to the user's wallet via window.ethereum, reads token balances for the current wallet, fetches current token prices from the DEX pool, calculates the current portfolio allocation percentages, compares against the user-defined target allocation, determines which tokens are over-allocated and under-allocated, calculates the exact trade amounts needed to rebalance, estimates gas costs for each trade, and displays a prioritized rebalancing plan.

WHERE IT RUNS

The tool runs as a panel inside your browser on Uniswap pages at https://app.uniswap.org/*. It works on any Uniswap page where the user's wallet is connected. The tool connects to your real EVM wallet extension (MetaMask, WalletConnect, or any wallet injecting window.ethereum) to read on-chain data via eth_call and the ethers library loaded at runtime. No data is sent to any external server; all reads happen directly from the blockchain through your wallet provider.

HOW TO USE

Install the BotGentz extension, navigate to Uniswap, and open the Cross-Wallet Portfolio Rebalancer panel. Set your target allocation in the format TOKEN:PERCENTAGE,TOKEN:PERCENTAGE (e.g., ETH:50,USDC:30,WBTC:20) — the tool will aim to rebalance your portfolio to these percentages. Set your rebalance threshold percentage (default 5%) — the tool will only recommend trades when a token's deviation exceeds this threshold. Set your maximum acceptable gas price in Gwei (default 50). Toggle "Auto-check on page load" if you want the tool to analyze automatically when you open the panel. Click "Analyze Portfolio" — the tool connects to your wallet, reads your token balances, calculates the current allocation percentages, compares against the target allocation, determines which tokens need to be bought or sold, calculates the exact trade amounts, estimates gas costs, and displays a complete rebalancing plan with trade recommendations. Review the output and use the recommended trades for manual execution through the Uniswap interface.

MECHANISM — PORTFOLIO ALLOCATION ANALYSIS WITH REBALANCING TRADE GENERATION

This tool uses a portfolio allocation analysis engine that calculates rebalancing trades based on user-defined targets. The system first connects to window.ethereum and requests the user's wallet address. It reads token balances for the user's wallet by calling balanceOf on the token contracts. It fetches current token prices from the DEX pool or price oracle. The tool calculates the current portfolio value in USD and determines the current allocation percentage for each token. It compares each token's current allocation against the target allocation and calculates the deviation. If the absolute deviation exceeds the configured threshold, the tool determines whether the token is over-allocated (needs to be sold) or under-allocated (needs to be bought). The trade amount is calculated as the USD difference divided by the token price. Gas costs are estimated for each trade using the current gas price and a standard swap gas estimate (200,000 gas per trade). The tool also checks gas price against the user's configured limit and provides warnings if gas is too high.

THE PANEL

The BotGentz panel is fully draggable, allowing you to position it anywhere on your screen without obstructing the Uniswap interface. It includes per-site position memory, so the panel returns to your preferred location each time you visit the exchange. Snap-to-edge functionality lets you dock the panel to any side of the browser window. The panel collapses to a compact icon when not in use and expands with a single click. You can resize it to your preferred dimensions, and pressing the Escape key instantly closes the panel. All interactions are smooth and intuitive, designed to work alongside your trading workflow.

PLEASE NOTE

This tool requires the free BotGentz extension and a real EVM wallet extension (such as MetaMask) already installed in your browser. EVM chains only — currently supports Ethereum mainnet. This is an analysis and planning tool only — it does not execute rebalancing trades automatically. The tool cannot guarantee that the displayed prices or allocation percentages match the exact moment of execution due to price changes. It cannot guarantee that the user has sufficient approval allowances for the required trades. It cannot account for slippage or price impact during execution. It cannot read token balances from wallets without user permission. It cannot predict future price movements or optimal rebalancing timing. It cannot read private wallet information or portfolio management intentions. All blockchain reads are performed directly through your wallet provider; no data is stored or transmitted beyond your browser. Websites change their layouts and content structures regularly; while we continuously update the extraction logic, some pages may require script updates. Always verify all portfolio allocation, trade amounts, and price estimates independently before executing any transactions.

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.