From 90ffbdde797744e9c462d72de33278b97a1cc607 Mon Sep 17 00:00:00 2001 From: Chris Heaney Date: Thu, 15 Aug 2024 13:12:17 -0400 Subject: [PATCH] add how to convert to funding rate into actual rate --- source/includes/_historicaldata.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/includes/_historicaldata.md b/source/includes/_historicaldata.md index 78e84bf..7f586d2 100644 --- a/source/includes/_historicaldata.md +++ b/source/includes/_historicaldata.md @@ -64,6 +64,8 @@ note: 'rate' is in quote per base, to allow for async settlement | --- | --- | --- | | fundingRate | the quote asset amount (precision=1e6) per base asset amount (precision=1e9) | | +to convert to the rates seen on the ui, use the following formula: `fundingRate * oraclePriceTwap / BASE_PRECISION / QUOTE_PRECISION * 100` +