In California, at least, poker is defined as a game of skill with an element of chance and is not gambling. I am also not sure what the difference between gambling per se and playing the stock market is but nowadays, with Internet poker, that question has come up frequently.

Mike Keyes