Nice question.
Clearly this is a grey area, but I think the position that it is still not a business would lead one to treat gains as capital (excepting short sales of course). This would be my personal stance at least.
You can't get away from the substance of the transactions, which...