Get your taxes done using TurboTax

then your income for the period is only the realized gains less losses. losses are subject to the wash sale rules. MTM has no applicability in your situation in determining tax liability.