If you are an investor you cannot carry back a capital loss. you also don't have gain or loss until you sell.
If you are in the business of trading then everything changes. Too complicated to explain in a volunteer forum but you can search on "tax trader status" and "mark-to-market "for a lot of info. here are some starting points
https://www.irs.gov/taxtopics/tc429
https://www.schwab.com/learn/story/mark-to-market-trader-taxes
https://andersonadvisors.com/trader-tax-status/
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"