If gambling in any form is wrong, then the Apostles were wrong in one of their first acts as they 'cast lots' to determine whether Matthias or Joseph (Justus) were to be 'numbered' with the Eleven.
I know my math too well to think that gambling is anything smart, unless you have the skill and knowledge the other person does not have, and thus you are taking advantage of that person's weakness. So it's hard to see that sin will not be somewhere involved in these endeavors.
On the other hand, doing unswise things with one's posessions and taking advantage of the lack of abilities in other persons is so commonplace and accepted that we must all live in sin on account of it. Most-- probbly all-- of us take advantage of "sales" a store is offering because they have a surplus of certain items in inventory; the cost is less, but the tiem is the same as its higher cost shortly before. And frankly it's hard to see the logic that gambling-- poker, slots, lotteries-- is 'sin' because of covetousness, but investing is not the same, even though someone has to lose to make your investment successful-- for example, those who bought the same stock at a higher price and must sell it for a loss, or those who do business with the company you invest it. And isn't it covetousness anyway, since the reason you invest is to GAIN money currently in possession of other persons?-- wanting what they have.
It should be no big surprise that we vary greatly as to where we 'draw the line' on this. For myself, I don't buy lottery tickets and have no poker buddies, and I'm glad there are no casinos near me. But if I am going to watch a football game with a friend and we are rooting for different teams, I have no qualms about an agreement that which one of our teams loses, that one has to pay for the steak dinners afterword. And I wouldn't mind flipping a coin or rolling the dice to determine who takes whose car wherever, or who buys the snacks.