Once a position is open, a trader could choose to close it before expiry. If that's the case, the protocol needs to exit the lending position, which at expiry would have represented
(principal + interest), and repay the owed debt, which at expiry would have represented
(principal + interest).
Pricing
The table below presents the price at which a trader could close a long position at a price