After depositing funds, the funds will automatically be used to repay the margin loans and margin interest. Interest is calculated based on the customer's actual outstanding liability amount.