If both names are on the account, you can split the loss 50-50 (or however you agree).
Since you have filed separately before, hopefully you have compared both ways of filing to see which is most beneficial.
Here's some info on capital gain/loss:
https://ttlc.intuit.com/replies/5209280
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"