How to sell losing stocks, offset gains and work around the ‘wash-sale’ rule

You can still do tax-loss selling for 2024 — but time is short.