Block a user
Investigate and expose
closeFeeUsd in JupiterPerpsPosition
Investigate and expose
borrowFeeUsd in JupiterPerpsPosition
Investigate and expose
borrowFeeUsd in JupiterPerpsPosition
The results are almost correct now, if you compare the values agains the Jupiter UI. But I have created an issue-27, that should make the values more precise.
Improve precision of Jupiter Perps borrowFeesDue calculation