pie.fun
  • 🥧pie.fun
    • 🥧What is pie.fun
    • 🍽️How Baskets Work
      • Basket Structure & Weighting
      • Buying and Selling Baskets
      • Rebalancing
      • Fees
      • SDK
    • 🧑‍🍳Bake Your Own Basket
      • How to Create Basket
      • How to Rebalance
    • 😎Examples of Live Baskets
      • 🧺Binance Alphas on Solana ($SOLALPHA)
      • 🧺Top Solana DeFi by Coingecko ($SOLDEFI)
      • 🧺Top AI Agents on cookie.fun ($ COOKIEAI)
      • 🧺Solana Ecosystem Buyback ($SOLBUYBACK)
      • 🧺Solana DePIN by Messari($SOLDEPIN)
      • Coming soon - Moonshot Basket
    • 🧑‍🌾What we envision
    • ☘️How to Get Started
      • 1️⃣Quick Sign up
      • 2️⃣Deposit and Withdraw
      • 3️⃣Buy and Sell Baskets
      • 4️⃣Track Profit & Loss
      • 📱Trade on your Phone
    • ⁉️FAQ
    • 📘Audit Reports
    • 📄Legal Docs
      • ✒️Terms of Service
      • ✒️Privacy Policy
  • 🔗OFFICIAL LINKS
    • Website
    • X (Twitter)
    • Discord
Powered by GitBook
On this page
  1. pie.fun
  2. How Baskets Work

Rebalancing

PreviousBuying and Selling BasketsNextFees

Last updated 28 days ago

Baskets go through regular rebalancing to stay aligned with their target allocations. This includes:

  • Adjusting weights as token prices change over time

  • Selling overweight tokens and buying underweight ones

  • Adding new tokens or removing outdated ones

    Example: the Top Memes Basket rotates its top 10 by market cap

All rebalances are transparent and onchain, with a full history of changes and timestamps.

Importantly, even the creator or rebalancer cannot withdraw the locked tokens.

The only way funds exit the vault is when a user burns their basket token during redemption.

Tokens stay inside the program. Always. Your position stays safe — until you decide to exit.

🥧
🍽️