both trading and gambling has only a thin difference. but one shouldn't invest on any of these if they cannot afford to lose the money they are investing.
They are both risky, learn what you are investing so that you won't be scared on what's happening to your investment when it's chart is negative. And in gambling, you should know what you are playing so that you are aware that you know what you are taking in and you have bigger chance of winning but still you have to invest and gamble only what you afford to lose.
They are not risky but depending on the individual i guess you can opt for trading if you can't afford to loose everything at once else go get gambling and make huge profit in a short while. There isn't much difference though as they are both risky and profitable.