A cash-and-carry trade is an arbitrage strategy in which a trader buys an asset in the spot market and at the same time sells a futures contract on the same asset. If the futures price is above the spot price, a situation called contango, the trader holds the asset until the contract expires and delivers it or closes both positions, earning the gap, known as the basis, minus the costs of financing and storing the asset. The two positions offset each other, so the result does not depend on price direction.
In crypto markets the trade is common with both dated futures and perpetual futures. With perpetuals there is no expiry; instead the trader collects the funding rate that holders of long positions pay holders of short positions when the perpetual trades above spot. Risks include the funding rate turning negative, sudden margin calls on the short leg, exchange failure and the cost of capital tied up in collateral.
Ref 1320000440