How funding actually reaches your liquidation price on BYDFi: XRPUSDT at 0.0066% per 8h in a 4.55% day
Key takeaway
You hold an XRPUSDT long of notional N with leverage L, the market has been sliding all week, and the funding number says 0.0066%. It looks harmless.

On BYDFi it is small, but it does not come out of thin air: it comes out of your position margin, and that is the part most traders never connect to their liquidation price.
The rule
BYDFi's funding article says it plainly: "The funding fee is deducted from the trader's position margin. At this point, the liquidation price will get closer to the mark price as the funding fee is deducted, increasing the liquidation risk." For USDT-M contracts the fee is Position Value x Funding Rate, where Position Value = Par Value x Contract Quantity x Mark Price.
Why this week
CoinDesk (Nov 19, 7:08 AM ET): bitcoin about 11% below week-ago levels after Fed minutes leaned toward higher rates, more than $300 million of spot bitcoin ETF outflows on Wednesday, and BTC open interest up 1.61% to $42.5 billion through $181 million of liquidations, 77% longs. OI-weighted funding was +0.0026%. Leverage is building while longs keep getting cleared, so margin buffers matter more than usual. XRP did not sit this one out: its 24h range on BYDFi was wider than the move many traders planned for.
Formula
funding_fee = position_value x funding_rate position_value = par_value x contract_qty x mark_price range = high_24h / low_24h - 1 liq_distance ~ 1/L - MMR (isolated, before fees)
Steps with BYDFi public data (10:27 AM ET)
- Funding for the 11:00 AM ET settlement on XRP_USDT: 0.0066% per 8h. Positive, so longs pay shorts. The contract band is +2% / -2% per interval.
- Fee per settlement: N x 0.0066%. Per day at this print: N x 0.0066% x 3 = N x 0.0198%. Each one is taken from position margin, so a long held for days slowly walks its liquidation price toward the mark.
- 24h high 0.9974, 24h low 0.9540, last 0.985. Range = 0.9974 / 0.9540 - 1 = 4.55%.
- Fair price 0.9851 against an index of 0.9855, a gap of 0.0004. Funding near zero matches a perp trading close to its index.
- Leverage check: 1 / 0.0455 = 22.0. An isolated XRP position above roughly 22x had less initial-margin room than one day of movement, and every funding payment trims that room a little more.
What changes it
- The rate re-sets each interval and can move a long way inside the 2% band.
- If funding turns against your side and you hold for many intervals, the deductions add up. BYDFi notes the liquidation price moves closer to the mark each time.
- Maintenance margin rises with position size, which shortens liq_distance.
- Adding margin to an isolated position pushes the liquidation price back out; adding size pulls it in.
Mistakes
- Judging funding only by its size, not by where it is paid from.
- Holding a high-leverage long through many settlements and never re-checking the liquidation price.
- Treating BTC, ETH, SOL, DOGE and XRP longs as separate risks in a week when they moved together.
- Using the last price to judge distance to liquidation instead of the fair price shown in the header.
FAQ
When is the fee taken? BYDFi's article says funding fees are exchanged between long and short positions at the end of each funding interval, so check the countdown before you decide to hold through it.
Why did my liquidation price move when price did not? A funding deduction from position margin moves it, as BYDFi's article describes.
Where do I check the rate? The XRPUSDT header shows Funding Rate / Countdown next to the fair price and the 24h high and low.
Takeaway: on BYDFi funding is paid from position margin, so even a 0.0066% print nudges your liquidation price; size XRP for the 4.55% day and leave room for the deductions.