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
  • How are Baskets made?
  • How Are Weights Determined?
  1. pie.fun
  2. How Baskets Work

Basket Structure & Weighting

PreviousHow Baskets WorkNextBuying and Selling Baskets

Last updated 28 days ago

Baskets are collections of tokens bundled together in specific proportions. Each token inside a basket is called a component, and different baskets follow unique selection criteria.

How are Baskets made?

Each basket contains carefully selected tokens, which we call "Components", chosen based on theme or purpose. Only tokens with sufficient liquidity on Raydium are included to ensure smooth transactions.

Example: Binance Alphas on Solana ($SOLALPHA) is a basket featuring top Solana tokens from Binance’s Alpha Spotlight, such as Fartcoin, ai16z, AI Rig Complex, Kamino, Unicorn Fart Dust, and Fwog. (Components may change over time.)

How Are Weights Determined?

When Baskets are initially created, quantities of component tokens per each basket token are calculated based on basket's weighting strategy.

There are two main weighting strategies:

  • Equal-Weighted – Each token holds the same share: 1/N (where N is the number of components).

    • ex. Top Memes by Market Cap ($TOPSOLMEME) is equal-weighted basket.

  • Market-Cap Weighted – Weights are assigned based on market capitalization, giving larger tokens a greater share.

    • ex. Classic Market Drivers ($THEOG) is market-cap weighted basket.

Example: Binance Alphas on Solana ($SOLALPHA) is an equal-weighted basket. There are 10 component tokens, so each component has a target weight of 10% at the time of inception.

As token prices fluctuate, the actual weight of each component changes. But the basket always maintains a total weight of 100%.

🥧
🍽️