Crypto lending uses collateral to secure loans by pledging the borrower's cryptocurrency asset as a guarantee of repayment. When leveraged trading takes place on the dYdX, collateral is an asset that is held in the margin trading account to cover the potential losses. Thus when the market moves against your position, the collateral will be recalled, and your assets will be liquidated.