Query Cross Margin Account Details : explanation of response fields

Query Cross Margin Account Details : GET /sapi/v1/margin/account (HMAC SHA256)

In the response what is the precise meaning of fields “borrowed”, “free”, “interest”, “locked”, “netAsset” ?

What are the mathematical equations between these fields ?

borrowed is the asset quantity borrowed via POST /sapi/v1/margin/loan
free is the asset quantity available and “ready-to-use” for trading, repaying, ect…
interest is the interest accumulated asset quantity due from borrowing.
locked is the asset quantity still “owned” by the account but locked due to pending processes such as an open order.
netAsset is the net asset quantity of the account.

netAsset = (free + locked) - (borrowed + interest)

Thank you :slight_smile: