• PROFIT
  • COSTS
  • SIZE
  • HUMAN

How to calculate net arbitrage profit with your agent

Connect your agent to live market data and let it run the math on your specific trade sizes. It handles the friction costs so you see the actual take-home.

Ask AI about this page

Our technology reaches across leading technology and enterprise teams.

  • Amazon
  • NVIDIA
  • Red Hat
  • Fidelity Investments
  • Intuit
  • OLX Brasil
  • Writesonic
  • Artium
  • Trolley
Bunny World Voxel Workspace

Short answer

How do I calculate net arbitrage profit with my AI?

Your agent uses real-time spreads and your specific trade parameters to subtract gas, bridge fees, and slippage from the gross spread. You get a clear picture of the net profit for any given position size.

The results of your analysis.

What you get from your agent.

Once your agent processes the market data, you get these specific outcomes.

PROFIT

Net profit per trade

Your agent calculates the exact amount left over after all costs. You see the real money you keep per execution.

COSTS

Total friction breakdown

Your agent identifies exactly how much gas and slippage eats into your spread. This helps you spot inefficient routes.

SIZE

Optimal position sizing

Your agent determines how much capital you can move before slippage kills the trade. It finds the sweet spot for your liquidity.

HUMAN

Execution decisions

Your agent provides the math, but you decide which trades are worth the risk. You hold the final say on each move.

The workflow

What your agent does when the data arrives.

Your agent moves from raw market data to a finished profit model through these steps.

  1. Identify spreads

    Your agent looks at the price differences between different chains to find potential opportunities.

    analyze_market_spread
  2. Calculate net returns

    Your agent subtracts the cost of moving funds and the impact of slippage from the identified spread.

    calculate_arbitrage_profit
  3. Model position sizes

    Your agent runs the profit math against different amounts of capital to see how scale affects your returns.

    calculate_arbitrage_profit
  4. Verify feasibility

    Your agent checks if the remaining profit justifies the gas costs for the specific route you want to take.

    analyze_market_spreadcalculate_arbitrage_profit

Vinkius Agentic Execution Platform

State the outcome. Agents take it from there.

You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.

Run it in Vinkius

Agents carry the task to the end

Agents execute Layer 2 Arbitrage Engine tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.

Take it to any compatible AI

One connection, any client

Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.

Spaces

One Space per activity

A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.

Limits

Autonomy inside limits you set

Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.

Record

All steps, on the record

Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.

Models

Included in your plan

A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.

Try it

Copy these to start.

Use these prompts to kick off your first calculation.

Starting points

Swap the token amounts and the specific bridge names to match your actual trade.

Layer 2 Arbitrage Engine Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_jLMoIcpaaGElx7uhpmT8tzZzE1J17lOoK9hshuF1/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat, Layer 2 Arbitrage Engine capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "layer-2-bridge-arbitrage-strategy-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_jLMoIcpaaGElx7uhpmT8tzZzE1J17lOoK9hshuF1/mcp"
    }
  }
}
Copy into chat04
  • 01

    Analyze the current spread between Arbitrum and Optimism for 10 ETH.

  • 02

    Calculate the net profit for a 2 ETH arbitrage trade including gas and bridge fees.

  • 03

    What is the maximum position size I can use on this spread before slippage makes it unprofitable?

  • 04

    Compare the net returns of a 1 ETH trade versus a 5 ETH trade on this route.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Layer 2 Bridge Arbitrage Strategy once, then ask.

Link the MCP to your preferred client. Your credentials stay encrypted and you can start running math immediately.

Connect Layer 2 Bridge Arbitrage Strategy to your agent

FAQ

How this task behaves.

  • 01

    Can your agent execute the trade for me?

    No. Your agent only calculates the math and models the profit. You must manually execute the trade in your wallet or via your own bot.

  • 02

    Does your agent update the gas prices automatically?

    Yes. Your agent uses the data provided by the tools to factor in current network costs.

  • 03

    Can your agent change my wallet settings?

    No. Your agent has no access to your private keys or your wallet settings. It only reads market data and performs calculations.

  • 04

    How accurate is the slippage calculation?

    The accuracy depends on the liquidity available in the market at the moment your agent runs the analysis.

  • 05

    Will your agent tell me which bridge to use?

    Your agent can model the costs for specific bridges you ask about, but it doesn't make the choice for you.

  • More questions about Layer 2 Bridge Arbitrage Strategy? The Connector page answers them. See everything the Layer 2 Bridge Arbitrage Strategy Connector can do

Building with AI? Ship this whole workflow in your product.

Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from Layer 2 Arbitrage Engine to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.

Explore Vinkius Connect

TypeScript · Python · Java · Go · C# · PHP · Rust

  • 01

    Your customers bring their own keys.

    Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.

  • 02

    Whole catalog, kept current.

    Layer 2 Arbitrage Engine plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.

  • 03

    Any agent, any model.

    Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.

Connect Layer 2 Arbitrage Engine to Claude, Cursor, ChatGPT & more

From idea to done

See what gets done when the agents take over the busywork

Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.