Gambling is really risky and certainly not a profit making opportunity. If the OP would have kept $2500 in the trading platform, he might have gained some good profit in trading and eventually covered his debt, but instead he opted for a short cut way of gambling which was way to risky. Feel sorry for him. Everyone should learn some lesson from his bad experience in gambling.
Hence, we treat on differently in between gambling activity and trading which it isnt just right to make out some comparison or similarities between them.
When it comes to finances then its up to someone who would able to manage.Risk is always there and we know that gambling does have higher risk on losing
those funds you do had but if you do look for entertainment or leisure then this wont really be much of an issue.