Calculating borrowing fees
Learn how to calculate trader's borrowing fees
Overview
Borrowing fee per block
Example:
1) Fetching Open Interest and Fees
2) Calculating Pair Borrowing Fees
tradingVariables.collaterals[2].borrowingFees.pairs[219] // collaterals[2] because its 0 indexed3) Calculating Group Borrowing Fees
4) Estimating Borrowing fee per hour

Last updated
Was this helpful?