hey @jabber
You can use the Deposits/Withdrawals template. For a loss add a withdrawal and add the label “realized gain” in the Labels field, and for a profit add a deposit with the same label.
I will put together a sample spreadsheet and send it to you in my next post 