What Matters: A missing funding observation is not evidence that the rate was zero. Substituting zero can allow a futures backtest to run while changing its cash flows. DN’s synthetic long position earns 4 quote units after trading fees with funding ignored, but loses 4 when its complete funding record is included. Preserve missing intervals and test explicit bounds instead of disguising them as observations.
The price chart is complete. The entry and exit are present. A backtest produces a precise result. None of those facts establishes that every funding settlement during the holding period is represented. Price data, mark data and funding records are separate inputs, and their histories can begin or fail at different times.
This problem is easy to hide because zero is a valid numerical rate. Once an absent observation has been replaced with zero without a provenance field, downstream arithmetic cannot distinguish a genuinely neutral settlement from a gap. The calculation may execute successfully while answering a different economic question.
What Freqtrade says about missing rates
DN Evidence Block — checked 28 November 2026; author: Heath Muchena. DN inspected Freqtrade’s leverage documentation at commit 971987f58c13c241bc43249b718725edf85c39c5 and ran an independently authored funding ledger. No Freqtrade engine, venue history or perpetual position was executed. Every amount below is synthetic.
The unavailable-funding section explains that funding history may be absent even when futures candles and marks are available. It describes the futures_funding_rate fallback, recommends zero unless a specific applicable rate is known, and warns that substituting false rates makes affected historical results inaccurate. It also states that available exchange rates are not overwritten by that fallback.
Those statements are compatible. A fallback can be useful for completing a software experiment while leaving the economic estimate incomplete. The reporting mistake would be to describe substituted values as recovered historical rates or to omit the affected intervals from the evidence record. Running is not the same thing as reconstructing.
Define the sign and settlement basis first
For this illustration, a positive funding rate is a cash cost to the long, and a negative rate is a receipt. The notional is fixed at 10,000 quote units at each of three eligible settlements. A rate of 0.01% therefore means one quote unit: 10,000 multiplied by 0.01, then divided by 100.
The tool accepts percentages per supplied interval. Entering 0.01 means 0.01%, not 1%. The model does not infer an exchange’s interval length, prorate time held, calculate a varying mark notional or choose which settlements the position owes. Those are inputs a venue-specific study must establish before applying the arithmetic.
Keep rates and cash movements separate in the ledger. The same rate can produce different cash amounts when the position changes size. A cash funding receipt also should not be added to a percentage-return column without conversion. Explicit units prevent a data-completeness problem from becoming a second, unrelated unit error.
The complete synthetic record
Our price-change result is +10 quote units and total trading fees are 6. Before funding, the residual is +4. The three fictional funding rates are −0.01%, +0.02% and +0.07%, producing cash costs of −1, +2 and +7. Total funding cost is 8; the net result is 10 − 6 − 8 = −4.
| Settlement | Rate | Notional | Cash cost |
|---|---|---|---|
| First | −0.01% | 10,000 | −1, a receipt |
| Second | +0.02% | 10,000 | +2 |
| Third | +0.07% | 10,000 | +7 |
| Total | +0.08% summed across these intervals | Constant by assumption | +8 |
Setting all three rates to zero leaves +4 instead of −4. The eight-unit difference is caused entirely by the authored funding cash flows. It is not an estimate of typical funding, an annual return or a claim that a real strategy’s backtest contains an eight-unit error. The example makes a direction-changing omission easy to inspect.
Now hide one observation without changing the market
Replace the third rate with a question mark. The first two still contribute a net cost of 1, so using zero only for the missing interval produces +3. This is different from ignoring all funding, which produces +4. A report that says “zero funding” should specify which of those operations it performed.
For a sensitivity exercise, suppose the missing third rate is bounded between 0% and 0.08%. That is an analyst-selected range, not a statistical confidence interval. Its cost lies between 0 and 8. After the known cost of 1, the net result therefore lies between −5 and +3. The complete authored result, −4, sits inside those declared bounds.
| Treatment | Funding cost used | Net result |
|---|---|---|
| Complete authored record | 8 | −4 |
| Only the missing third rate set to zero | 1 | +3 |
| All funding ignored | 0 | +4 |
| Third rate bounded from 0% to 0.08% | 1 to 9 | −5 to +3 |
Use the completeness explorer
The default deliberately contains a missing value. Enter the complete third rate to see the exact authored ledger, or change the missing-rate bounds to examine a different assumption. The tool reports the count of unknown intervals and keeps their cash amounts unknown in the event table. Its zero-substitution result is labelled as a conditional comparison.
If several intervals are missing, the tool applies the supplied lower and upper rates independently to each one. This gives a simple extreme range under constant notional. It does not model dependence between rates, infer likely sequences or weight scenarios by probability. A narrow displayed interval is only as defensible as the bounds the reader entered.
Missingness is part of the dataset
Preserve a status field for each expected settlement: observed, substituted or unresolved. Retain the source timestamp and the reason an observation is absent. A failed request, a product launched later, a provider retention limit and a period with no applicable settlement are different situations. They should not all be encoded as the same zero.
The expected settlement set also needs a definition. The position must be eligible under the relevant product’s rules at the relevant time. Counting every calendar interval indiscriminately can charge funding when the position was not exposed. Counting only returned records can conceal missing events. The study needs both the expected schedule and the observations available for it.
When a later download supplies a missing rate, retain the earlier result and its assumptions. The revised result answers the same calculation with a more complete input record. That change should be traceable rather than presented as a mysterious strategy improvement or deterioration.
When a funding change affects more than the final total
Our calculation holds price-change P&L, fees, quantity and trade timing fixed. In a larger strategy, funding can affect account equity, subsequent sizing or conditions that decide when to exit. A different cash-flow path can therefore change later trades. Subtracting a funding total from a frozen trade list does not reproduce those feedbacks.
Use the small ledger as an initial diagnostic. If a plausible missing-rate range changes the sign of a reported residual, the result is sensitive to the gap. A stronger study would rerun the actual strategy with the documented cash-flow series and retain its decision path. That is a separate experiment with a defined engine, configuration and data vintage.
The opposite outcome is also informative. If the result remains on the same side of zero across a wide declared range, that supports only the narrow sensitivity statement. It does not validate the trading signal, resolve other execution assumptions or prove future profitability.
A decision record readers can use
| Evidence state | Defensible report | Next step |
|---|---|---|
| All eligible intervals observed | Funding calculated from the identified input set | Check units, signs and position eligibility |
| Some intervals missing | Known cost plus explicit uncertainty | Recover permitted history or test declared bounds |
| Fallback used to complete a run | Result conditional on substituted rates | Keep substitution flags with the output |
| Cash-flow changes alter strategy decisions | Frozen-trade sensitivity is incomplete | Specify a controlled engine rerun |
The missing rate has an accounting threshold
With the first two funding events known, the fictional position has three quote units left after fees and known funding. A third rate of 0.03% on 10,000 notional consumes exactly those three units, making the final result zero. Below that rate the residual is positive; above it the residual is negative, under otherwise identical assumptions. This threshold is useful because it states precisely which unresolved input changes the sign. It is not a forecast of that input. A report can present the threshold alongside the missing observation and let readers assess whether the proposed bound is credible, rather than choosing a convenient zero and hiding the dependency.
Methodology and limits
DN reran eight independent checks, including the complete −4 result, missing-rate bounds of −5 to +3, all-zero +4 comparison, zero notional and invalid inputs. There is no random process or historical sample. The original tool uses a constant-notional long sign convention and excludes liquidation, borrowing, tax, collateral effects and compounding.
Use the Crypto Scenario Lab to explore related cost assumptions and the Research Desk to frame a specific evidence review. The practical improvement is small but consequential: an absent rate remains visible until evidence or an explicit assumption replaces it.
Download the dated source and scenario record (JSON) · Download the reproducible calculation pack (ZIP).
Frequently asked questions
Is a missing funding rate zero?
No. Zero is a specific value; missing means the observation has not been established.
Why does the example change from +4 to −4?
The authored position has +10 of price-change P&L, 6 of fees and 8 of funding cost.
Are the bounds a confidence interval?
No. They are user-selected limits for a sensitivity calculation, with no probability model.
Does this tool rerun Freqtrade?
No. It performs original fixed-notional arithmetic and does not model later strategy decisions.
Primary sources and evidence
- Freqtrade unavailable funding guidance. Fallback treatment, available-rate preservation and accuracy warning. Checked 2026-11-28.
Editorial disclosure: This research explains documented capabilities and original worked examples. Inclusion does not imply endorsement, a commercial relationship or verified trading performance. No placement in this article was purchased.
Corrections and updates: Send source-backed corrections to press@decentralised.news. This 2027 edition was checked on 28 November 2026; documentation, permissions and product availability can change.




