Particle LAMM Dev Handbook
  • Introduction
  • Logic
    • Overview
    • Open Long
    • Close Long
    • Open Short
    • Close Short
  • Developer
    • Liquidity Provision
    • Open Position
    • Close Position
    • Liquidate Position
    • Long/Short Symmetry
    • Trading Fees
    • Premium Accounting
    • Reclaim Liquidity
Powered by GitBook
On this page
  1. Developer

Trading Fees

Collected at openPosition if FEE_FACTOR > 0. The fee is applied to the swapping margin + the borrowed amount. The corresponding LP and treasury split the fees based on _treasuryRate.

PreviousLong/Short SymmetryNextPremium Accounting

Last updated 1 year ago