Is there any halachic problem with buying or selling commodities of lean hogs?
Commodities are similar to the stock exchange, except one trades commodities such as wheat or crude oil.
It would seem from the Halachic literature that the problem of selling non-kosher food or animals is only if there's a risk of eating the non-kosher things one sells.
If one is a middle-man then it's permitted.
It would seem that commodities are at least as removed as a middle-man form the actual hogs. There's not a chance you'll be getting near enough to one of them to risk eating them.
For a final decision, please consult a reliable Rabbi.
Source: Yoreh De'ah 117 and the commentators ibid.