> For the complete documentation index, see [llms.txt](https://docs.flipsdex.trade/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flipsdex.trade/how-trading-works/funding-and-prices.md). Agents can also search and read this documentation through its [MCP server](https://docs.flipsdex.trade/~gitbook/mcp).

# Funding and Prices

This page explains funding, the hourly payment between longs and shorts, and the prices the venue uses to value your positions. The venue sets the funding rate and these prices.

## Funding

Funding is a payment between longs, who gain when the price rises, and shorts, who gain when it falls. Funding settles every hour, on the hour, in every market, including traditional-asset markets while their underlying market is closed.

* Longs pay shorts if the funding rate is positive, and shorts pay longs if it's negative.
* The venue sets the rate from the gap between the [mark price](#mark-price) and the [index price](#index-price).
* Each payment equals the position size times the index price times the rate.
* Funding passes between traders, and FLIPS receives none of it.

In the price strip at the top of the Trade screen, **Funding(1h) / Countdown** shows the venue's current estimate of the rate for the next settlement, for example +0.0012%, and the minutes and seconds left until it. The **Funding History** tab on the Trade screen and in Portfolio lists each payment. A positive **Funding Fee** is funding you received, and a negative one is funding you paid.

In pre-IPO markets, the venue scales part of the rate down. See [Pre-IPO markets](https://docs.flipsdex.trade/how-trading-works/markets.md#pre-ipo-markets).

## Funding example

Assume you hold a long position worth 10,000 USDC at the index price, and **Funding(1h) / Countdown** shows +0.0012%.

* At the next settlement, you pay 10,000 x 0.0012% = 0.12 USDC. A short position of the same size receives 0.12 USDC.
* At -0.0012%, you would receive 0.12 USDC instead.
* If the rate stayed at +0.0012% for 24 hours, you would pay 24 x 0.12 = 2.88 USDC.

The example leaves out price moves, which change the position value and so the payment. The shown rate is an estimate until the settlement, and the rate can change from one hour to the next.

## Index price

The index price is the asset's price from outside sources, called oracles. The venue combines prices from Chainlink, Stork and Pyth.

The price strip shows it as **Index**. The venue uses it to set funding and as one input to the mark price.

## Mark price

The mark price is the price the venue uses to value your positions. The venue sets it as the median, or middle value, of three prices: one from its own Orderbook, one based on the index price and one from centralized exchanges.

The venue uses the mark price to:

* value your positions, including their unrealized profit and loss, for margin and liquidation (see [Liquidation](https://docs.flipsdex.trade/how-trading-works/liquidation.md))
* trigger stop, take-profit and stop-loss orders
* set how far from the market a limit price can be (see [Place an Order](https://docs.flipsdex.trade/trading/place-an-order.md))

The price strip shows it as **Mark**, and the **Positions** tab shows it in the **Mark Price** column. The large price in the price strip is the last trade price.

The mark price can differ from that large price, so check **Mark** when you set a trigger price or watch a position near liquidation.

## When prices stop updating

* At the venue: if an external price stops updating, for example because oracle data goes stale, the venue switches to its own internal pricing. Traditional-asset markets work this way while their underlying market is closed, and the venue moves back to the external price once it updates. See [Traditional-asset markets](https://docs.flipsdex.trade/how-trading-works/markets.md#traditional-asset-markets).
* In the app: if FLIPS stops receiving prices for a market, it keeps showing the last values it received. The order buttons for that market show **Price feed paused** and stay off until prices arrive again. See [Trade Screen](https://docs.flipsdex.trade/trading/trade-screen.md).
