It is too late for the 2022 tax year however you can apply for the 2023 tax year :
https://www.irs.gov/taxtopics/tc429
A trader must make the mark-to-market election by the original due date (not including extensions) of the tax return for the year prior to the year for which the election becomes effective. You can make the election by attaching a statement either to your income tax return if filed without an extension or to a request for an extension of time to file your return. The statement should include the following information:
- That you're making an election under section 475(f);
- The first tax year for which the election is effective (that is, the tax year for which a timely election is being made); and
- The trade or business for which you're making the election.
Refer to the Instructions for Schedule D (Form 1040), Capital Gains and Losses PDF for more information on how to make the mark-to-market election. It's important to note that in general, late section 475(f) elections aren't allowed.
After making the election to change to the mark-to-market method of accounting, you must change your method of accounting for securities under Revenue Procedure 2019-43 PDF, Section 24.01. In addition to making the election, you'll also be required to file a Form 3115, Application for Change in Accounting Method. Publication 550 describes the procedures for making an election under the section called "Special Rules for Traders in Securities." Non-filing of the Form 3115 mentioned above won't invalidate a timely and valid election.
If you've made a valid election under section 475(f), the only way to stop using mark-to-market accounting for securities is to file an automatic request for revocation under Revenue Procedure 2019-43, Section 24.02. Under that revenue procedure, the request for revocation must be filed by the original due date of the return (without regard to extensions) for the taxable year preceding the year of change (the year of change is the first taxable year the revocation is to be effective). This revocation notification statement must be attached to either that return or if applicable, to a request for extension of time to file that return. Late revocations won't generally be allowed except in unusual and compelling circumstances.