Remaining funds = collateral amount * closing price-borrow amount * daily interest * borrow days-borrowing amount *overdue days * daily interest * 110%