⚡
All-In
  • Introduction
    • Intro to Prediction Markets
  • Creating your own Market
    • Create your own market
    • Market Rules and Guidelines
    • Assumptions and Default Interpretations
    • Usage of AI agents during market creation
  • Trading on an existing market
    • Market Resolution
    • Market Settlement
  • Developer Docs
    • Order Types
    • Matching Engine
    • Collateral Requirements & Fees
    • API Reference
  • Additional Resources
    • Tutorials & How-to guides
    • Glossary
    • FAQs
Powered by GitBook
On this page
  1. Developer Docs

Collateral Requirements & Fees

Collateral Requirements

All-In requires positions to be backed with 100% collateral. The collateral required for a Yes position equivalent to the quote amount opened. The collateral required for a No position is equivalent to the base amount opened - the quote amount opened. Quote amount can be calculated by multiplying base amount by price. For example, if a market order is filled across 2 limit orders the quote amount would be baseFilled1 * price1 + baseFilled2 * price2.

Fees

The two sets of fees are Taker & Settlement fees. Taker Fees are defined in the Base Taker Fee and the Keeper Fee (if it's a trigger order), which are a % of the rpnl-excluded collateral traded. Orderbook makers & the market creator earn Maker Fees and Creator Taker Fees respectively. Both fo these are taken as a % of the Base Taker Fee. The protocol itself earns any remainder.

PreviousMatching EngineNextAPI Reference

Last updated 8 months ago