Have you read the Daytrading.com guide on day trading taxes in the US? It’s detailed and covers what losses are deductible and how to record them.
https://www.daytrading.com/us/taxes