Flexible Market Making (FMM)
Last updated
Last updated
Holdstation DeFutures Flexible Market Making (FMM) model, inspired by Dodo Proactive Market Making Model, uses funding fees in blocks and applies them universally to all assets, including perpetual futures for commodities, crypto, forex,...
The funding fee structure is simplified with a single smart contract implementing both pricing and funding fee logic, creating a more streamlined and efficient trading experience.
Holdstation FMM model has only one general-purpose trading pool (i.e. one single smart contract) implementing the pricing and funding fee logic.
Holdstation DeFutures FMM algorithm works as follows:
FMM algorithm maintains equilibrium when the net position is 0 (non long-short users paid funding fee)
The mark price equals the index price fed by the dynamic price feed.
Trades push the mark price toward the specific trading direction.
The price change due to the trade is proportional to the trade size x.
The mark price is pushed proportionally to formula include P (call spread), with a determined by the available open interest
The trading volume pushes the mark price linearly.
The precise collateral size is calculated by the deduce the trading cost (leverage, collateral) - more details available in
The price spread and the mark price are determined by the total net position.
The funding fee will calculate by individual blocks time, and determine the funding fees when the users close the orders.