Skip to content

Commit

Permalink
add how to convert to funding rate into actual rate
Browse files Browse the repository at this point in the history
  • Loading branch information
crispheaney committed Aug 15, 2024
1 parent 30141c8 commit 90ffbdd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/includes/_historicaldata.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

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

0 comments on commit 90ffbdd

Please sign in to comment.