Basis Trade Executor
Free to download on every platform. Comes pre-installed on BotFone, BotPad and BotFlip — with extra free apps included.
About this app
WHAT IT DOES
The Basis Trade Executor enables users to execute basis trades by capturing the spread between perpetual and spot markets. A basis trade involves taking opposite positions in perpetual and spot markets to profit from the basis spread (the difference between perpetual price and spot price). This tool provides a streamlined interface to execute basis trades with configurable position sizes and minimum basis thresholds.
The tool reads perpetual contract state, spot market state, price feeds/oracle data, basis/spread data, position parameters, and funding rate. It supports executing basis trades by checking the current basis spread against a configurable minimum threshold, calculating potential profit, and executing the trade. The tool handles the necessary approvals and submits the trade transaction to the perpetual contract.
HOW TO USE
1. Connect your wallet using the Connect button. The tool automatically detects your connected address and network.
2. Select the network where your perpetual contract is deployed using the network dropdown.
3. Enter the perpetual contract address, the spot DEX router address, and the collateral token address.
4. Enter the position size (collateral amount) and configure the minimum basis spread percentage to trigger a trade.
5. Configure your slippage tolerance percentage for the trade transaction.
6. Click "Check basis" to evaluate the current basis spread and estimate potential profit.
7. Review the basis trade details in the preview panel including contract, spot router, collateral, position size, spot price, perpetual price, basis spread, and estimated profit.
8. Click "Execute Basis Trade" to submit the trade transaction through your wallet.
9. The tool will execute the basis trade and record the result in history.
TECHNICAL MECHANISM
The tool interacts with the perpetual contract's basis trade function, which typically takes the position size and direction as parameters. Before executing, the tool checks the current basis spread against the minimum threshold and calculates the estimated profit based on the position size and basis spread. The basis trade function then opens a position in the perpetual contract (long or short depending on the basis direction) and simultaneously executes a spot trade to hedge the position. The tool monitors the basis convergence and calculates the profit when the spread narrows. The trade history records the transaction hash, position size, basis spread, and profit.
WHAT IT CANNOT SEE
This tool cannot verify that the price feed is accurate or reliable; it relies on the perpetual contract's oracle. It cannot detect if the oracle has been compromised or manipulated. It cannot ensure that basis trade will execute at the optimal price due to slippage, market volatility, and block timing. It cannot guarantee that basis trade will succeed if the perpetual contract is paused or frozen. It cannot verify that the perpetual contract has not been upgraded or modified. It cannot detect if the trade path is optimal or if the transaction is being front-run by malicious actors. It cannot recover funds if execution fails due to contract bugs, insufficient approvals, out-of-gas errors, or blockchain reorgs. It cannot verify that the collateral token is legitimate or not. It cannot predict market movements, price gaps, or flash crashes that may affect trade value. It cannot guarantee execution during extreme network congestion, high gas prices, or volatile market conditions. It cannot detect if the underlying perpetual protocol has been compromised. It cannot prevent the user from canceling or modifying trade parameters through other interfaces. It cannot ensure that the basis spread will converge or that the trade will be profitable. It cannot protect against liquidation risk or impermanent loss. It cannot guarantee that funding payments will offset basis changes.
PLEASE NOTE
This tool is designed for EVM-compatible blockchains (Ethereum, Polygon, Arbitrum, Optimism, Base, BSC, Avalanche, Fantom, and others). It requires an active wallet connection and sufficient native currency for gas fees. Always verify the perpetual contract address, spot router address, collateral token address, and trade parameters before executing. Basis trading involves market-neutral positions but still carries risks including basis risk, funding rate changes, and smart contract risks. The tool is provided as-is with no warranty; users assume full responsibility for their transactions and should exercise caution when executing basis trades. For mainnet usage, ensure the perpetual contract has been audited and you understand the risks of basis trading including basis spread volatility, liquidation risk, and smart contract risks.