Skip to content

Commit

Permalink
update historical funding doc
Browse files Browse the repository at this point in the history
  • Loading branch information
crispheaney committed Aug 29, 2024
1 parent d15a317 commit f1f95d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/includes/_historicaldata.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ 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`
to convert to the rates seen on the ui, use the following formula: `(funding_rate / BASE_PRECISION) / (oracle_twap / QUOTE_PRECISION) * 100`

<!-- ### market-trades
Expand Down

0 comments on commit f1f95d5

Please sign in to comment.