Diversification does not eliminate the risk of suffering from investment losses. Margin trading increases risk of loss and incorporates the opportunity of a pressured sale if account equity drops below expected levels. Nearest will use whatever contract was the closest futures deal on the date with the given bar. https://financefeeds.com/copyright-delists-move-amid-price-dump-and-market-maker-probe/