LogoLogo
  • Learn about Balancer
  • Background
    • Team Goal
  • Fundamentals
    • White Paper
      • The Value Function
        • USDC WETH WBTC 33/33/33
        • BAL WETH 80/20
        • Price Change Proof
      • Spot & Effective Price
        • Spot Price
        • Effective Price
        • Price Impact
        • Price Impact - With Swap Fees
      • Trading Formulas
        • Out-Given-In
          • Including Swap Fees
        • In-Given-Out
          • Including Swap Fees
        • In-Given-Price
          • In-Given-Price Proof
          • Arbitrage 80/20
          • Arbitrage 50/50
        • Summary
      • Deposits & Withdrawals
        • Deposits
          • Proportional Deposits
            • BAL / WETH 80/20
          • Single Sided Deposits
            • Price Impact; 10,000 BAL
            • Price Impact; 100,000 BAL
          • Multi-token Deposits
            • Price Impact WMATIC / MTA / WETH
            • Price Impact [2] WMATIC / MTA / WETH
        • Withdrawals
          • Proportional Withdrawals
            • BAL/WETH 80/20
          • Singled Sided Withdrawals
            • Withdrawal Price Impact
    • Impermanent Loss
      • 50/50 Pools
      • 80/20 Pools
      • Multi-token Pools
    • veBAL Tokenomics
      • TLDR
      • Vote-Escrowed Governance
      • Financial Implications
        • Boosting BAL Incentives
          • Minimum veBAL for Max Boost
          • Maximum Boost
          • Calculating my Boost
          • Boost Delegation for Contract Wallet
        • Protocol Revenue Distribution
        • Gauge Voting
      • Inflation Schedule
      • veBAL FAQ
  • More Information
    • For Developers
      • GitHub Integration
    • For Support
    • References & Related Content
  • Documented Questions
    • Coming soon
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. Fundamentals
  2. White Paper
  3. Trading Formulas

Summary

From these examples we can see not much WETH can be extracted considering the amount of capital required. However, some people may be interested in making even the smallest amount of profit. If this is done effectively it adds up across multiple markets and tokens. Notably, the margin shrinks after gas costs are considered.

Major factors to an arbitrage opportunity are the following:

  • The discrepancy in price between the two price sources

    • A larger gap between SP’ and SP will yield a larger profit

  • The market depth of both sources

    • If the pools both hold large balances of tokens, they will be resistant to price impact.

    • Note that one pool may have a lower spot price, but large trades will make the effective or average price of the swap favor pools with larger depths. This would make a pool with a higher spot price, but more stable swap rate, a better option.

  • The capital you have available

    • Larger amounts of capital will maximize your profits; however, the margins will be best on the first token traded and decrease as price impact is occurring.

    • This means with small amounts of capital you be can successful but need to prioritize large price discrepancies.

The goal of sharing this information is to equip our community of current and future users with the knowledge to leverage Balancer Protocol in their best interest. This ultimately will benefit Balancer as a whole, driving innovation, new ideas, and future efficiencies to build, based upon the building blocks of the underlying protocol. By understanding how trading formulas bridge the trading and liquidity providing members of Balancer is key to point us toward a sustainable future for both parties.

PreviousArbitrage 50/50NextDeposits & Withdrawals

Last updated 3 years ago

Was this helpful?