
How to use Pear Protocol pair trading with a Starchild agent
Pair trades, basket trades, and how to run the workflow with an AI agent.
Pear Protocol is a pair-trading platform. A pair trade combines a long position on one asset and a short on another at the same time, so you can express a view on how two assets perform relative to each other rather than betting on direction alone. Pear exposes its tools through an MCP server that a Starchild agent can connect to directly.
Pear also supports basket trades, where you go long or short across a group of tokens in a single trade. This lets you take a view on a sector, a category, or a market thesis, rather than picking one asset against another. For example, if you were bearish on the economy, you could go long a single safe-haven asset like gold and short a basket of tech stocks, diversifying your exposure across a broader theme.
On top of that, Pear gives you TP/SL on the spread ratio itself (not on individual legs), limit and TWAP orders for better entry execution, and a unified dashboard showing PnL, net funding, and position metrics for both legs together. The cross-margin structure means gains on your short leg can offset drawdowns on the long — Pear calls this scam-wick protection.
This article explains the concept, how to connect, and a simple first trade.
What is a Pear Protocol pair trade?
A Pear Protocol pair trade combines two positions: a long leg on one asset and a short leg on another. For example, you could research a BTC/ETH pair to understand whether one asset may outperform the other over a chosen time horizon. Because both legs move together, you are less exposed to the direction of the overall crypto market and more focused on the relative performance of BTC versus ETH.
Pair trading still involves leverage, funding costs, liquidity constraints, slippage, and loss risk. Hedging one leg does not remove those risks. Use the agent to research and plan before committing to a position.
Connect Pear Protocol's MCP to Starchild
Pear Protocol's MCP gives a Starchild agent a standard way to discover and use Pear's available tools. To get started:
- Deploy a Starchild agent. Go to Starchild and deploy an agent. You can be up and running in a few minutes with no code required.
- Install the Pear Protocol skill. Open the Skills area and install the Pear Protocol skill. The skill helps the agent work with Pear's pair-trading tools and MCP connection.
- Connect or authorise Pear. Follow Pear's current MCP connection and account-authorisation instructions from Pear Protocol's documentation.
- Start with exploration. Begin with a research or planning request before taking any live action.
Starchild agents include a native wallet for on-chain actions including deposits, withdrawals, and transaction signing. Pear account access, API credentials, and any required permissions follow Pear's own setup and authorisation requirements.
Try these starter prompts
Start with a plain-language explanation so the agent can orient you before any numbers are involved:
What is a Pear Protocol pair trade? Explain the long leg, short leg, relative-performance idea, and the main risks. Do not execute anything.
Then ask for research on a specific pair:
Research a BTC/ETH pair on Pear Protocol. Show the relative-performance context, funding, liquidity, risks, and what could invalidate the idea.
If you want to explore baskets:
What basket trades are currently available on Pear? Summarise what market view or narrative each one expresses and what assets it includes. Do not execute anything.
Once the research is useful, ask for a plan before any execution:
Prepare a pair-trade plan for my review. Show both legs, direction, notional, leverage, margin mode, estimated costs, and invalidation conditions. Do not execute it yet.
Review the plan, ask follow-up questions, and only approve it when you are satisfied with every detail.
Review before you approve
Before confirming any trade, ask the agent to walk through:
- Both legs — asset, direction, size, and leverage
- Net funding rate across the pair
- Liquidity and slippage estimates for each leg
- The conditions under which the trade idea would be invalidated
- Any margin or liquidation thresholds
Pair trades are two simultaneous positions. Reviewing each leg independently and the spread as a whole gives you a clearer picture than looking at one side at a time.
There is no limit to what you can build once the connection is in place. As you get comfortable with the workflow, you can develop strategies that balance different asset classes, account for macroeconomic conditions or geopolitical events, and move between individual pairs, basket trades, and blue-chip stocks in the same session. As Pear Protocol expands its supported assets, the range of pairs your agent can research, plan, and act on will grow with it.
Start trading on Pear Protocol
Sources
This article is educational content about agent workflows. It is not investment, financial, or trading advice. Pair trading involves leverage and carries significant risk of loss.